Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
funkwhale
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
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
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
Arthur Brugière
funkwhale
Commits
6a7c806d
Verified
Commit
6a7c806d
authored
3 years ago
by
Georg Krause
Browse files
Options
Downloads
Patches
Plain Diff
Disable building of branch specific image for api tests
parent
3fe020f1
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
+2
-16
2 additions, 16 deletions
.gitlab-ci.yml
with
2 additions
and
16 deletions
.gitlab-ci.yml
+
2
−
16
View file @
6a7c806d
...
@@ -141,7 +141,7 @@ test_api:
...
@@ -141,7 +141,7 @@ test_api:
-
postgres:11
-
postgres:11
-
redis:5
-
redis:5
stage
:
test
stage
:
test
image
:
$CI_REGISTRY
_IMAGE:$CI_COMMIT_REF_NAME
image
:
$CI_REGISTRY
/funkwhale/backend-test-docker:latest
cache
:
cache
:
key
:
"
$CI_PROJECT_ID__pip_cache"
key
:
"
$CI_PROJECT_ID__pip_cache"
paths
:
paths
:
...
@@ -151,11 +151,10 @@ test_api:
...
@@ -151,11 +151,10 @@ test_api:
FUNKWHALE_URL
:
"
https://funkwhale.ci"
FUNKWHALE_URL
:
"
https://funkwhale.ci"
DJANGO_SETTINGS_MODULE
:
config.settings.local
DJANGO_SETTINGS_MODULE
:
config.settings.local
POSTGRES_HOST_AUTH_METHOD
:
trust
POSTGRES_HOST_AUTH_METHOD
:
trust
CACHE_URL
:
"
redis://redis:6379/0"
only
:
only
:
-
branches
-
branches
before_script
:
before_script
:
-
apk add make git gcc python3-dev musl-dev python3-dev openssl-dev cargo
-
apk add postgresql-dev py3-psycopg2 libldap libffi-dev make zlib-dev jpeg-dev openldap-dev
-
cd api
-
cd api
-
pip3 install -r requirements/base.txt
-
pip3 install -r requirements/base.txt
-
pip3 install -r requirements/local.txt
-
pip3 install -r requirements/local.txt
...
@@ -220,19 +219,6 @@ build_front:
...
@@ -220,19 +219,6 @@ build_front:
tags
:
tags
:
-
docker
-
docker
build_backend
:
stage
:
build
image
:
bash
before_script
:
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
script
:
-
docker system prune -af
-
cd api
-
docker build -t $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME .
-
docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME
tags
:
-
docker-build
pages
:
pages
:
stage
:
test
stage
:
test
image
:
python:3.6
image
:
python:3.6
...
...
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