Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
34835c79
Commit
34835c79
authored
Jun 01, 2021
by
dappelt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable untamper-my-lockfile ci job
parent
40312f01
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
26 deletions
+1
-26
.gitlab-ci.yml
.gitlab-ci.yml
+1
-0
.gitlab/ci/untamper-my-lockfile.yml
.gitlab/ci/untamper-my-lockfile.yml
+0
-26
No files found.
.gitlab-ci.yml
View file @
34835c79
...
...
@@ -107,3 +107,4 @@ variables:
include
:
-
local
:
.gitlab/ci/*.gitlab-ci.yml
-
remote
:
'
https://gitlab.com/gitlab-org/frontend/untamper-my-lockfile/-/raw/main/.gitlab-ci-template.yml'
.gitlab/ci/untamper-my-lockfile.yml
deleted
100644 → 0
View file @
40312f01
untamper-my-lockfile
:
image
:
registry.gitlab.com/gitlab-org/frontend/untamper-my-lockfile:main
stage
:
test
needs
:
[]
before_script
:
[]
after_script
:
[]
cache
:
{}
retry
:
1
script
:
-
untamper-my-lockfile --lockfile yarn.lock
rules
:
# Create a pipeline if the branch is named 'add-untamper-my-lockfile' in
# order to have an integration check added in the MR that introduces it
-
if
:
$CI_COMMIT_REF_NAME == "add-untamper-my-lockfile"
# Create a pipeline if there are changes in yarn.lock _and_ we are in a
# merge request _or_ branch pipeline.
#
# This ensures that the pipeline isn't run in scheduled jobs for example
#
# Also our best effort to support both branch and MR pipelines. In certain
# projects this might trigger _two_ pipelines. These projects can be fixed
# by adding proper workflow:rules
# https://docs.gitlab.com/ee/ci/yaml/#workflowrules
-
if
:
$CI_PIPELINE_SOURCE == "merge_request_event" || $CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH
changes
:
-
yarn.lock
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment