Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use repo.git for dir #241

Merged
merged 1 commit into from
Mar 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading