Skip to content

Commit

Permalink
Use repo.git for dir (#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
pnwpedro authored Mar 21, 2024
1 parent f99f298 commit 4240c08
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
27 changes: 14 additions & 13 deletions concourse/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ resources:
source:
uri: [email protected]:fauna/fauna-js.git
branch: main
# tag_filter: v*
private_key: ((github-ssh-key))

- name: beta.git
Expand All @@ -27,7 +28,7 @@ resources:
source:
uri: [email protected]:fauna/fauna-js.git
branch: beta
tag_filter: v*
# tag_filter: v*
private_key: ((github-ssh-key))

- name: testtools-repo
Expand Down Expand Up @@ -239,18 +240,18 @@ jobs:
passed:
- set-self

- task: integration-tests
file: beta.git/concourse/tasks/integration-tests.yml
input_mapping: {repo.git: beta.git}
privileged: true
on_success:
put: notify
params:
text: "fauna-js driver release passed integration tests"
on_failure:
put: notify
params:
text: fauna-js driver release failed integration tests
# - task: integration-tests
# file: beta.git/concourse/tasks/integration-tests.yml
# input_mapping: {repo.git: beta.git}
# privileged: true
# on_success:
# put: notify
# params:
# text: "fauna-js driver release passed integration tests"
# on_failure:
# put: notify
# params:
# text: fauna-js driver release failed integration tests

- task: publish
file: beta.git/concourse/tasks/npm-publish.yml
Expand Down
2 changes: 1 addition & 1 deletion concourse/scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -eou pipefail

cd ./fauna-js-repository
cd ./repo.git

PACKAGE_VERSION=$(node -p -e "require('./package.json').version")
NPM_LATEST_VERSION=$(npm view fauna version)
Expand Down

0 comments on commit 4240c08

Please sign in to comment.