Skip to content

Commit

Permalink
Add vagrant boxes cache in runner image
Browse files Browse the repository at this point in the history
  • Loading branch information
electrocucaracha committed Jan 10, 2025
1 parent 9eaa536 commit 05e25ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion resources/ubuntu-runner-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ spec:
- ReadWriteOnce
resources:
requests:
storage: 25G
storage: 35G
volumeMode: Filesystem
source:
http:
Expand Down Expand Up @@ -113,6 +113,7 @@ spec:
- "sudo ln -s /usr/bin/python3 /usr/bin/python"
- "sudo /opt/runner/bin/installdependencies.sh"
- "sudo chown -R runner: /opt/runner"
- "sudo runuser -l runner -c 'for box in community/rockylinux-9 generic/ubuntu2004 generic/ubuntu2204 debian/bullseye64 opensuse/Leap-15.6.x86_64 fedora/40-cloud-base; do vagrant box add --provider virtualbox $box; done'"
write_files:
- path: /etc/profile.d/vagrant.sh
content: |
Expand Down

0 comments on commit 05e25ed

Please sign in to comment.