Skip to content

Commit

Permalink
block publish on tests job (#319)
Browse files Browse the repository at this point in the history
Also moved the integ tests to the test job, this will now run auto
on when a merge to main happens and then will be ready for the publish
step assuming all tests pass.
  • Loading branch information
fauna-chase authored Oct 30, 2023
1 parent aa528a6 commit 51a6733
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions concourse/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,9 @@ resources:
jobs:
- name: test
serial: true
trigger: true
plan:
- get: fauna-shell-repository
- task: schema-tests
file: fauna-shell-repository/concourse/tasks/schema-tests.yml
params:
FAUNA_SECRET: ((cli_test_secret))

- name: release
serial: true
public: false
plan:
- get: fauna-shell-repository

trigger: true
- task: integration-tests
file: fauna-shell-repository/concourse/tasks/integration-tests.yml
privileged: true
Expand All @@ -32,7 +21,17 @@ jobs:
FAUNA_DOMAIN: ((fauna.domain))
FAUNA_SCHEME: ((fauna.scheme))
FAUNA_PORT: ((fauna.port))
- task: schema-tests
file: fauna-shell-repository/concourse/tasks/schema-tests.yml
params:
FAUNA_SECRET: ((cli-test-secret))

- name: release
serial: true
public: false
plan:
- get: fauna-shell-repository
passed: [test]
- task: publish
file: fauna-shell-repository/concourse/tasks/publish.yml
params:
Expand Down

0 comments on commit 51a6733

Please sign in to comment.