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 Apr 16, 2024
1 parent 5b8564a commit ab991ee
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 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@v4

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

- name: Build and export Docker image
uses: docker/build-push-action@v5
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
# build-and-test:
# runs-on: ubuntu-latest
# needs: tarball
# steps:
# - name: Checkout source
# uses: actions/checkout@v4

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

# - name: Build and export Docker image
# uses: docker/build-push-action@v5
# 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


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 ab991ee

Please sign in to comment.