Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
workerbee
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
workerbee
Commits
2062c144
Verified
Commit
2062c144
authored
1 month ago
by
Mateusz Tyszczak
Browse files
Options
Downloads
Patches
Plain Diff
Update CI to run only one wiki-related job
parent
ac7d40e7
No related branches found
No related tags found
No related merge requests found
Pipeline
#116164
failed
1 month ago
Stage: .pre
Stage: build
Stage: test
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+10
-23
10 additions, 23 deletions
.gitlab-ci.yml
npm-common-config
+1
-1
1 addition, 1 deletion
npm-common-config
with
11 additions
and
24 deletions
.gitlab-ci.yml
+
10
−
23
View file @
2062c144
...
...
@@ -11,7 +11,7 @@ variables:
include
:
-
project
:
'
hive/common-ci-configuration'
ref
:
fae6329387a55aee40c3760a9af95a7705644bf0
ref
:
b38114e281ccb5ad68a7f08461d4b735e6726e76
file
:
-
'
/templates/npm_projects.gitlab-ci.yml'
...
...
@@ -73,25 +73,9 @@ test:
push_to_wiki
:
extends
:
.npm_push_doc_template
stage
:
deploy
variables
:
WIKI_PUSH_TOKEN
:
"
$WIKI_PUSH_TOKEN"
DIST_DIR
:
"
$CI_PROJECT_DIR/dist"
needs
:
-
job
:
generate_docs
artifacts
:
true
supplement_documentation_url
:
extends
:
.npm_process_built_package_tarball
stage
:
deploy
needs
:
-
job
:
build
artifacts
:
true
-
job
:
push_to_wiki
artifacts
:
true
variables
:
PACKAGE_TGZ_PATH
:
"
${BUILT_PACKAGE_PATH}"
WIKI_PUSH_TOKEN
:
"
$WIKI_PUSH_TOKEN"
DIST_DIR
:
"
$CI_PROJECT_DIR/dist"
script
:
...
...
@@ -105,6 +89,12 @@ supplement_documentation_url:
BUILT_PACKAGE_NAME=$(jq -r .[].filename "${DIST_DIR}/built_package_info.json")
echo BUILT_PACKAGE_PATH="${DIST_DIR}/${BUILT_PACKAGE_NAME}" > built_package_info.env
needs
:
-
job
:
build
artifacts
:
true
-
job
:
generate_docs
artifacts
:
true
artifacts
:
reports
:
dotenv
:
...
...
@@ -113,9 +103,6 @@ supplement_documentation_url:
paths
:
-
"
${DIST_DIR}/*.tgz"
# Built package
when
:
always
expire_in
:
1 week
deploy_dev_package
:
stage
:
deploy
extends
:
.npm_deploy_package_template
...
...
@@ -125,7 +112,7 @@ deploy_dev_package:
needs
:
-
job
:
lint
-
job
:
test
-
job
:
supplement_documentation_url
-
job
:
push_to_wiki
artifacts
:
true
deploy_production_public_npm
:
...
...
@@ -142,5 +129,5 @@ deploy_production_public_npm:
needs
:
-
job
:
lint
-
job
:
test
-
job
:
supplement_documentation_url
-
job
:
push_to_wiki
artifacts
:
true
This diff is collapsed.
Click to expand it.
npm-common-config
@
b38114e2
Compare
809760aa
...
b38114e2
Subproject commit
809760aa90870
7f
8
08
b3d49a916e8c7260672cf
6
Subproject commit
b38114e281ccb5ad68a
7f08
461d4b735e6726e7
6
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