From d249e647be316a155d9ee66ea6ffd33d060efc84 Mon Sep 17 00:00:00 2001 From: Lucas Pedroza Date: Thu, 21 Mar 2024 19:45:14 +0100 Subject: [PATCH] Use repo.git for dir --- concourse/pipeline.yml | 27 ++++++++++++++------------- concourse/scripts/publish.sh | 2 +- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/concourse/pipeline.yml b/concourse/pipeline.yml index 0e785bf1..781114c7 100644 --- a/concourse/pipeline.yml +++ b/concourse/pipeline.yml @@ -19,6 +19,7 @@ resources: source: uri: git@github.com:fauna/fauna-js.git branch: main +# tag_filter: v* private_key: ((github-ssh-key)) - name: beta.git @@ -27,7 +28,7 @@ resources: source: uri: git@github.com:fauna/fauna-js.git branch: beta - tag_filter: v* +# tag_filter: v* private_key: ((github-ssh-key)) - name: testtools-repo @@ -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 diff --git a/concourse/scripts/publish.sh b/concourse/scripts/publish.sh index c75ca0bd..3099b4a7 100755 --- a/concourse/scripts/publish.sh +++ b/concourse/scripts/publish.sh @@ -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)