Skip to content

Set up reproducible staging gitlab - #1434

Draft
jjnesbitt wants to merge 1 commit into
mainfrom
staging-gitlab-setup
Draft

Set up reproducible staging gitlab#1434
jjnesbitt wants to merge 1 commit into
mainfrom
staging-gitlab-setup

Conversation

@jjnesbitt

Copy link
Copy Markdown
Collaborator

No description provided.

@jjnesbitt
jjnesbitt force-pushed the staging-gitlab-setup branch from 6305f6e to 9cc3462 Compare August 13, 2026 17:30

@mvandenburgh mvandenburgh left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some suggestions, though I don't think any are necessarily blocking for merging this - as long as these are accurately reflecting the state of staging, it does what we need it to for recreating the staging cluster.
Plus, I'd like to revisit this entire configuration after we recreate staging, to see if there's opportunities to consolidate these resouces into the spack_gitlab module for cleaner reuse between production and staging.

Comment on lines +43 to +47

provider "gitlab" {
base_url = "https://gitlab.staging.spack.io"
token = var.gitlab_token
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this needed? It wasn't there before, and it production doesn't have it either.

PR_MIRROR_FETCH_DOMAIN = "s3://spack-binaries-prs-staging"
PR_MIRROR_PUSH_DOMAIN = "s3://spack-binaries-prs-staging"
PROTECTED_MIRROR_FETCH_DOMAIN = "s3://spack-binaries-staging"
PROTECTED_MIRROR_PUSH_DOMAIN = "s3://spack-binaries-staging"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could add these buckets to https://github.com/spack/spack-infrastructure/blob/main/terraform/modules/spack_aws_k8s/outputs.tf, and then reference them using variables instead of hardcoding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants