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
f6981dd0
Commit
f6981dd0
authored
3 years ago
by
Lopez de Guereña Caballero, Jon
Browse files
Options
Downloads
Patches
Plain Diff
added npm readme
parent
6b4a9026
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
npm-packages/README.md
+41
-0
41 additions, 0 deletions
npm-packages/README.md
npm-packages/gitlab-ci.yml
+0
-20
0 additions, 20 deletions
npm-packages/gitlab-ci.yml
with
41 additions
and
20 deletions
npm-packages/README.md
0 → 100644
+
41
−
0
View file @
f6981dd0
# Include jobs from external YAML files
You can include the jobs in this repository's YAML files as follows:
```
yml
include
:
-
https://git.code.tecnalia.com/digicon-webxr-store/ci-files/-/raw/master/npm-packages/artifactory.yml
-
https://git.code.tecnalia.com/digicon-webxr-store/ci-files/-/raw/master/npm-packages/build.yml
-
https://git.code.tecnalia.com/digicon-webxr-store/ci-files/-/raw/master/npm-packages/pages.yml
```
## jobs
### build
Check if dependencies exists.
### artifactory
Publish the package to Artifactory.
### pages
Trys to run the build process, and creates a dist folder with the result. Allowing to display an static website.
## Example
An example of a valid .gitlab-ci.yml can be:
```
yml
include
:
-
https://git.code.tecnalia.com/digicon-webxr-store/ci-files/-/raw/master/npm-packages/build.yml
-
https://git.code.tecnalia.com/digicon-webxr-store/ci-files/-/raw/master/npm-packages/artifactory.yml
stages
:
-
build
-
deploy
```
This diff is collapsed.
Click to expand it.
npm-packages/gitlab-ci.yml
deleted
100644 → 0
+
0
−
20
View file @
6b4a9026
image
:
$ACR_URL/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
-
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
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