Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Knowledge Space WP Plugin
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
Service Desk
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
alg
Knowledge Space WP Plugin
Commits
f4cfc0d1
Commit
f4cfc0d1
authored
3 years ago
by
Matthias Konitzny
Browse files
Options
Downloads
Patches
Plain Diff
Release Job now should use the correct docker image.
parent
f6d4267d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#49587
failed
3 years ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+10
-1
10 additions, 1 deletion
.gitlab-ci.yml
with
10 additions
and
1 deletion
.gitlab-ci.yml
+
10
−
1
View file @
f4cfc0d1
...
@@ -16,6 +16,7 @@
...
@@ -16,6 +16,7 @@
stages
:
# List of stages for jobs, and their order of execution
stages
:
# List of stages for jobs, and their order of execution
-
test
-
test
-
build
-
build
-
release
image
:
node:latest
image
:
node:latest
...
@@ -38,6 +39,7 @@ build-job: # This job runs in the build stage, which runs first.
...
@@ -38,6 +39,7 @@ build-job: # This job runs in the build stage, which runs first.
stage
:
build
stage
:
build
script
:
script
:
-
npm run build
-
npm run build
-
echo "BUILD_JOB_ID=$CI_JOB_ID" >> build.env
artifacts
:
artifacts
:
paths
:
paths
:
-
release/knowledge-space.zip
-
release/knowledge-space.zip
...
@@ -46,6 +48,13 @@ build-job: # This job runs in the build stage, which runs first.
...
@@ -46,6 +48,13 @@ build-job: # This job runs in the build stage, which runs first.
rules
:
rules
:
-
if
:
$CI_COMMIT_TAG
-
if
:
$CI_COMMIT_TAG
release-job
:
stage
:
release
image
:
registry.gitlab.com/gitlab-org/release-cli:latest
dependencies
:
-
build
release
:
release
:
name
:
"
Release
$CI_COMMIT_TAG"
name
:
"
Release
$CI_COMMIT_TAG"
description
:
"
Automated
release
for
version
$CI_COMMIT_TAG"
description
:
"
Automated
release
for
version
$CI_COMMIT_TAG"
...
@@ -53,7 +62,7 @@ build-job: # This job runs in the build stage, which runs first.
...
@@ -53,7 +62,7 @@ build-job: # This job runs in the build stage, which runs first.
assets
:
assets
:
links
:
links
:
-
name
:
"
Plugin
Zip
Archive"
-
name
:
"
Plugin
Zip
Archive"
url
:
https://gitlab.ibr.cs.tu-bs.de/alg/knowledge-space-wp-plugin/-/jobs/$
CI
_JOB_ID/artifacts/file/release/knowledge-space.zip
url
:
https://gitlab.ibr.cs.tu-bs.de/alg/knowledge-space-wp-plugin/-/jobs/$
BUILD
_JOB_ID/artifacts/file/release/knowledge-space.zip
...
...
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