Skip to content

Commit

Permalink
Add an argument for only merging
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Oct 8, 2024
1 parent aa5fbf0 commit 7181e7b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/fetch_nightly_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ def get_latest_commit(
"--extra-path",
help="path to a yaml file with spack packages",
)
parser.add_argument(
"--only-merge",
help="only merge the packages.yaml files",
action="store_true",
)
# parser.add_argument(
# "--spack",
# help="path to the spack.yaml in the nightly environment",
Expand Down Expand Up @@ -164,6 +169,8 @@ def get_latest_commit(
("raida", "ilcsoft/raida"),
("sio", "ilcsoft/sio"),
]:
if args.only_merge:
break
gitlab = False
if package == "opendatadetector":
gitlab = "https://gitlab.cern.ch/api/v4/projects/%s/repository/commits"
Expand Down

0 comments on commit 7181e7b

Please sign in to comment.