diff --git a/.github/workflows/custom_docker_builds.yml b/.github/workflows/custom_docker_builds.yml index 627a2d2d4..89e995f48 100644 --- a/.github/workflows/custom_docker_builds.yml +++ b/.github/workflows/custom_docker_builds.yml @@ -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 diff --git a/images/snapshot-release-tags/snapshot_release_tags.py b/images/snapshot-release-tags/snapshot_release_tags.py index 5ed695482..d3906072f 100644 --- a/images/snapshot-release-tags/snapshot_release_tags.py +++ b/images/snapshot-release-tags/snapshot_release_tags.py @@ -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) @@ -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", "noreply@spack.io") print(f"Pushing tag {tag_name} for commit {sha}") diff --git a/k8s/production/custom/snapshot-release-tags/cron-jobs.yaml b/k8s/production/custom/snapshot-release-tags/cron-jobs.yaml index deded8bab..a4a50508f 100644 --- a/k8s/production/custom/snapshot-release-tags/cron-jobs.yaml +++ b/k8s/production/custom/snapshot-release-tags/cron-jobs.yaml @@ -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: