-
Notifications
You must be signed in to change notification settings - Fork 323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enable nightlies for 1.11 and 1.12 and 1.13 #1339
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -506,7 +506,7 @@ jobs: | |
- run: mkdir -p $TEST_RESULTS | ||
- run-acceptance-tests: | ||
failfast: true | ||
additional-flags: -use-kind -kubecontext="kind-dc1" -secondary-kubecontext="kind-dc2" | ||
additional-flags: -use-kind -kubecontext="kind-dc1" -secondary-kubecontext="kind-dc2" -helm-chart-version="0.47.1" | ||
- store_test_results: | ||
path: /tmp/test-results | ||
- store_artifacts: | ||
|
@@ -880,7 +880,8 @@ jobs: | |
- TEST_RESULTS: /tmp/test-results | ||
- CONSUL_IMAGE: "docker.mirror.hashicorp.services/hashicorppreview/consul-enterprise:1.11-dev" | ||
- ENVOY_IMAGE: "envoyproxy/envoy:v1.20.2" | ||
- CONSUL_K8S_IMAGE: "docker.mirror.hashicorp.services/hashicorp/consul-k8s-control-plane:0.45.0" | ||
- CONSUL_K8S_IMAGE: "docker.mirror.hashicorp.services/hashicorp/consul-k8s-control-plane:0.47.1" | ||
- HELM_CHART_VERSION: "0.47.1" | ||
machine: | ||
image: ubuntu-2004:202010-01 | ||
resource_class: xlarge | ||
|
@@ -902,21 +903,22 @@ jobs: | |
- ~/.go_workspace/pkg/mod | ||
- run: mkdir -p $TEST_RESULTS | ||
- run-acceptance-tests: | ||
additional-flags: -use-kind -kubecontext="kind-dc1" -secondary-kubecontext="kind-dc2" -enable-transparent-proxy -consul-k8s-image=$CONSUL_K8S_IMAGE -consul-image=$CONSUL_IMAGE -consul-version="1.11" -envoy-image=$ENVOY_IMAGE | ||
additional-flags: -use-kind -kubecontext="kind-dc1" -secondary-kubecontext="kind-dc2" -enable-transparent-proxy -consul-k8s-image=$CONSUL_K8S_IMAGE -consul-image=$CONSUL_IMAGE -consul-version="1.11" -envoy-image=$ENVOY_IMAGE -helm-chart-version=$HELM_CHART_VERSION | ||
- store_test_results: | ||
path: /tmp/test-results | ||
- store_artifacts: | ||
path: /tmp/test-results | ||
- slack/status: | ||
fail_only: true | ||
failure_message: "Acceptance tests against Kind with Kubernetes v1.23 with Consul 1.11.x nightly failed. Check the logs at: ${CIRCLE_BUILD_URL}" | ||
failure_message: "Acceptance tests against Kind with Kubernetes v1.23 with Consul 1.11 nightly failed. Check the logs at: ${CIRCLE_BUILD_URL}" | ||
|
||
acceptance-kind-1-23-consul-nightly-1-12: | ||
environment: | ||
- TEST_RESULTS: /tmp/test-results | ||
- CONSUL_IMAGE: "docker.mirror.hashicorp.services/hashicorppreview/consul-enterprise:1.12-dev" | ||
- ENVOY_IMAGE: "envoyproxy/envoy:v1.22.2" | ||
- CONSUL_K8S_IMAGE: "docker.mirror.hashicorp.services/hashicorp/consul-k8s-control-plane:0.45.0" | ||
- HELM_CHART_VERSION: "0.47.1" | ||
- CONSUL_K8S_IMAGE: "docker.mirror.hashicorp.services/hashicorp/consul-k8s-control-plane:0.47.1" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does this need to be the default image or this specific image version? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The intention was to run latest release against nightly builds of previous consul versions There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If there are changes in the helm chart that require a dev image, then these tests will break, right? I think if we wanted to run the release image, we'd need to use a tag of the helm chart to make sure it always works. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah I think that makes sense! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've added a new flag for helm chart version which plumbs into the |
||
machine: | ||
image: ubuntu-2004:202010-01 | ||
resource_class: xlarge | ||
|
@@ -938,7 +940,7 @@ jobs: | |
- ~/.go_workspace/pkg/mod | ||
- run: mkdir -p $TEST_RESULTS | ||
- run-acceptance-tests: | ||
additional-flags: -use-kind -kubecontext="kind-dc1" -secondary-kubecontext="kind-dc2" -enable-transparent-proxy -consul-k8s-image=$CONSUL_K8S_IMAGE -consul-image=$CONSUL_IMAGE -consul-version="1.12" -envoy-image=$ENVOY_IMAGE | ||
additional-flags: -use-kind -kubecontext="kind-dc1" -secondary-kubecontext="kind-dc2" -enable-transparent-proxy -consul-k8s-image=$CONSUL_K8S_IMAGE -consul-image=$CONSUL_IMAGE -consul-version="1.12" -envoy-image=$ENVOY_IMAGE -helm-chart-version=$HELM_CHART_VERSION | ||
- store_test_results: | ||
path: /tmp/test-results | ||
- store_artifacts: | ||
|
@@ -952,7 +954,8 @@ jobs: | |
- TEST_RESULTS: /tmp/test-results | ||
- CONSUL_IMAGE: "docker.mirror.hashicorp.services/hashicorppreview/consul-enterprise:1.13-dev" | ||
- ENVOY_IMAGE: "envoyproxy/envoy:v1.22.2" | ||
kschoche marked this conversation as resolved.
Show resolved
Hide resolved
kschoche marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- CONSUL_K8S_IMAGE: "docker.mirror.hashicorp.services/hashicorp/consul-k8s-control-plane:0.45.0" | ||
- CONSUL_K8S_IMAGE: "docker.mirror.hashicorp.services/hashicorp/consul-k8s-control-plane:0.47.1" | ||
- HELM_CHART_VERSION: "0.47.1" | ||
machine: | ||
image: ubuntu-2004:202010-01 | ||
resource_class: xlarge | ||
|
@@ -974,7 +977,7 @@ jobs: | |
- ~/.go_workspace/pkg/mod | ||
- run: mkdir -p $TEST_RESULTS | ||
- run-acceptance-tests: | ||
additional-flags: -use-kind -kubecontext="kind-dc1" -secondary-kubecontext="kind-dc2" -enable-transparent-proxy -consul-k8s-image=$CONSUL_K8S_IMAGE -consul-image=$CONSUL_IMAGE -consul-version="1.13" -envoy-image=$ENVOY_IMAGE | ||
additional-flags: -use-kind -kubecontext="kind-dc1" -secondary-kubecontext="kind-dc2" -enable-transparent-proxy -consul-k8s-image=$CONSUL_K8S_IMAGE -consul-image=$CONSUL_IMAGE -consul-version="1.13" -envoy-image=$ENVOY_IMAGE -helm-chart-version=$HELM_CHART_VERSION | ||
- store_test_results: | ||
path: /tmp/test-results | ||
- store_artifacts: | ||
|
@@ -1047,15 +1050,15 @@ workflows: | |
requires: | ||
- dev-upload-docker | ||
|
||
# nightly-acceptance-tests-consul: | ||
# triggers: | ||
# - schedule: | ||
# cron: "0 0 * * *" | ||
# filters: | ||
# branches: | ||
# only: | ||
# - main | ||
# jobs: | ||
# - acceptance-kind-1-23-consul-nightly-1-11 | ||
# - acceptance-kind-1-23-consul-nightly-1-12 | ||
# - acceptance-kind-1-23-consul-nightly-1-13 | ||
nightly-acceptance-tests-consul: | ||
triggers: | ||
- schedule: | ||
cron: "0 0 * * *" | ||
filters: | ||
branches: | ||
only: | ||
- main | ||
jobs: | ||
- acceptance-kind-1-23-consul-nightly-1-11 | ||
- acceptance-kind-1-23-consul-nightly-1-12 | ||
- acceptance-kind-1-23-consul-nightly-1-13 | ||
ishustava marked this conversation as resolved.
Show resolved
Hide resolved
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
testing in CI, will remove later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is there any way we can configure circle to git checkout a certain tag instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line itself will be reverted, and it will be internally using the chart associated with the commit that CI is running against.
For the nightly acceptance tests they will specify the above though. I guess we could somehow make it check things out in a certain way but its already hard coded everywhere such as the consul versions, envoy versions, etc. Thoughts?