Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Plagiarism Detector
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Inspiration
Plagiarism Detector
Commits
c88e94e6
Commit
c88e94e6
authored
6 months ago
by
satwikShresth
Browse files
Options
Downloads
Patches
Plain Diff
testing new configs
parent
b760fc81
No related branches found
No related tags found
No related merge requests found
Pipeline
#8583
failed
6 months ago
Stage: build
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+7
-1
7 additions, 1 deletion
.gitlab-ci.yml
with
7 additions
and
1 deletion
.gitlab-ci.yml
+
7
−
1
View file @
c88e94e6
...
...
@@ -6,10 +6,16 @@ variables:
PACKAGE_NAME
:
"
python-rust-uv-alpine"
PACKAGE_REGISTRY_URL
:
"
${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/${PACKAGE_NAME}/${PACKAGE_VERSION}"
BINARY_NAME
:
"
${PACKAGE_NAME}-${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA}"
UV_VERSION
:
0.5
PYTHON_VERSION
:
3.12
BASE_LAYER
:
bookworm-slim
# GitLab CI creates a separate mountpoint for the build directory,
# so we need to copy instead of using hard links.
UV_LINK_MODE
:
copy
build
:
stage
:
build
image
:
python:3.12-alpine
image
:
ghcr.io/astral-sh/uv:$UV_VERSION-python$PYTHON_VERSION-$BASE_LAYER
script
:
-
apk add --no-cache curl ca-certificates gcc g++ make musl-dev libffi-dev openssl-dev
-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
...
...
...
...
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
sign in
to comment