Skip to content

Commit

Permalink
created a new workflow for running nightly release branch tests
Browse files Browse the repository at this point in the history
- only run a single cloud test (arbitrarily GKE) and kind testing. A single cloud test is sufficient for release branch testing
- gcloud plugin enabled to handle deprecations with older gke cli
- updated consul-helm-test-image to latest version
  • Loading branch information
wilkermichael committed Nov 7, 2022
1 parent 696bd6e commit 19ba031
Showing 1 changed file with 6 additions and 16 deletions.
22 changes: 6 additions & 16 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,13 @@ cli-path: &cli-path cli
acceptance-mod-path: &acceptance-mod-path acceptance
acceptance-test-path: &acceptance-test-path acceptance/tests
acceptance-framework-path: &acceptance-framework-path acceptance/framework
charts-consul-path: &charts-consul-path charts/consul
helm-gen-path: &helm-gen-path hack/helm-reference-gen
gke-terraform-path: &gke-terraform-path charts/consul/test/terraform/gke
eks-terraform-path: &eks-terraform-path charts/consul/test/terraform/eks
aks-terraform-path: &aks-terraform-path charts/consul/test/terraform/aks
openshift-terraform-path: &openshift-terraform-path charts/consul/test/terraform/openshift
# This image is built from test/docker/Test.dockerfile
consul-helm-test-image: &consul-helm-test-image docker.mirror.hashicorp.services/hashicorpdev/consul-helm-test:0.12.0
# This image is built from charts/consul/test/docker/Test.dockerfile and provides the necessary dependencies for running on our cloud targets.
consul-helm-test-image: &consul-helm-test-image docker.mirror.hashicorp.services/hashicorpdev/consul-helm-test:0.12.3

########################
# COMMANDS
Expand Down Expand Up @@ -728,6 +727,7 @@ jobs:
parallelism: 2
environment:
- TEST_RESULTS: /tmp/test-results
- USE_GKE_GCLOUD_AUTH_PLUGIN: true
docker:
- image: *consul-helm-test-image

Expand Down Expand Up @@ -796,6 +796,7 @@ jobs:
parallelism: 2
environment:
- TEST_RESULTS: /tmp/test-results
- USE_GKE_GCLOUD_AUTH_PLUGIN: true
docker:
- image: *consul-helm-test-image

Expand Down Expand Up @@ -1329,11 +1330,12 @@ workflows:
contains the same sequence of jobs.
triggers:
- schedule:
cron: "0 0 * * *" # Run at 12 am UTC (5 pm PST)
cron: "05 20 * * *" # Run at 12 am UTC (5 pm PST)
filters:
branches:
only:
- release/0.49.x
- mw/release/0.49.x/fix-cloud-pipeline
jobs:
- build-distro:
OS: "linux"
Expand All @@ -1350,18 +1352,6 @@ workflows:
- acceptance-gke-cni-1-23:
requires:
- acceptance-gke-1-23
- acceptance-eks-1-21:
requires:
- dev-upload-docker
- acceptance-eks-cni-1-21:
requires:
- acceptance-eks-1-21
- acceptance-aks-1-22:
requires:
- dev-upload-docker
- acceptance-aks-cni-1-22:
requires:
- acceptance-aks-1-22
- acceptance-tproxy:
requires:
- dev-upload-docker
Expand Down

0 comments on commit 19ba031

Please sign in to comment.