Skip to content

Commit

Permalink
fix(pipeline): correct unstable publishing
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin O'Donnell <kevin@blockchaintp.com>
  • Loading branch information
scealiontach committed Oct 22, 2020
1 parent dd1a868 commit 0446102
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Expand Up @@ -108,7 +108,7 @@ pipeline {
tools:${JOB_ID} -c "aws s3 sync . s3://${S3_TARGET}/charts"
${DOCKER_RUN} -v `pwd`:/project -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY -w /project/dist/remote \
tools:${JOB_ID} -c "aws s3 sync s3://${S3_TARGET}/charts ."
${DOCKER_RUN} -v `pwd`:/project -w /project/fix(pipeline): always publish to unstable on the master branchdist/remote tools:${JOB_ID} -c "helm repo index ./ --url https://${S3_TARGET}.s3.amazonaws.com/charts"
${DOCKER_RUN} -v `pwd`:/project -w /project/dist/remote tools:${JOB_ID} -c "helm repo index ./ --url https://${S3_TARGET}.s3.amazonaws.com/charts"
${DOCKER_RUN} -v `pwd`:/project -w /project/charts tools:${JOB_ID} -c "chown -R ${JENKINS_UID}:${JENKINS_GID} /project/dist"
${DOCKER_RUN} -v `pwd`:/project -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY -w /project/dist/remote \
tools:${JOB_ID} -c "aws s3 cp index.yaml s3://${S3_TARGET}/charts/index.yaml"
Expand Down

0 comments on commit 0446102

Please sign in to comment.