Skip to content

Commit

Permalink
build(fix): fixing compliance tests
Browse files Browse the repository at this point in the history
  • Loading branch information
psanders committed Jun 22, 2024
1 parent 806523c commit 53b2cb6
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ name: release
on:
workflow_dispatch:
inputs:
skip_tests:
description: 'Skip compliance tests'
with_tests:
description: 'Run compliance tests'
required: false
type: choice
options:
- 'false'
- 'true'
- 'false'

jobs:
build-and-test:
Expand Down Expand Up @@ -83,13 +83,14 @@ jobs:
!mods/**/src
!mods/**/test
!mods/**/dist/*.ts
# This step is only executed for workflow_dispatch events with skip_tests = false
# This step is only executed for workflow_dispatch events with with_tests = true
- name: SIP Connect v1.1 Compliance Tests
if: github.event.inputs.skip_tests == 'false'
if: github.event.inputs.with_tests == 'true'
run: |
docker-compose -f compose.yaml -f compose.dev.yaml up \
compliance edgeport01 edgeport02 dispatcher registry requester apiserver connect location \
--build --abort-on-container-exit --exit-code-from compliance
docker-compose -f compose.yaml -f compose.dev.yaml up \
--build --abort-on-container-exit --exit-code-from compliance \
compliance edgeport01 edgeport02 dispatcher registry requester apiserver connect location
publish-to-docker-hub:
name: Publish to Docker Hub
uses: ./.github/workflows/docker-hub-release.yaml
Expand Down

0 comments on commit 53b2cb6

Please sign in to comment.