Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Qt Design Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Jira
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
Design Studio
QML Viewer Projects
Qt Design Viewer
Commits
1fe04626
Commit
1fe04626
authored
1 year ago
by
Burak Hançerli
Browse files
Options
Downloads
Patches
Plain Diff
QDS-11027
Move prod deployment to after release creation
parent
5b8dce6b
No related branches found
No related tags found
1 merge request
!6
QDS-11027 Move prod deployment to after release creation
Pipeline
#63367
passed
1 year ago
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
cicd/gitlab-ci.yml
+0
-1
0 additions, 1 deletion
cicd/gitlab-ci.yml
cicd/stages/build.yml
+0
-32
0 additions, 32 deletions
cicd/stages/build.yml
cicd/stages/trigger.yml
+34
-0
34 additions, 0 deletions
cicd/stages/trigger.yml
with
34 additions
and
33 deletions
cicd/gitlab-ci.yml
+
0
−
1
View file @
1fe04626
...
...
@@ -14,7 +14,6 @@ workflow:
stages
:
-
build
-
trigger
-
release
include
:
...
...
This diff is collapsed.
Click to expand it.
cicd/stages/build.yml
+
0
−
32
View file @
1fe04626
...
...
@@ -74,35 +74,3 @@ build-wasm-multiarch:
-
cmake --install ${QDS_BUILD_PATH}
-
echo "PREVIOUS_JOB_ID=${CI_JOB_ID}" >> build.env
-
echo "JOB_TARGET_ARCH=${QDS_CI_JOB_TARGET_ARCH}" >> build.env
.trigger-common
:
stage
:
trigger
variables
:
# these variables are passed to the downstream pipeline
QDS_CI_PARENT_PIPELINE_ID
:
${CI_PIPELINE_ID}
QDS_CI_ARTIFACT_JOB_ID
:
${PREVIOUS_JOB_ID}
QDS_CI_PARENT_PROJECT_ID
:
${CI_PROJECT_ID}
QDS_CI_PARENT_PIPELINE_ARCH
:
${JOB_TARGET_ARCH}
needs
:
-
job
:
build-wasm-multiarch
artifacts
:
true
optional
:
true
trigger
:
project
:
design-studio/design-viewer/design-viewer-web-service
branch
:
master
strategy
:
depend
forward
:
yaml_variables
:
true
pipeline_variables
:
false
trigger-test-deployment
:
extends
:
.trigger-common
rules
:
-
if
:
$CI_COMMIT_TAG ==
null
trigger-prod-deployment
:
extends
:
.trigger-common
rules
:
-
if
:
$CI_COMMIT_TAG
variables
:
QDS_CI_PARENT_PIPELINE_RELEASE_TAG
:
$CI_COMMIT_TAG
This diff is collapsed.
Click to expand it.
cicd/stages/trigger.yml
0 → 100644
+
34
−
0
View file @
1fe04626
# these are trigger jobs for the downstream pipeline in Design Viewer Web Service project
.trigger-common
:
variables
:
# these variables are passed to the downstream pipeline
QDS_CI_PARENT_PIPELINE_ID
:
${CI_PIPELINE_ID}
QDS_CI_ARTIFACT_JOB_ID
:
${PREVIOUS_JOB_ID}
QDS_CI_PARENT_PROJECT_ID
:
${CI_PROJECT_ID}
QDS_CI_PARENT_PIPELINE_ARCH
:
${JOB_TARGET_ARCH}
needs
:
-
job
:
build-wasm-multiarch
artifacts
:
true
optional
:
true
trigger
:
project
:
design-studio/design-viewer/design-viewer-web-service
branch
:
master
strategy
:
depend
forward
:
yaml_variables
:
true
pipeline_variables
:
false
trigger-test-deployment
:
extends
:
.trigger-common
stage
:
build
rules
:
-
if
:
$CI_COMMIT_TAG ==
null
trigger-prod-deployment
:
extends
:
.trigger-common
stage
:
release
rules
:
-
if
:
$CI_COMMIT_TAG
needs
:
-
job
:
create-release
variables
:
QDS_CI_PARENT_PIPELINE_RELEASE_TAG
:
$CI_COMMIT_TAG
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