-
Notifications
You must be signed in to change notification settings - Fork 755
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add integration_test job to CircleCI config
- Loading branch information
Claes Mogren
committed
Feb 1, 2020
1 parent
0c539e4
commit 6fce0dd
Showing
6 changed files
with
77 additions
and
20 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 |
---|---|---|
@@ -1,12 +1,16 @@ | ||
# https://circleci.com/docs/2.0/language-go/ | ||
version: 2.1 | ||
|
||
orbs: | ||
aws-cli: circleci/[email protected] | ||
|
||
jobs: | ||
build: | ||
docker: | ||
- image: circleci/golang:1.13-stretch | ||
working_directory: /go/src/github.com/{{ORG_NAME}}/{{REPO_NAME}} | ||
environment: | ||
GO111MODULE: "on" | ||
GO111MODULE: 'on' | ||
steps: | ||
- checkout | ||
- run: go get -u golang.org/x/lint/golint | ||
|
@@ -16,9 +20,30 @@ jobs: | |
- run: make lint | ||
- run: make vet | ||
- run: make unit-test | ||
|
||
integration_test: | ||
docker: | ||
- image: circleci/golang:1.13-stretch | ||
working_directory: /go/src/github.com/{{ORG_NAME}}/{{REPO_NAME}} | ||
environment: | ||
GO111MODULE: 'on' | ||
steps: | ||
- checkout | ||
- setup_remote_docker | ||
- aws-cli/setup: | ||
profile-name: awstester | ||
- run: | ||
name: Run the integration tests | ||
command: ./scripts/run-integration-tests.sh | ||
no_output_timeout: 15m | ||
- store_artifacts: | ||
path: /tmp/cni-test | ||
|
||
workflows: | ||
version: 2 | ||
check: | ||
jobs: | ||
- build | ||
- integration_test: | ||
context: aws | ||
requires: | ||
- build |
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 |
---|---|---|
|
@@ -9,4 +9,4 @@ verify-network | |
.DS_Store | ||
cni-metrics-helper/cni-metrics-helper | ||
portmap | ||
grpc_health_probe | ||
grpc-health-probe |
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