-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New CircleCI job #2810
New CircleCI job #2810
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,13 @@ defaults: &defaults | |
environment: | ||
GOBIN: /tmp/workspace/bin | ||
|
||
docs_update: &docs_deploy | ||
working_directory: ~/repo | ||
docker: | ||
- image: tendermint/docs_deployment | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this documented anywhere? |
||
environment: | ||
AWS_REGION: us-east-1 | ||
|
||
jobs: | ||
|
||
setup_dependencies: | ||
|
@@ -255,12 +262,26 @@ jobs: | |
make build-linux | ||
make localnet-start | ||
./scripts/localnet-blocks-test.sh 40 5 10 localhost | ||
deploy_docs: | ||
<<: *docs_deploy | ||
steps: | ||
- checkout | ||
- run: | ||
name: Trigger website build | ||
command: | | ||
export LAST_COMMIT=`git rev-parse HEAD` | ||
export DOCS_COMMIT=`git log -1 --format=format:%H --full-diff docs` | ||
if [[ $DOCS_COMMIT == $LAST_COMMIT ]]; then | ||
chamber exec cosmos-sdk -- start_website_build | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Guessing this binary is in the docker image above, but it would be nice to see some docs on this process. Maybe they are in a different repo? |
||
else | ||
echo "No changes to docs detected" | ||
fi | ||
workflows: | ||
version: 2 | ||
test-suite: | ||
jobs: | ||
- deploy_docs | ||
- setup_dependencies | ||
- lint: | ||
requires: | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙌