-
Notifications
You must be signed in to change notification settings - Fork 884
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Prepare to release to 0.22.1 * Revert chart verifier update for now * Remove unused jobs from CircleCI config
- Loading branch information
Showing
10 changed files
with
32 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,61 +3,9 @@ orbs: | |
slack: circleci/[email protected] | ||
|
||
jobs: | ||
bats-unit-test: | ||
docker: | ||
# This image is built from test/docker/Test.dockerfile | ||
- image: docker.mirror.hashicorp.services/hashicorpdev/vault-helm-test:0.2.0 | ||
steps: | ||
- checkout | ||
- run: bats ./test/unit -t | ||
|
||
chart-verifier: | ||
docker: | ||
- image: docker.mirror.hashicorp.services/cimg/go:1.16 | ||
environment: | ||
BATS_VERSION: "1.3.0" | ||
CHART_VERIFIER_VERSION: "1.2.1" | ||
steps: | ||
- checkout | ||
- run: | ||
name: install chart-verifier | ||
command: go get github.com/redhat-certification/chart-verifier@${CHART_VERIFIER_VERSION} | ||
- run: | ||
name: install bats | ||
command: | | ||
curl -sSL https://github.com/bats-core/bats-core/archive/v${BATS_VERSION}.tar.gz -o /tmp/bats.tgz | ||
tar -zxf /tmp/bats.tgz -C /tmp | ||
sudo /bin/bash /tmp/bats-core-${BATS_VERSION}/install.sh /usr/local | ||
- run: | ||
name: run chart-verifier tests | ||
command: bats ./test/chart -t | ||
|
||
acceptance: | ||
docker: | ||
# This image is build from test/docker/Test.dockerfile | ||
- image: docker.mirror.hashicorp.services/hashicorpdev/vault-helm-test:0.2.0 | ||
|
||
steps: | ||
- checkout | ||
- run: | ||
name: terraform init & apply | ||
command: | | ||
echo -e "${GOOGLE_APP_CREDS}" | base64 -d > vault-helm-test.json | ||
export GOOGLE_CREDENTIALS=vault-helm-test.json | ||
make provision-cluster | ||
- run: | ||
name: Run acceptance tests | ||
command: bats ./test/acceptance -t | ||
|
||
- run: | ||
name: terraform destroy | ||
command: | | ||
export GOOGLE_CREDENTIALS=vault-helm-test.json | ||
make destroy-cluster | ||
when: always | ||
update-helm-charts-index: | ||
docker: | ||
- image: docker.mirror.hashicorp.services/circleci/golang:1.15.3 | ||
- image: docker.mirror.hashicorp.services/circleci/golang:1.19.2 | ||
steps: | ||
- checkout | ||
- run: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters