Skip to content

Commit 269507d

Browse files
Revert "Temporarily have FIPS integration tests spin up deployments in Produc…" (#10117) (#10866)
This reverts commit c76bfe2. (cherry picked from commit e541096) Co-authored-by: Shaunak Kashyap <[email protected]>
1 parent d22f44d commit 269507d

File tree

1 file changed

+14
-22
lines changed

1 file changed

+14
-22
lines changed

.buildkite/bk.integration-fips.pipeline.yml

Lines changed: 14 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,12 @@ env:
1212
# This section is used to define the plugins that will be used in the pipeline.
1313
# See https://buildkite.com/docs/pipelines/integrations/plugins/using#using-yaml-anchors-with-plugins
1414
common:
15-
# We are temporarily using the Production CFT environment API key instead of the
16-
# Staging GovCloud one. This is being done until issues with creating deployments in
17-
# Staging GovCloud are fixed. Once those are fixed, uncomment the `vault_ec_key_staging_frh_gov`
18-
# section and delete the `vault_ec_key_prod` section below.
19-
# - vault_ec_key_staging_frh_gov: &vault_ec_key_staging_frh_gov
20-
# elastic/vault-secrets#v0.1.0:
21-
# path: "kv/ci-shared/platform-ingest/platform-ingest-ec-staging-gov"
22-
# field: "apiKey"
23-
# env_var: "EC_API_KEY"
24-
- vault_ec_key_prod: &vault_ec_key_prod
15+
- vault_ec_key_staging_frh_gov: &vault_ec_key_staging_frh_gov
2516
elastic/vault-secrets#v0.1.0:
26-
path: "kv/ci-shared/platform-ingest/platform-ingest-ec-prod"
17+
path: "kv/ci-shared/platform-ingest/platform-ingest-ec-staging-gov"
2718
field: "apiKey"
2819
env_var: "EC_API_KEY"
20+
2921
steps:
3022
- label: Start ESS stack for FIPS integration tests
3123
depends_on:
@@ -34,9 +26,9 @@ steps:
3426
key: integration-fips-ess
3527
env:
3628
FIPS: "true"
37-
# EC_ENDPOINT: "https://api.staging.elastic-gov.com"
38-
# ESS_REGION: "us-gov-east-1"
39-
# TF_VAR_deployment_template_id: "aws-general-purpose"
29+
EC_ENDPOINT: "https://api.staging.elastic-gov.com"
30+
ESS_REGION: "us-gov-east-1"
31+
TF_VAR_deployment_template_id: "aws-general-purpose"
4032
TF_VAR_integration_server_docker_image: "docker.elastic.co/beats-ci/elastic-agent-cloud-fips:git-${BUILDKITE_COMMIT:0:12}"
4133
TF_VAR_docker_images_name_suffix: "-fips"
4234
command: |
@@ -48,7 +40,7 @@ steps:
4840
image: "docker.elastic.co/ci-agent-images/platform-ingest/buildkite-agent-beats-ci-with-hooks:0.5"
4941
useCustomGlobalHooks: true
5042
plugins:
51-
- *vault_ec_key_prod
43+
- *vault_ec_key_staging_frh_gov
5244

5345
- group: "fips:Stateful:Ubuntu"
5446
key: integration-tests-ubuntu-fips
@@ -80,7 +72,7 @@ steps:
8072
image: "${IMAGE_UBUNTU_X86_64_FIPS}"
8173
instanceType: "m5.2xlarge"
8274
plugins:
83-
- *vault_ec_key_prod
75+
- *vault_ec_key_staging_frh_gov
8476
matrix:
8577
setup:
8678
sudo:
@@ -114,7 +106,7 @@ steps:
114106
image: "${IMAGE_UBUNTU_ARM64_FIPS}"
115107
instanceType: "m6g.2xlarge"
116108
plugins:
117-
- *vault_ec_key_prod
109+
- *vault_ec_key_staging_frh_gov
118110
matrix:
119111
setup:
120112
sudo:
@@ -143,16 +135,16 @@ steps:
143135
image: "${IMAGE_UBUNTU_X86_64_FIPS}"
144136
instanceType: "m5.2xlarge"
145137
plugins:
146-
- *vault_ec_key_prod
138+
- *vault_ec_key_staging_frh_gov
147139

148140
- label: ESS FIPS stack cleanup
149141
depends_on:
150142
- integration-tests-ubuntu-fips
151143
env:
152144
FIPS: "true"
153-
# EC_ENDPOINT: "https://api.staging.elastic-gov.com"
154-
# ESS_REGION: "us-gov-east-1"
155-
# TF_VAR_deployment_template_id: "aws-general-purpose"
145+
EC_ENDPOINT: "https://api.staging.elastic-gov.com"
146+
ESS_REGION: "us-gov-east-1"
147+
TF_VAR_deployment_template_id: "aws-general-purpose"
156148
TF_VAR_integration_server_docker_image: "docker.elastic.co/beats-ci/elastic-agent-cloud-fips:git-${BUILDKITE_COMMIT:0:12}"
157149
TF_VAR_docker_images_name_suffix: "-fips"
158150
allow_dependency_failure: true
@@ -164,7 +156,7 @@ steps:
164156
image: "docker.elastic.co/ci-agent-images/platform-ingest/buildkite-agent-beats-ci-with-hooks:0.5"
165157
useCustomGlobalHooks: true
166158
plugins:
167-
- *vault_ec_key_prod
159+
- *vault_ec_key_staging_frh_gov
168160

169161
- label: Aggregate test reports
170162
depends_on:

0 commit comments

Comments
 (0)