From: adrianiurca Date: Thu, 22 Apr 2021 16:13:28 +0000 (+0300) Subject: mount /lib/modules/5.4.0-azure to docker containers X-Git-Tag: v3.0.1~4^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=refs%2Fheads%2Fnightly-failures;p=puppet-modules%2Fpuppetlabs-firewall.git mount /lib/modules/5.4.0-azure to docker containers --- diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 865578c..e85b4a9 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -125,7 +125,12 @@ jobs: - name: Provision test environment run: | - buildevents cmd $TRACE_ID $STEP_ID 'rake litmus:provision ${{ matrix.platforms.image }}' -- bundle exec rake 'litmus:provision[${{matrix.platforms.provider}},${{ matrix.platforms.image }}]' + if [[ "${{matrix.platforms.provider}}" == "provision::docker" ]]; then + DOCKER_RUN_OPTS="docker_run_opts: {'--volume': '/lib/modules/$(uname -r):/lib/modules/$(uname -r)'}" + else + DOCKER_RUN_OPTS='' + fi + buildevents cmd $TRACE_ID $STEP_ID 'rake litmus:provision ${{ matrix.platforms.image }}' -- bundle exec rake "litmus:provision[${{matrix.platforms.provider}},${{ matrix.platforms.image }},$DOCKER_RUN_OPTS]" echo ::group::=== REQUEST === cat request.json || true echo diff --git a/.sync.yml b/.sync.yml index 09033fe..5328117 100644 --- a/.sync.yml +++ b/.sync.yml @@ -15,7 +15,7 @@ spec/spec_helper.rb: .gitpod.yml: unmanaged: false .github/workflows/nightly.yml: - unmanaged: false + unmanaged: true .github/workflows/pr_test.yml: unmanaged: true .github/workflows/auto_release.yml: