Skip to content

Commit

Permalink
Log deployment to Merkely prod and to Merkely staging server
Browse files Browse the repository at this point in the history
  • Loading branch information
JonJagger committed Jul 6, 2021
1 parent 467d043 commit 3f747ca
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .circleci/merkely_log_deployment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,20 @@ merkely_log_deployment()
--env MERKELY_API_TOKEN=${MERKELY_API_TOKEN} \
--rm \
--volume /var/run/docker.sock:/var/run/docker.sock \
${MERKELY_CHANGE}

docker run \
--env MERKELY_COMMAND=log_deployment \
--env MERKELY_OWNER=${MERKELY_OWNER} \
--env MERKELY_PIPELINE=${MERKELY_PIPELINE} \
--env MERKELY_FINGERPRINT=$(merkely_fingerprint) \
--env MERKELY_DESCRIPTION="Deployed to ${environment} in circleci pipeline" \
--env MERKELY_ENVIRONMENT="${environment}" \
--env MERKELY_CI_BUILD_URL=${CIRCLE_BUILD_URL} \
--env MERKELY_API_TOKEN=${MERKELY_API_TOKEN} \
--env MERKELY_HOST=https://staging.app.merkely.com \
--rm \
--volume /var/run/docker.sock:/var/run/docker.sock \
${MERKELY_CHANGE}
}

Expand Down

0 comments on commit 3f747ca

Please sign in to comment.