diff --git a/concourse/tasks/publish-vsix-releases.sh b/concourse/tasks/publish-vsix-releases.sh index 2d19de390..74648be53 100755 --- a/concourse/tasks/publish-vsix-releases.sh +++ b/concourse/tasks/publish-vsix-releases.sh @@ -1,7 +1,12 @@ #!/bin/bash set -e workdir=`pwd` -vsix_files=`ls ${workdir}/s3-*/*.vsix` + +#Uncomments the below to publish all vsix files in the task inputs: +#vsix_files=`ls ${workdir}/s3-*/*.vsix` + +#Uncomment the below to publish only concourse vxix +vsix_files=`ls ${workdir}/s3-*/vscode-concourse-*.vsix` for vsix_file in $vsix_files do @@ -11,7 +16,7 @@ do echo "" echo "We are runing the following command:" echo "" - echo " vsce publish -p $vsce_token --packagePath $vsix_file" + echo " vsce publish -p vsce_token --packagePath $vsix_file" echo "" vsce publish -p $vsce_token --packagePath $vsix_file done diff --git a/concourse/test-pipeline.yml b/concourse/test-pipeline.yml deleted file mode 100644 index f517f8351..000000000 --- a/concourse/test-pipeline.yml +++ /dev/null @@ -1,81 +0,0 @@ -#An example for Andy -resources: -- name: version - type: semver - source: - driver: git - file: fancy-bundle - uri: git@github.com/kdvolder/versions-repo - branch: master -- name: my-git - type: git - source: - uri: git@github.com/kdvolder/test - branch: master -- name: my-bundle - type: s3 - source: - bucket: my.bucket.spring.io - access_key_id: {{s3_key}} - secret_access_key: {{s3_secret}} - regexp: snapshots/fancy-bundle-(.*).zip -jobs: -- name: build-it - plan: - - get: my-git - trigger: true - - task: build-it - config: - platform: linux - inputs: - - name: my-git - outputs: - - name: target - path: my-git/target - image_resource: - type: docker-image - source: - repository: kdvolder/my-build-env - run: - path: my-git/scripts/build-it.sh - - put: my-bundle - params: - file: my-git/target/fancy-bundle-*.zip -- name: test-it - plan: - - get: my-git - passed: - - build-it - - get: my-bundle - passed: - - build-it - - task: run-tests - config: - platform: linux - inputs: - - name: my-bundle - image_resource: - type: docker-image - source: - repository: kdvolder/my-build-env - run: - path: my-git/scripts/run-tests.sh -- name: publish-it - plan: - - get: my-git - passed: - - test-it - - get: my-bundle - passed: - - test-it - - task: publish - config: - platform: linux - inputs: - - name: my-bundle - image_resource: - type: docker-image - source: - repository: kdvolder/my-build-env - run: - path: my-git/scripts/publish.sh