|
Harald Hoyer |
5f0dd7 |
From d5bfaf58ab2098737bad92008916d39a0ec361db Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
5f0dd7 |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
5f0dd7 |
Date: Thu, 12 Mar 2020 12:50:08 +0100
|
|
Harald Hoyer |
5f0dd7 |
Subject: [PATCH] github actions: use test container directly
|
|
Harald Hoyer |
5f0dd7 |
|
|
Harald Hoyer |
5f0dd7 |
---
|
|
Harald Hoyer |
5f0dd7 |
.github/workflows/fedora-30.yml | 6 ++++--
|
|
Harald Hoyer |
5f0dd7 |
.github/workflows/fedora-31.yml | 6 ++++--
|
|
Harald Hoyer |
5f0dd7 |
2 files changed, 8 insertions(+), 4 deletions(-)
|
|
Harald Hoyer |
5f0dd7 |
|
|
Harald Hoyer |
5f0dd7 |
diff --git a/.github/workflows/fedora-30.yml b/.github/workflows/fedora-30.yml
|
|
Harald Hoyer |
5f0dd7 |
index 345ed0d4..1a3d3e8d 100644
|
|
Harald Hoyer |
5f0dd7 |
--- a/.github/workflows/fedora-30.yml
|
|
Harald Hoyer |
5f0dd7 |
+++ b/.github/workflows/fedora-30.yml
|
|
Harald Hoyer |
5f0dd7 |
@@ -13,7 +13,9 @@ on:
|
|
Harald Hoyer |
5f0dd7 |
jobs:
|
|
Harald Hoyer |
5f0dd7 |
test:
|
|
Harald Hoyer |
5f0dd7 |
runs-on: ubuntu-latest
|
|
Harald Hoyer |
5f0dd7 |
- #container: quay.io/haraldh/dracut-fedora:30
|
|
Harald Hoyer |
5f0dd7 |
+ container:
|
|
Harald Hoyer |
5f0dd7 |
+ image: quay.io/haraldh/dracut-fedora:30
|
|
Harald Hoyer |
5f0dd7 |
+ options: "--privileged"
|
|
Harald Hoyer |
5f0dd7 |
timeout-minutes: 45
|
|
Harald Hoyer |
5f0dd7 |
strategy:
|
|
Harald Hoyer |
5f0dd7 |
matrix:
|
|
Harald Hoyer |
5f0dd7 |
@@ -45,4 +47,4 @@ jobs:
|
|
Harald Hoyer |
5f0dd7 |
fetch-depth: 0
|
|
Harald Hoyer |
5f0dd7 |
|
|
Harald Hoyer |
5f0dd7 |
- name: "TEST-${{ matrix.test }}"
|
|
Harald Hoyer |
5f0dd7 |
- run: docker run --privileged -v $(pwd)/:/dracut quay.io/haraldh/dracut-fedora:30 /dracut/fedora-test-github.sh "TEST-${{ matrix.test }}" ${{ matrix.test }}
|
|
Harald Hoyer |
5f0dd7 |
+ run: ./fedora-test-github.sh "TEST-${{ matrix.test }}" ${{ matrix.test }}
|
|
Harald Hoyer |
5f0dd7 |
diff --git a/.github/workflows/fedora-31.yml b/.github/workflows/fedora-31.yml
|
|
Harald Hoyer |
5f0dd7 |
index 20ad62c2..aa829df2 100644
|
|
Harald Hoyer |
5f0dd7 |
--- a/.github/workflows/fedora-31.yml
|
|
Harald Hoyer |
5f0dd7 |
+++ b/.github/workflows/fedora-31.yml
|
|
Harald Hoyer |
5f0dd7 |
@@ -13,7 +13,9 @@ on:
|
|
Harald Hoyer |
5f0dd7 |
jobs:
|
|
Harald Hoyer |
5f0dd7 |
test:
|
|
Harald Hoyer |
5f0dd7 |
runs-on: ubuntu-latest
|
|
Harald Hoyer |
5f0dd7 |
- #container: quay.io/haraldh/dracut-fedora:30
|
|
Harald Hoyer |
5f0dd7 |
+ container:
|
|
Harald Hoyer |
5f0dd7 |
+ image: quay.io/haraldh/dracut-fedora:31
|
|
Harald Hoyer |
5f0dd7 |
+ options: "--privileged"
|
|
Harald Hoyer |
5f0dd7 |
timeout-minutes: 45
|
|
Harald Hoyer |
5f0dd7 |
strategy:
|
|
Harald Hoyer |
5f0dd7 |
matrix:
|
|
Harald Hoyer |
5f0dd7 |
@@ -51,4 +53,4 @@ jobs:
|
|
Harald Hoyer |
5f0dd7 |
fetch-depth: 0
|
|
Harald Hoyer |
5f0dd7 |
|
|
Harald Hoyer |
5f0dd7 |
- name: "TEST-${{ matrix.test }}"
|
|
Harald Hoyer |
5f0dd7 |
- run: docker run --privileged -v $(pwd)/:/dracut quay.io/haraldh/dracut-fedora:31 /dracut/fedora-test-github.sh "TEST-${{ matrix.test }}" ${{ matrix.test }}
|
|
Harald Hoyer |
5f0dd7 |
+ run: ./fedora-test-github.sh "TEST-${{ matrix.test }}" ${{ matrix.test }}
|
|
Harald Hoyer |
5f0dd7 |
|