From c1876ddcc19e4d6c7c15bd537c46adfe227120cc Mon Sep 17 00:00:00 2001 From: Abhay Krishna Arunachalam Date: Fri, 9 Feb 2024 17:18:41 -0800 Subject: [PATCH] Add Bottlerocket CloudFront endpoint environment variable --- config/job-constants.yaml | 2 ++ .../imagebuilder-1-25-presubmits.yaml | 2 ++ .../imagebuilder-1-26-presubmits.yaml | 2 ++ .../imagebuilder-1-27-presubmits.yaml | 2 ++ .../imagebuilder-1-28-presubmits.yaml | 2 ++ .../imagebuilder-1-29-presubmits.yaml | 2 ++ .../eks-anywhere-build-tooling/imagebuilder-1-X-presubmits.yaml | 2 ++ 7 files changed, 14 insertions(+) diff --git a/config/job-constants.yaml b/config/job-constants.yaml index 9b2a23a1..4a766c04 100644 --- a/config/job-constants.yaml +++ b/config/job-constants.yaml @@ -31,3 +31,5 @@ env: value: EksaE2eSsmBuildRole - name: IMAGE_REPO value: public.ecr.aws/h1r8a7l5 +- name: BOTTLEROCKET_CLOUDFRONT_ENDPOINT + value: d3r9quwvrhi0m2.cloudfront.net diff --git a/jobs/aws/eks-anywhere-build-tooling/imagebuilder-1-25-presubmits.yaml b/jobs/aws/eks-anywhere-build-tooling/imagebuilder-1-25-presubmits.yaml index 63fd93b8..de2af544 100644 --- a/jobs/aws/eks-anywhere-build-tooling/imagebuilder-1-25-presubmits.yaml +++ b/jobs/aws/eks-anywhere-build-tooling/imagebuilder-1-25-presubmits.yaml @@ -64,6 +64,8 @@ presubmits: value: "s3://projectbuildpipeline-857-pipelineoutputartifactsb-10ajmk30khe3f" - name: CODEBUILD_ROLE_ARN value: "arn:aws:iam::857151390494:role/ImageBuilderPresubmitRole" + - name: BOTTLEROCKET_CLOUDFRONT_ENDPOINT + value: "d3r9quwvrhi0m2.cloudfront.net" resources: requests: memory: "16Gi" diff --git a/jobs/aws/eks-anywhere-build-tooling/imagebuilder-1-26-presubmits.yaml b/jobs/aws/eks-anywhere-build-tooling/imagebuilder-1-26-presubmits.yaml index 1192abde..4d06e4c9 100644 --- a/jobs/aws/eks-anywhere-build-tooling/imagebuilder-1-26-presubmits.yaml +++ b/jobs/aws/eks-anywhere-build-tooling/imagebuilder-1-26-presubmits.yaml @@ -64,6 +64,8 @@ presubmits: value: "s3://projectbuildpipeline-857-pipelineoutputartifactsb-10ajmk30khe3f" - name: CODEBUILD_ROLE_ARN value: "arn:aws:iam::857151390494:role/ImageBuilderPresubmitRole" + - name: BOTTLEROCKET_CLOUDFRONT_ENDPOINT + value: "d3r9quwvrhi0m2.cloudfront.net" resources: requests: memory: "16Gi" diff --git a/jobs/aws/eks-anywhere-build-tooling/imagebuilder-1-27-presubmits.yaml b/jobs/aws/eks-anywhere-build-tooling/imagebuilder-1-27-presubmits.yaml index 1bf4f6b4..e50ec12f 100644 --- a/jobs/aws/eks-anywhere-build-tooling/imagebuilder-1-27-presubmits.yaml +++ b/jobs/aws/eks-anywhere-build-tooling/imagebuilder-1-27-presubmits.yaml @@ -64,6 +64,8 @@ presubmits: value: "s3://projectbuildpipeline-857-pipelineoutputartifactsb-10ajmk30khe3f" - name: CODEBUILD_ROLE_ARN value: "arn:aws:iam::857151390494:role/ImageBuilderPresubmitRole" + - name: BOTTLEROCKET_CLOUDFRONT_ENDPOINT + value: "d3r9quwvrhi0m2.cloudfront.net" resources: requests: memory: "16Gi" diff --git a/jobs/aws/eks-anywhere-build-tooling/imagebuilder-1-28-presubmits.yaml b/jobs/aws/eks-anywhere-build-tooling/imagebuilder-1-28-presubmits.yaml index 2123e86f..575438b7 100644 --- a/jobs/aws/eks-anywhere-build-tooling/imagebuilder-1-28-presubmits.yaml +++ b/jobs/aws/eks-anywhere-build-tooling/imagebuilder-1-28-presubmits.yaml @@ -64,6 +64,8 @@ presubmits: value: "s3://projectbuildpipeline-857-pipelineoutputartifactsb-10ajmk30khe3f" - name: CODEBUILD_ROLE_ARN value: "arn:aws:iam::857151390494:role/ImageBuilderPresubmitRole" + - name: BOTTLEROCKET_CLOUDFRONT_ENDPOINT + value: "d3r9quwvrhi0m2.cloudfront.net" resources: requests: memory: "16Gi" diff --git a/jobs/aws/eks-anywhere-build-tooling/imagebuilder-1-29-presubmits.yaml b/jobs/aws/eks-anywhere-build-tooling/imagebuilder-1-29-presubmits.yaml index 513d70e9..98442cc3 100644 --- a/jobs/aws/eks-anywhere-build-tooling/imagebuilder-1-29-presubmits.yaml +++ b/jobs/aws/eks-anywhere-build-tooling/imagebuilder-1-29-presubmits.yaml @@ -64,6 +64,8 @@ presubmits: value: "s3://projectbuildpipeline-857-pipelineoutputartifactsb-10ajmk30khe3f" - name: CODEBUILD_ROLE_ARN value: "arn:aws:iam::857151390494:role/ImageBuilderPresubmitRole" + - name: BOTTLEROCKET_CLOUDFRONT_ENDPOINT + value: "d3r9quwvrhi0m2.cloudfront.net" resources: requests: memory: "16Gi" diff --git a/templater/jobs/presubmit/eks-anywhere-build-tooling/imagebuilder-1-X-presubmits.yaml b/templater/jobs/presubmit/eks-anywhere-build-tooling/imagebuilder-1-X-presubmits.yaml index d513521b..fe996fcc 100644 --- a/templater/jobs/presubmit/eks-anywhere-build-tooling/imagebuilder-1-X-presubmits.yaml +++ b/templater/jobs/presubmit/eks-anywhere-build-tooling/imagebuilder-1-X-presubmits.yaml @@ -10,6 +10,8 @@ envVars: value: s3://projectbuildpipeline-857-pipelineoutputartifactsb-10ajmk30khe3f - name: CODEBUILD_ROLE_ARN value: arn:aws:iam::857151390494:role/ImageBuilderPresubmitRole +- name: BOTTLEROCKET_CLOUDFRONT_ENDPOINT + value: d3r9quwvrhi0m2.cloudfront.net resources: requests: memory: 16Gi