Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pipeline-scripts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
OCF
pipeline-scripts
Commits
e90f279f
Commit
e90f279f
authored
1 year ago
by
Andres Anaya Amariels
Browse files
Options
Downloads
Patches
Plain Diff
- when: always
parent
1ac7931f
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
capif/templates/cd-deploy-ocf.gitlab-ci.yml
+3
-0
3 additions, 0 deletions
capif/templates/cd-deploy-ocf.gitlab-ci.yml
capif/templates/ci_dev.gitlab-ci.yml
+12
-0
12 additions, 0 deletions
capif/templates/ci_dev.gitlab-ci.yml
with
15 additions
and
0 deletions
capif/templates/cd-deploy-ocf.gitlab-ci.yml
+
3
−
0
View file @
e90f279f
...
...
@@ -34,6 +34,9 @@ variables:
when
:
never
-
if
:
'
$CI_COMMIT_REF_NAME
==
"main"'
when
:
never
-
if
:
'
$CI_COMMIT_TAG
=~
/^v\d+\.\d+\.\d+-release$/'
when
:
never
-
when
:
always
tags
:
-
shell
...
...
This diff is collapsed.
Click to expand it.
capif/templates/ci_dev.gitlab-ci.yml
+
12
−
0
View file @
e90f279f
...
...
@@ -56,6 +56,9 @@ dev_secrets_in_repo:
when
:
never
-
if
:
'
$CI_COMMIT_REF_NAME
==
"main"'
when
:
never
-
if
:
'
$CI_COMMIT_TAG
=~
/^v\d+\.\d+\.\d+-release$/'
when
:
never
-
when
:
always
script
:
-
|
pip install trufflehog
...
...
@@ -72,6 +75,9 @@ dev_linting_code:
when
:
never
-
if
:
'
$CI_COMMIT_REF_NAME
==
"main"'
when
:
never
-
if
:
'
$CI_COMMIT_TAG
=~
/^v\d+\.\d+\.\d+-release$/'
when
:
never
-
when
:
always
script
:
-
|
echo "###ruff checks###"
...
...
@@ -87,6 +93,9 @@ dev_linting_docker:
when
:
never
-
if
:
'
$CI_COMMIT_REF_NAME
==
"main"'
when
:
never
-
if
:
'
$CI_COMMIT_TAG
=~
/^v\d+\.\d+\.\d+-release$/'
when
:
never
-
when
:
always
script
:
-
|
# Download hadolint binary
...
...
@@ -132,6 +141,9 @@ dev_build_and_push:
when
:
never
-
if
:
'
$CI_COMMIT_REF_NAME
==
"main"'
when
:
never
-
if
:
'
$CI_COMMIT_TAG
=~
/^v\d+\.\d+\.\d+-release$/'
when
:
never
-
when
:
always
needs
:
-
dev_linting_code
-
dev_linting_docker
...
...
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