mirror of
https://gitlab.cern.ch/wotsubo/PSBoardDataBase.git
synced 2025-06-08 05:55:42 +09:00
Update .gitlab-ci.yml file to run CompatHelper only on schedules
This commit is contained in:
parent
67eed492f0
commit
c09d04f326
1 changed files with 23 additions and 21 deletions
|
@ -41,24 +41,26 @@ pages:
|
||||||
- public
|
- public
|
||||||
only:
|
only:
|
||||||
- main
|
- main
|
||||||
# CompatHelper:
|
CompatHelper:
|
||||||
# image: julia:1.10 # Set to the Julia version you want to use
|
image: julia:1.10 # Set to the Julia version you want to use
|
||||||
# stage: test # You can place this in any stage that makes sense for your setup
|
stage: test # You can place this in any stage that makes sense for your setup
|
||||||
# before_script:
|
only:
|
||||||
# - apt-get update -qq && apt-get install -y git
|
- schedules
|
||||||
# - |
|
before_script:
|
||||||
# julia --color=yes -e "
|
- apt-get update -qq && apt-get install -y git
|
||||||
# import Pkg;
|
- |
|
||||||
# name = \"CompatHelper\";
|
julia --color=yes -e "
|
||||||
# uuid = \"aa819f21-2bde-4658-8897-bab36330d9b7\";
|
import Pkg;
|
||||||
# version = \"3\";
|
name = \"CompatHelper\";
|
||||||
# Pkg.add(; name, uuid, version)"
|
uuid = \"aa819f21-2bde-4658-8897-bab36330d9b7\";
|
||||||
# script:
|
version = \"3\";
|
||||||
# - |
|
Pkg.add(; name, uuid, version)"
|
||||||
# julia --color=yes -e '
|
script:
|
||||||
# import CompatHelper;
|
- |
|
||||||
# config = CompatHelper.GitLabCI(;
|
julia --color=yes -e '
|
||||||
# api_hostname="https://gitlab.cern.ch/api/v4",
|
import CompatHelper;
|
||||||
# clone_hostname="gitlab.cern.ch",
|
config = CompatHelper.GitLabCI(;
|
||||||
# )
|
api_hostname="https://gitlab.cern.ch/api/v4",
|
||||||
# CompatHelper.main(ENV, config)'
|
clone_hostname="gitlab.cern.ch",
|
||||||
|
)
|
||||||
|
CompatHelper.main(ENV, config)'
|
||||||
|
|
Loading…
Add table
Reference in a new issue