Skip to content

Commit 036c7e5

Browse files
Run snapshots on packages repo
1 parent e6cd957 commit 036c7e5

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed
Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,4 @@
1-
certifi==2023.5.7
2-
cffi==1.15.1
3-
charset-normalizer==3.1.0
4-
cryptography==40.0.2
5-
Deprecated==1.2.13
6-
idna==3.4
7-
pycparser==2.21
81
PyGithub==1.58.2
9-
PyJWT==2.7.0
10-
PyNaCl==1.5.0
112
requests==2.30.0
123
sentry-sdk
134
urllib3==2.0.2
14-
wrapt==1.15.0

images/snapshot-release-tags/snapshot_release_tags.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
raise Exception("GITHUB_TOKEN environment is not set")
2323

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

0 commit comments

Comments
 (0)