From fa27f069eef1232aeef696cd617314b4f1ac7298 Mon Sep 17 00:00:00 2001 From: Anoop C S Date: Tue, 23 May 2023 10:16:14 +0530 Subject: [PATCH] workflows: Add jobs to test nightly rpms on CentOS Signed-off-by: Anoop C S --- .github/workflows/container-image.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.github/workflows/container-image.yml b/.github/workflows/container-image.yml index 11a7374f..5b5ba428 100644 --- a/.github/workflows/container-image.yml +++ b/.github/workflows/container-image.yml @@ -176,6 +176,20 @@ jobs: image: "samba-server:nightly" retention_days: 1 + build-nightly-server-centos: + runs-on: ubuntu-latest + env: + BUILDAH_FORMAT: oci + steps: + - uses: actions/checkout@v3 + - name: Build the nightly server image + run: make OS_NAME=centos build-nightly-server + - name: Upload nightly server image + uses: ishworkh/docker-image-artifact-upload@v1 + with: + image: "samba-server:centos-nightly" + retention_days: 1 + build-nightly-ad-server: runs-on: ubuntu-latest env: @@ -202,6 +216,18 @@ jobs: - name: Test the nightly server image run: LOCAL_TAG=samba-server:nightly tests/test-samba-container.sh + test-nightly-server-centos: + needs: build-nightly-server-centos + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Download nightly server image + uses: ishworkh/docker-image-artifact-download@v1 + with: + image: "samba-server:centos-nightly" + - name: Test the nightly server image + run: LOCAL_TAG=samba-server:centos-nightly tests/test-samba-container.sh + test-ad-server-kubernetes: needs: - build-ad-server