Skip to content

Commit b28ddaa

Browse files
committed
Remove discovery-store from pull-kops-aws-distro-al2023
Signed-off-by: Marko Mudrinić <[email protected]>
1 parent 0bcf098 commit b28ddaa

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

config/jobs/kubernetes/kops/build_jobs.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -146,11 +146,12 @@ def build_test(cloud='aws',
146146
if irsa and cloud == "aws" and scenario is None:
147147
if extra_flags is None:
148148
extra_flags = []
149-
if build_cluster == "k8s-infra-kops-prow-build":
150-
# TODO: migrate to an s3 bucket within the k8s-infra-kops-prow-build cluster's account
151-
extra_flags.append("--discovery-store=s3://k8s-kops-prow/discovery")
152-
else:
153-
extra_flags.append("--discovery-store=s3://k8s-kops-ci-prow/discovery")
149+
if name_override != "kops-aws-distro-al2023":
150+
if build_cluster == "k8s-infra-kops-prow-build":
151+
# TODO: migrate to an s3 bucket within the k8s-infra-kops-prow-build cluster's account
152+
extra_flags.append("--discovery-store=s3://k8s-kops-prow/discovery")
153+
else:
154+
extra_flags.append("--discovery-store=s3://k8s-kops-ci-prow/discovery")
154155

155156
marker, k8s_deploy_url, test_package_url, test_package_dir = k8s_version_info(k8s_version)
156157
args = create_args(kops_channel, networking, extra_flags, kops_image)

config/jobs/kubernetes/kops/kops-presubmits-distros.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ presubmits:
673673
testgrid-days-of-results: '90'
674674
testgrid-tab-name: e2e-amazonlinux2
675675

676-
# {"cloud": "aws", "distro": "al2023", "extra_flags": "--discovery-store=s3://k8s-kops-prow/discovery", "k8s_version": "stable", "kops_channel": "alpha", "networking": "calico"}
676+
# {"cloud": "aws", "distro": "al2023", "k8s_version": "stable", "kops_channel": "alpha", "networking": "calico"}
677677
- name: pull-kops-aws-distro-al2023
678678
cluster: k8s-infra-kops-prow-build
679679
branches:
@@ -705,7 +705,7 @@ presubmits:
705705
-v 2 \
706706
--up --build --down \
707707
--cloud-provider=aws \
708-
--create-args="--image='137112412989/al2023-ami-2023.7.20250609.0-kernel-6.1-x86_64' --channel=alpha --networking=calico --discovery-store=s3://k8s-kops-prow/discovery" \
708+
--create-args="--image='137112412989/al2023-ami-2023.7.20250609.0-kernel-6.1-x86_64' --channel=alpha --networking=calico" \
709709
--kubernetes-version=https://dl.k8s.io/release/stable.txt \
710710
--kops-binary-path=/home/prow/go/src/k8s.io/kops/.build/dist/linux/amd64/kops \
711711
--test=kops \
@@ -732,7 +732,6 @@ presubmits:
732732
annotations:
733733
test.kops.k8s.io/cloud: aws
734734
test.kops.k8s.io/distro: al2023
735-
test.kops.k8s.io/extra_flags: --discovery-store=s3://k8s-kops-prow/discovery
736735
test.kops.k8s.io/k8s_version: stable
737736
test.kops.k8s.io/kops_channel: alpha
738737
test.kops.k8s.io/networking: calico

0 commit comments

Comments
 (0)