mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-14 13:51:21 +00:00
circleci: removed complexity from docs deployment job (#3396)
This commit is contained in:
@ -10,7 +10,7 @@ defaults: &defaults
|
|||||||
docs_update_config: &docs_update_config
|
docs_update_config: &docs_update_config
|
||||||
working_directory: ~/repo
|
working_directory: ~/repo
|
||||||
docker:
|
docker:
|
||||||
- image: tendermint/docs_deployment
|
- image: tendermintdev/jq_curl
|
||||||
environment:
|
environment:
|
||||||
AWS_REGION: us-east-1
|
AWS_REGION: us-east-1
|
||||||
|
|
||||||
@ -239,7 +239,22 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
name: Trigger website build
|
name: Trigger website build
|
||||||
command: |
|
command: |
|
||||||
chamber exec tendermint -- start_website_build
|
curl --silent \
|
||||||
|
--show-error \
|
||||||
|
-X POST \
|
||||||
|
--header "Content-Type: application/json" \
|
||||||
|
-d "{\"branch\": \"$CIRCLE_BRANCH\"}" \
|
||||||
|
"https://circleci.com/api/v1.1/project/github/$CIRCLE_PROJECT_USERNAME/$WEBSITE_REPO_NAME/build?circle-token=$TENDERBOT_API_TOKEN" > response.json
|
||||||
|
|
||||||
|
RESULT=`jq -r '.status' response.json`
|
||||||
|
MESSAGE=`jq -r '.message' response.json`
|
||||||
|
|
||||||
|
if [[ ${RESULT} == "null" ]] || [[ ${RESULT} -ne "200" ]]; then
|
||||||
|
echo "CircleCI API call failed: $MESSAGE"
|
||||||
|
exit 1
|
||||||
|
else
|
||||||
|
echo "Website build started"
|
||||||
|
fi
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
|
@ -40,6 +40,8 @@ Special thanks to external contributors on this release:
|
|||||||
- leveldb.alivesnaps
|
- leveldb.alivesnaps
|
||||||
- leveldb.aliveiters
|
- leveldb.aliveiters
|
||||||
|
|
||||||
|
CI/CD: * [\#3396](https://github.com/tendermint/tendermint/pull/3396)
|
||||||
|
|
||||||
### BUG FIXES:
|
### BUG FIXES:
|
||||||
|
|
||||||
- [p2p/conn] \#3347 Reject all-zero shared secrets in the Diffie-Hellman step of secret-connection
|
- [p2p/conn] \#3347 Reject all-zero shared secrets in the Diffie-Hellman step of secret-connection
|
||||||
|
Reference in New Issue
Block a user