Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
steering
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
Container Registry
Model registry
Operate
Environments
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
AURA
steering
Commits
3db1ed61
Verified
Commit
3db1ed61
authored
11 months ago
by
Ernesto Rico Schmidt
Browse files
Options
Downloads
Patches
Plain Diff
ci: use python:3.11-slim image
parent
5008c7d4
No related branches found
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
+8
-6
8 additions, 6 deletions
.gitlab-ci.yml
with
8 additions
and
6 deletions
.gitlab-ci.yml
+
8
−
6
View file @
3db1ed61
...
@@ -18,6 +18,7 @@ build-openapi-scheme:
...
@@ -18,6 +18,7 @@ build-openapi-scheme:
variables
:
variables
:
OPENAPI_JSON
:
./public/api.json
OPENAPI_JSON
:
./public/api.json
before_script
:
before_script
:
# we do this, because YAML anchors are not supported when executing locally
-
apt-get update
-
apt-get update
-
apt-get install -y gcc libldap2-dev libsasl2-dev libmagic-dev
-
apt-get install -y gcc libldap2-dev libsasl2-dev libmagic-dev
-
pip install --upgrade pip
-
pip install --upgrade pip
...
@@ -33,13 +34,14 @@ build-openapi-scheme:
...
@@ -33,13 +34,14 @@ build-openapi-scheme:
run_test_cases
:
run_test_cases
:
stage
:
test
stage
:
test
image
:
python:3.11
image
:
python:3.11
-slim
before_script
:
before_script
:
-
apt-get -qq update
# we do this, because YAML anchors are not supported when executing locally
-
apt-get -y install curl pip libsasl2-dev libldap2-dev libssl-dev
-
apt-get -qq update
-
python3 -m pip install --upgrade pip
-
apt-get install -y gcc libldap2-dev libsasl2-dev libmagic-dev
-
pip install poetry
-
python3 -m pip install --upgrade pip
-
poetry install --no-interaction
-
python3 -m pip install poetry
-
poetry install --no-interaction
script
:
script
:
-
mkdir logs
-
mkdir logs
-
make coverage
-
make coverage
...
...
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