Skip to content
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

infra/gcp: mv k8s-releng-prod to its own folder #2349

Merged
merged 1 commit into from
Jul 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions infra/gcp/ensure-releng.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,21 @@ function usage() {
echo > /dev/stderr
}

# NB: Please keep this sorted.
PROJECTS=(
k8s-releng-prod
)
mapfile -t PROJECTS < <(k8s_infra_projects "releng")
readonly PROJECTS

if [ $# = 0 ]; then
# default to all release projects
set -- "${PROJECTS[@]}"
fi

for PROJECT; do

if ! k8s_infra_project "releng" "${PROJECT}" >/dev/null; then
color 1 "Skipping unrecognized release project name: ${PROJECT}"
continue
fi

color 3 "Configuring: ${PROJECT}"

# Make the project, if needed
Expand Down
3 changes: 3 additions & 0 deletions infra/gcp/infra.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,9 @@ infra:
projects:
k8s-release:
k8s-release-test-prod: # TODO: should this be prod or release?:

releng:
projects:
k8s-releng-prod:
managed_by: infra/gcp/ensure-releng-project.sh

Expand Down