ansible-test add alpine 3.18 as remote (#81109)

* add crun to avoid runc
pull/81128/head
Brian Coca 1 year ago committed by GitHub
parent e535eb625b
commit e22fe9be56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -118,6 +118,8 @@ stages:
targets: targets:
- name: Alpine 3.17 - name: Alpine 3.17
test: alpine/3.17 test: alpine/3.17
- name: Alpine 3.18
test: alpine/3.18
- name: Fedora 37 - name: Fedora 37
test: fedora/37 test: fedora/37
- name: Fedora 38 - name: Fedora 38

@ -0,0 +1,2 @@
minor_changes:
- ansible-test - Add Alpine 3.18 to remotes

@ -1050,7 +1050,9 @@ class ApkBootstrapper(Bootstrapper):
def run(cls) -> None: def run(cls) -> None:
"""Run the bootstrapper.""" """Run the bootstrapper."""
# The `openssl` package is used to generate hashed passwords. # The `openssl` package is used to generate hashed passwords.
packages = ['docker', 'podman', 'openssl'] # crun added as podman won't install it as dep if runc is present
# but we don't want runc as it fails
packages = ['docker', 'podman', 'openssl', 'crun']
run_command('apk', 'add', *packages) run_command('apk', 'add', *packages)
run_command('service', 'docker', 'start') run_command('service', 'docker', 'start')

@ -1,4 +1,5 @@
alpine/3.17 python=3.10 become=doas_sudo provider=aws arch=x86_64 alpine/3.17 python=3.10 become=doas_sudo provider=aws arch=x86_64
alpine/3.18 python=3.11 become=doas_sudo provider=aws arch=x86_64
alpine become=doas_sudo provider=aws arch=x86_64 alpine become=doas_sudo provider=aws arch=x86_64
fedora/37 python=3.11 become=sudo provider=aws arch=x86_64 fedora/37 python=3.11 become=sudo provider=aws arch=x86_64
fedora/38 python=3.11 become=sudo provider=aws arch=x86_64 fedora/38 python=3.11 become=sudo provider=aws arch=x86_64

Loading…
Cancel
Save