Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Critical Path Ontology
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
C-PathOntology
Critical Path Ontology
Commits
88492ec4
Commit
88492ec4
authored
2 years ago
by
ehartley
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml file - testing how to control which repo jobs run in.
parent
7578892a
No related branches found
Branches containing commit
Tags
v2022-09-02
Tags containing commit
No related merge requests found
Pipeline
#60
failed
2 years ago
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+8
-1
8 additions, 1 deletion
.gitlab-ci.yml
with
8 additions
and
1 deletion
.gitlab-ci.yml
+
8
−
1
View file @
88492ec4
...
...
@@ -7,6 +7,13 @@ stages:
-
upload
-
release
test
:
stage
:
test
script
:
-
echo "Project URL is ${CI_PROJECT_URL}"
rules
:
-
if
:
$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
pages
:
stage
:
deploy
image
:
python:3.8-buster
...
...
@@ -18,7 +25,7 @@ pages:
-
public
rules
:
# Do NOT run the pipeline in the gitlab.c-path.org repo (the source repo).
-
if
:
$CI_
PROJECT_URL == "https://gitlab.c-path.org/c-pathontology/critical-path-ontology/
"
-
if
:
$CI_
RUNNER_SHORT_TOKEN == "AxXzjE-S
"
when
:
never
# Run the pipeline in the gitlab.com mirror repo when a change is made to the main (default) branch.
-
if
:
$CI_PROJECT_URL == "https://gitlab.com/c-pathontology/critical-path-ontology/"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment