Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
config
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
Container 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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libs
config
Commits
c175e0b1
Commit
c175e0b1
authored
5 years ago
by
Sigmund, Dominik
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of
https://it-devops-01.br-edv.brnet.int/general/config
parents
257b98d9
87f254a7
No related branches found
No related tags found
1 merge request
!1
Master
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+8
-9
8 additions, 9 deletions
.gitlab-ci.yml
.npmignore
+1
-0
1 addition, 0 deletions
.npmignore
package.json
+3
-0
3 additions, 0 deletions
package.json
with
12 additions
and
9 deletions
.gitlab-ci.yml
+
8
−
9
View file @
c175e0b1
...
@@ -11,10 +11,8 @@ include:
...
@@ -11,10 +11,8 @@ include:
variables
:
variables
:
SONAR_PROJECT_KEY
:
config
SONAR_PROJECT_KEY
:
config
SONAR_TOKEN
:
11922a8e774494f51e1d2f0e695949e4073e7df8
SONAR_TOKEN
:
11922a8e774494f51e1d2f0e695949e4073e7df8
NPM_USERNAME
:
git
NPM_REGISTRY
:
https://it-devops-01.br-edv.brnet.int:4873
NPM_PASSWORD
:
git
NPM_TOKEN
:
ZMh1NzlklUTNNvt573Imgw==
NPM_EMAIL
:
git@git.de
NPM_REGISTRY
:
https://it-devops-01:4873
cache
:
cache
:
paths
:
paths
:
...
@@ -43,10 +41,11 @@ test:
...
@@ -43,10 +41,11 @@ test:
-
docs/test-report.html
-
docs/test-report.html
-
docs/coverage/lcov.info
-
docs/coverage/lcov.info
publish
to local npm
:
publish
:
stage
:
publish
stage
:
publish
before_script
:
-
npm install -g npm-cli-adduser
-
npm-cli-adduser --registry $NPM_REGISTRY --username $NPM_USERNAME --password $NPM_PASSWORD --email $NPM_EMAIL
script
:
script
:
-
npm publish --registry $NPM_REGISTRY
-
printenv NPM_TOKEN
\ No newline at end of file
-
npm config set strict-ssl
false
-
npm config set //it-devops-01.br-edv.brnet.int:4873/:_authToken ${NPM_TOKEN}
-
npm token list --registry $NPM_REGISTRY
-
npm publish --verbose --registry $NPM_REGISTRY
This diff is collapsed.
Click to expand it.
.npmignore
0 → 100644
+
1
−
0
View file @
c175e0b1
.gitlab-ci.yml
\ No newline at end of file
This diff is collapsed.
Click to expand it.
package.json
+
3
−
0
View file @
c175e0b1
...
@@ -31,5 +31,8 @@
...
@@ -31,5 +31,8 @@
"html"
"html"
],
],
"coverageDirectory"
:
"docs/coverage"
"coverageDirectory"
:
"docs/coverage"
},
"publishConfig"
:
{
"@br:registry"
:
"https://it-devops-01:4873"
}
}
}
}
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