Skip to content

Commit

Permalink
ci: rename scripts to conform to style guide and add test
Browse files Browse the repository at this point in the history
  • Loading branch information
jumanjiman committed Nov 24, 2018
1 parent 792c37d commit a1e337b
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,27 +17,27 @@ jobs:
- run:
name: Bootstrap the devenv
command: |
ci/bootstrap.sh
ci/bootstrap
- run:
name: Build the image
command: |
ci/build.sh
ci/build
- run:
name: Show licenses
command: |
ci/licenses.sh
ci/licenses
- run:
name: Test the image
command: |
ci/test.sh
ci/test
- deploy:
name: Deploy from master branch
# yamllint disable rule:line-length
command: |
if [[ ${CIRCLE_BRANCH} = master ]] && [[ -z ${CIRCLE_PR_NUMBER} ]]; then
ci/publish.sh
ci/publish
fi
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ repos:
- id: git-check # Configure in .gitattributes
- id: git-dirty # Configure in .gitignore
- id: require-ascii
- id: script-must-have-extension
- id: script-must-not-have-extension
- id: shellcheck
- id: shfmt

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion ci/test.sh → ci/test
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ info "BUILD_DATE is ${BUILD_DATE}"
info "TAG is ${TAG}"

# Ensure dependencies are up-to-date.
. ci/bootstrap.sh
. ci/bootstrap

# Run various checks unrelated to Puppet.
run_precommit
Expand Down

0 comments on commit a1e337b

Please sign in to comment.