Skip to content

Conversation

@perigrin
Copy link
Member

Summary

Fixes the deploy workflow failure by using the Perl container image where perl and cpanminus are pre-installed.

Problem

The deploy action was failing with:

E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)

This occurred because the workflow was trying to install perl and cpanminus on ubuntu-latest without sudo permissions.

Solution

Use container: perl:stable-slim (same as our CI workflow) where perl and cpanminus are already installed, eliminating the need for package installation.

Test plan

  • Workflow syntax is valid
  • Deploy workflow will run successfully after merge

🤖 Generated with Claude Code

The deploy workflow was failing because it tried to install perl and cpanminus on ubuntu-latest, but didn't have permissions. Since we're already using perl:stable-slim container in the CI workflow, use the same container here where perl and cpanminus are pre-installed.

🤖 Generated with [Claude Code](https://claude.ai/code)
@perigrin perigrin merged commit de22472 into main Aug 17, 2025
3 checks passed
@perigrin perigrin deleted the fix-deploy-workflow branch August 17, 2025 04:27
perigrin added a commit that referenced this pull request Sep 6, 2025
## Summary
Fixes the deploy workflow failure by using the Perl container image
where perl and cpanminus are pre-installed.

## Problem
The deploy action was failing with:
```
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
```

This occurred because the workflow was trying to install perl and
cpanminus on `ubuntu-latest` without sudo permissions.

## Solution
Use `container: perl:stable-slim` (same as our CI workflow) where perl
and cpanminus are already installed, eliminating the need for package
installation.

## Test plan
- [x] Workflow syntax is valid
- [ ] Deploy workflow will run successfully after merge

🤖 Generated with [Claude Code](https://claude.ai/code)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants