From: Harald Hoyer Date: Thu, 12 Mar 2020 11:50:08 +0000 (+0100) Subject: github actions: use test container directly X-Git-Tag: 051~197 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5bfaf58ab2098737bad92008916d39a0ec361db;p=thirdparty%2Fdracut.git github actions: use test container directly --- diff --git a/.github/workflows/fedora-30.yml b/.github/workflows/fedora-30.yml index 345ed0d4d..1a3d3e8d2 100644 --- a/.github/workflows/fedora-30.yml +++ b/.github/workflows/fedora-30.yml @@ -13,7 +13,9 @@ on: jobs: test: runs-on: ubuntu-latest - #container: quay.io/haraldh/dracut-fedora:30 + container: + image: quay.io/haraldh/dracut-fedora:30 + options: "--privileged" timeout-minutes: 45 strategy: matrix: @@ -45,4 +47,4 @@ jobs: fetch-depth: 0 - name: "TEST-${{ matrix.test }}" - run: docker run --privileged -v $(pwd)/:/dracut quay.io/haraldh/dracut-fedora:30 /dracut/fedora-test-github.sh "TEST-${{ matrix.test }}" ${{ matrix.test }} + run: ./fedora-test-github.sh "TEST-${{ matrix.test }}" ${{ matrix.test }} diff --git a/.github/workflows/fedora-31.yml b/.github/workflows/fedora-31.yml index 20ad62c2f..aa829df2f 100644 --- a/.github/workflows/fedora-31.yml +++ b/.github/workflows/fedora-31.yml @@ -13,7 +13,9 @@ on: jobs: test: runs-on: ubuntu-latest - #container: quay.io/haraldh/dracut-fedora:30 + container: + image: quay.io/haraldh/dracut-fedora:31 + options: "--privileged" timeout-minutes: 45 strategy: matrix: @@ -51,4 +53,4 @@ jobs: fetch-depth: 0 - name: "TEST-${{ matrix.test }}" - run: docker run --privileged -v $(pwd)/:/dracut quay.io/haraldh/dracut-fedora:31 /dracut/fedora-test-github.sh "TEST-${{ matrix.test }}" ${{ matrix.test }} + run: ./fedora-test-github.sh "TEST-${{ matrix.test }}" ${{ matrix.test }}