Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CICD configuration
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor 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
coder
CICD configuration
Commits
11761410
Verified
Commit
11761410
authored
6 months ago
by
Olivier Benz
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml
parent
0aca59a8
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+7
-6
7 additions, 6 deletions
.gitlab-ci.yml
with
7 additions
and
6 deletions
.gitlab-ci.yml
+
7
−
6
View file @
11761410
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
--userns host
--userns host
--privileged
--privileged
tonistiigi/binfmt
tonistiigi/binfmt
--install
${ARCH}
--install
all
.pre
:
.pre
:
image
:
quay.io/curl/curl:latest
image
:
quay.io/curl/curl:latest
...
@@ -23,6 +23,7 @@
...
@@ -23,6 +23,7 @@
BUILDX_NO_DEFAULT_ATTESTATIONS
:
"
true"
BUILDX_NO_DEFAULT_ATTESTATIONS
:
"
true"
before_script
:
before_script
:
-
*before-script-build
-
*before-script-build
retry
:
1
.release
:
.release
:
image
:
registry.gitlab.com/gitlab-org/release-cli:latest
image
:
registry.gitlab.com/gitlab-org/release-cli:latest
...
@@ -67,7 +68,7 @@ build:version-linux-arch:
...
@@ -67,7 +68,7 @@ build:version-linux-arch:
--platform linux/${ARCH}
--platform linux/${ARCH}
-v /tmp:/tmp
-v /tmp:/tmp
-e VERSION=${CI_COMMIT_TAG#v}
-e VERSION=${CI_COMMIT_TAG#v}
glcr.b-data.ch/coder/code-server-builder:${CI_COMMIT_TAG#v}
-linux-${ARCH}
glcr.b-data.ch/coder/code-server-builder:${CI_COMMIT_TAG#v}
-
>
-
>
docker run
docker run
-v /tmp:/tmp
-v /tmp:/tmp
...
@@ -104,10 +105,10 @@ release:version:
...
@@ -104,10 +105,10 @@ release:version:
-
job
:
build:version-linux-arch
-
job
:
build:version-linux-arch
artifacts
:
true
artifacts
:
true
script
:
script
:
-
echo "running
linux/$ARCH
release for $CI_COMMIT_TAG"
-
echo "running release for $CI_COMMIT_TAG"
release
:
release
:
name
:
"
$CI_COMMIT_TAG
(linux/${ARCH})
"
name
:
"
$CI_COMMIT_TAG"
description
:
"
Unofficial
and
untested
build"
description
:
"
Unofficial
and
untested
build
s
"
tag_name
:
"
$CI_COMMIT_TAG"
tag_name
:
"
$CI_COMMIT_TAG"
ref
:
"
$CI_COMMIT_SHA"
ref
:
"
$CI_COMMIT_SHA"
assets
:
assets
:
...
@@ -119,4 +120,4 @@ release:version:
...
@@ -119,4 +120,4 @@ release:version:
-
name
:
"
code-server_${TAG}_${ARCH}.deb"
-
name
:
"
code-server_${TAG}_${ARCH}.deb"
url
:
"
${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/${CI_PROJECT_NAME}/${TAG}/code-server_${TAG}_${ARCH}.deb"
url
:
"
${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/${CI_PROJECT_NAME}/${TAG}/code-server_${TAG}_${ARCH}.deb"
rules
:
rules
:
-
if
:
$CI_COMMIT_TAG =~ /^v([[:digit:]]+\.)?([[:digit:]]+\.)?([[:digit:]]+)$/ && $CI_PIPELINE_TRIGGERED
-
if
:
$CI_COMMIT_TAG =~ /^v([[:digit:]]+\.)?([[:digit:]]+\.)?([[:digit:]]+)$/ && $CI_PIPELINE_TRIGGERED
&& $ARCH == "riscv64"
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