Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
Buildbox-Windows
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
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
CGG-public
Containers
Buildbox-Windows
Commits
67550249
Commit
67550249
authored
2 months ago
by
Martin Heistermann
Browse files
Options
Downloads
Patches
Plain Diff
ci
parent
08dee7fa
Branches
Branches containing commit
Tags
v0.0.3
No related merge requests found
Pipeline
#9082
failed
2 months ago
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+1
-50
1 addition, 50 deletions
.gitlab-ci.yml
with
1 addition
and
50 deletions
.gitlab-ci.yml
+
1
−
50
View file @
67550249
stages
:
-
build-container
-
component
-
test
-
release
include
:
# include the component located in the current project from the current SHA
-
component
:
$CI_SERVER_FQDN/$CI_PROJECT_PATH/vs22-cmake@$CI_COMMIT_SHA
inputs
:
stage
:
component
tags
:
-
cgg
-
win22
-
docker-windows
.template-docker-windows
:
.template-docker-windows
:
tags
:
tags
:
-
cgg
-
cgg
...
@@ -58,6 +42,7 @@ include:
...
@@ -58,6 +42,7 @@ include:
-
docker push "${TAG}"
-
docker push "${TAG}"
-
docker tag "${TAG}" "${TAG_LATEST}"
-
docker tag "${TAG}" "${TAG_LATEST}"
-
docker push "${TAG_LATEST}"
-
docker push "${TAG_LATEST}"
# TODO
:
create container tags for git tags automatically
after_script
:
after_script
:
# Workaround for https://gitlab.com/gitlab-org/gitlab-foss/-/issues/40925
# Workaround for https://gitlab.com/gitlab-org/gitlab-foss/-/issues/40925
...
@@ -75,37 +60,3 @@ x64-vs2022:
...
@@ -75,37 +60,3 @@ x64-vs2022:
# TOOLSET: "v142" # 142: VS 2019
# TOOLSET: "v142" # 142: VS 2019
# TOOLSET: "v143" # 143: VS 2022
# TOOLSET: "v143" # 143: VS 2022
ensure-job-added
:
tags
:
-
cgg
-
docker-docker
-
linux
stage
:
test
image
:
badouralix/curl-jq
script
:
-
|
route="${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/pipelines/${CI_PIPELINE_ID}/jobs"
echo "$route"
count=`curl --silent "$route" | jq 'map(select(.name | contains("vs22-x64"))) | length'`
if [ "$count" != "1" ]; then
curl --silent "$route" | jq '.'
exit 1; else
echo "Component Job present"
fi
# If the pipeline is for a new tag with a semantic version, and all previous jobs succeed,
# create the release.
create-release
:
tags
:
-
cgg
-
docker-docker
-
linux
stage
:
release
image
:
registry.gitlab.com/gitlab-org/release-cli:latest
script
:
echo "Creating release $CI_COMMIT_TAG"
rules
:
-
if
:
$CI_COMMIT_TAG
release
:
tag_name
:
$CI_COMMIT_TAG
description
:
"
Release
$CI_COMMIT_TAG
of
components
repository
$CI_PROJECT_PATH"
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