Skip to content

Commit

Permalink
Run acc. tests only
Browse files Browse the repository at this point in the history
  • Loading branch information
lkysow committed Sep 13, 2021
1 parent 6b485ce commit 00afd55
Showing 1 changed file with 54 additions and 62 deletions.
116 changes: 54 additions & 62 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -873,69 +873,61 @@ workflows:
test-and-build:
jobs:
# Fmt, vet, lint control plane and helm code
- go-fmt-and-vet-control-plane
- lint-control-plane
- go-fmt-and-vet-acceptance
- go-fmt-and-vet-helm-gen
# Unit test control plane
- test-control-plane:
requires:
- go-fmt-and-vet-control-plane
- lint-control-plane
- test-enterprise-control-plane:
filters:
branches:
# Forked pull requests have CIRCLE_BRANCH set to pull/XXX.
ignore: /pull\/[0-9]+/
requires:
- go-fmt-and-vet-control-plane
- lint-control-plane
# Unit tests for go modules in helm and bats tests for templates
- unit-acceptance-framework:
requires:
- go-fmt-and-vet-acceptance
- unit-helm-gen:
requires:
- go-fmt-and-vet-helm-gen
- validate-helm-gen
- unit-test-helm-templates
# Build control plane binaries
- build-distro:
OS: "freebsd linux windows"
ARCH: "386"
name: build-distros-386
requires:
- test-control-plane
- test-enterprise-control-plane
- build-distro:
OS: "darwin freebsd linux solaris windows"
ARCH: "amd64"
name: build-distros-amd64
requires:
- test-control-plane
- test-enterprise-control-plane
- build-distro:
OS: "linux"
ARCH: "arm arm64"
name: build-distros-arm-arm64
requires:
- test-control-plane
- test-enterprise-control-plane
- dev-upload-docker:
context: consul-ci
requires:
- build-distros-amd64
# - go-fmt-and-vet-control-plane
# - lint-control-plane
# - go-fmt-and-vet-acceptance
# - go-fmt-and-vet-helm-gen
# # Unit test control plane
# - test-control-plane:
# requires:
# - go-fmt-and-vet-control-plane
# - lint-control-plane
# - test-enterprise-control-plane:
# filters:
# branches:
# # Forked pull requests have CIRCLE_BRANCH set to pull/XXX.
# ignore: /pull\/[0-9]+/
# requires:
# - go-fmt-and-vet-control-plane
# - lint-control-plane
# # Unit tests for go modules in helm and bats tests for templates
# - unit-acceptance-framework:
# requires:
# - go-fmt-and-vet-acceptance
# - unit-helm-gen:
# requires:
# - go-fmt-and-vet-helm-gen
# - validate-helm-gen
# - unit-test-helm-templates
# # Build control plane binaries
# - build-distro:
# OS: "freebsd linux windows"
# ARCH: "386"
# name: build-distros-386
# requires:
# - test-control-plane
# - test-enterprise-control-plane
# - build-distro:
# OS: "darwin freebsd linux solaris windows"
# ARCH: "amd64"
# name: build-distros-amd64
# requires:
# - test-control-plane
# - test-enterprise-control-plane
# - build-distro:
# OS: "linux"
# ARCH: "arm arm64"
# name: build-distros-arm-arm64
# requires:
# - test-control-plane
# - test-enterprise-control-plane
# - dev-upload-docker:
# context: consul-ci
# requires:
# - build-distros-amd64
# Run acceptance tests using the docker image built for the control plane
- acceptance:
requires:
- dev-upload-docker
- unit-test-helm-templates
- unit-acceptance-framework
- acceptance-tproxy:
requires:
- dev-upload-docker
- unit-test-helm-templates
- unit-acceptance-framework
- acceptance
- acceptance-tproxy
nightly-acceptance-tests:
triggers:
- schedule:
Expand Down

0 comments on commit 00afd55

Please sign in to comment.