Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Ci Files
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
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
digicon-webxr-store
Ci Files
Commits
5476c9bc
Commit
5476c9bc
authored
4 years ago
by
Lopez de Guereña Caballero, Jon
Browse files
Options
Downloads
Patches
Plain Diff
added npm files
parent
d18f31a5
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+11
-1
11 additions, 1 deletion
README.md
npm-packages/gitlab-ci.yml
+21
-0
21 additions, 0 deletions
npm-packages/gitlab-ci.yml
with
32 additions
and
1 deletion
README.md
+
11
−
1
View file @
5476c9bc
#
Ci F
iles
#
ci-f
iles
CI files repository
npm packages:
create gitlab-ci.yml with:
```
yaml
-
include
:
-
remote
:
'
https://gitlab.com/example-project/-/raw/master/.gitlab-ci.yml'
```
\ No newline at end of file
This diff is collapsed.
Click to expand it.
npm-packages/gitlab-ci.yml
0 → 100644
+
21
−
0
View file @
5476c9bc
image
:
node:12
before_script
:
-
npm -g config set user root
-
npm install -g jfrog-cli-go
cache
:
paths
:
-
node_modules/
job
:
tags
:
-
docker
script
:
-
jfrog rt c import $ARTIFACTORY_CI_CONFIGURATION
-
jfrog rt use TRIArtifact
-
jfrog rt ping
-
jfrog rt npm-install --build-name=$CI_PROJECT_NAME --build-number=$CI_JOB_ID
-
npm run test
-
jfrog rt npm-publish --build-name=$CI_PROJECT_NAME --build-number=$CI_JOB_ID
-
jfrog rt bce $CI_PROJECT_NAME $CI_JOB_ID
-
jfrog rt bp $CI_PROJECT_NAME $CI_JOB_ID
only
:
-
tags
\ No newline at end of file
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