Skip to content
Open
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
2 changes: 1 addition & 1 deletion .github/workflows/custom_docker_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- docker-image: ./images/python-aws-bash
image-tags: ghcr.io/spack/python-aws-bash:0.0.2
- docker-image: ./images/snapshot-release-tags
image-tags: ghcr.io/spack/snapshot-release-tags:0.0.4
image-tags: ghcr.io/spack/snapshot-release-tags:0.0.5
- docker-image: ./images/cache-indexer
image-tags: ghcr.io/spack/cache-indexer:0.0.6
- docker-image: ./analytics
Expand Down
5 changes: 3 additions & 2 deletions images/snapshot-release-tags/snapshot_release_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
raise Exception("GITHUB_TOKEN environment is not set")

# Use the GitLab API to get the most recent successful develop pipeline.
gitlab_api_url = "https://gitlab.spack.io/api/v4/projects/2"
# "57" is the project ID for https://gitlab.spack.io/spack/spack-packages/
gitlab_api_url = "https://gitlab.spack.io/api/v4/projects/57"
pipeline_api_url = f"{gitlab_api_url}/pipelines?ref=develop&status=success"
request = urllib.request.Request(pipeline_api_url)
response = urllib.request.urlopen(request)
Expand All @@ -44,7 +45,7 @@
# Use the GitHub API to create a tag for this commit of develop.
github_token = os.environ.get('GITHUB_TOKEN')
py_github = Github(github_token)
py_gh_repo = py_github.get_repo("spack/spack", lazy=True)
py_gh_repo = py_github.get_repo("spack/spack-packages", lazy=True)
spackbot_author = InputGitAuthor("spackbot", "[email protected]")
print(f"Pushing tag {tag_name} for commit {sha}")

Expand Down
2 changes: 1 addition & 1 deletion k8s/production/custom/snapshot-release-tags/cron-jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
restartPolicy: Never
containers:
- name: snapshot-release-tags
image: ghcr.io/spack/snapshot-release-tags:0.0.4
image: ghcr.io/spack/snapshot-release-tags:0.0.5
imagePullPolicy: IfNotPresent
resources:
requests:
Expand Down
Loading