Skip to content

Commit

Permalink
temp: no smoke test
Browse files Browse the repository at this point in the history
Signed-off-by: Attila Szakacs <[email protected]>
  • Loading branch information
alltilla committed Feb 12, 2024
1 parent 930f6b9 commit 7592469
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions .github/workflows/syslog-ng-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,40 +59,40 @@ jobs:
name: source-tarball
path: dbld/build/*.tar.*

build-and-test:
runs-on: ubuntu-latest
needs: tarball
steps:
- name: Checkout source
uses: actions/checkout@v3
# build-and-test:
# runs-on: ubuntu-latest
# needs: tarball
# steps:
# - name: Checkout source
# uses: actions/checkout@v3

- name: Download source tarball artifact
uses: actions/download-artifact@v3
with:
name: source-tarball
path: syslog-ng/apkbuild/axoflow/syslog-ng
# - name: Download source tarball artifact
# uses: actions/download-artifact@v3
# with:
# name: source-tarball
# path: syslog-ng/apkbuild/axoflow/syslog-ng

- name: Build and export Docker image
uses: docker/build-push-action@v3
with:
context: syslog-ng
file: syslog-ng/alpine.dockerfile
load: true
tags: syslog-ng:test
build-args: |
PKG_TYPE=nightly
SNAPSHOT_VERSION=${{ needs.tarball.outputs.snapshot-version }}
# - name: Build and export Docker image
# uses: docker/build-push-action@v3
# with:
# context: syslog-ng
# file: syslog-ng/alpine.dockerfile
# load: true
# tags: syslog-ng:test
# build-args: |
# PKG_TYPE=nightly
# SNAPSHOT_VERSION=${{ needs.tarball.outputs.snapshot-version }}

- name: Smoke test
run: |
export SYSLOG_NG_IMAGE="syslog-ng:test"
export SYSLOG_NG_VERSION="${{ needs.tarball.outputs.snapshot-version }}"
syslog-ng/tests/smoke.sh
# - name: Smoke test
# run: |
# export SYSLOG_NG_IMAGE="syslog-ng:test"
# export SYSLOG_NG_VERSION="${{ needs.tarball.outputs.snapshot-version }}"
# syslog-ng/tests/smoke.sh


publish-image:
uses: ./.github/workflows/syslog-ng-docker.yml
needs: [tarball, build-and-test]
needs: [tarball]
with:
pkg-type: nightly
tarball-artifact: source-tarball
Expand Down

0 comments on commit 7592469

Please sign in to comment.