Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ jobs:
with:
release: noble
platform: lxd_container
hosted_runner: true
11 changes: 9 additions & 2 deletions .github/workflows/11-dispatch-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ on:
filter_tests:
required: false
type: string
hosted_runner:
required: false
type: boolean
workflow_call:
inputs:
release:
Expand All @@ -46,10 +49,13 @@ on:
filter_tests:
required: false
type: string
hosted_runner:
required: false
type: boolean

jobs:
lxc:
runs-on: ubuntu-latest
runs-on: ${{ inputs.hosted_runner && fromJSON('["self-hosted", "linux", "amd64", "tiobe", "noble"]') || 'ubuntu-latest' }}
if: github.repository == 'canonical/cloud-init'

env:
Expand All @@ -58,6 +64,7 @@ jobs:
CLOUD_INIT_OS_IMAGE_TYPE: ${{ inputs.image_type || 'generic' }}
CLOUD_INIT_CLOUD_INIT_SOURCE: ${{ inputs.install_source || 'ppa:cloud-init-dev/daily' }}
CLOUD_INIT_LOCAL_LOG_PATH: ${{ github.workspace }}/cloud_init_test_logs
PYCLOUDLIB_CONFIG: ${{ github.workspace }}/pycloudlib.toml


steps:
Expand All @@ -73,7 +80,7 @@ jobs:
- name: Setup pycloudlib
run: |
ssh-keygen -P "" -q -f ~/.ssh/id_rsa
echo "[lxd]" > /home/$USER/.config/pycloudlib.toml
echo "[lxd]" > ${{ github.workspace }/pycloudlib.toml
- name: Install Dependencies
run: |
sudo DEBIAN_FRONTEND=noninteractive apt-get -qy update
Expand Down