Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nk20
Manage
Activity
Members
Labels
Plan
Issues
31
Issue boards
Milestones
Wiki
Code
Merge requests
5
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
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
BDE
nk20
Commits
31585a9c
Commit
31585a9c
authored
4 years ago
by
me5na7qbjqbrp
Browse files
Options
Downloads
Patches
Plain Diff
Revert to a simpler CI
parent
b5028b98
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!105
Better CI
Pipeline
#8584
failed with stages
Stage: test
Stage: quality-assurance
in 6 minutes and 17 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+25
-30
25 additions, 30 deletions
.gitlab-ci.yml
with
25 additions
and
30 deletions
.gitlab-ci.yml
+
25
−
30
View file @
31585a9c
stages
:
-
build_docker_image
-
test
-
quality-assurance
docker
:
stage
:
build_docker_image
image
:
name
:
gcr.io/kaniko-project/executor:debug
entrypoint
:
[
"
"
]
script
:
-
mkdir -p /kaniko/.docker
-
echo "{\"auths\":{\"https://index.docker.io/v1/\":{\"auth\":\"$CI_BUILD_TOKEN\"}}}" > /kaniko/.docker/config.json
-
/kaniko/executor --cache=true --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:latest --destination $CI_REGISTRY_IMAGE:debian
only
:
-
master
-
beta
cache
:
key
:
one-key-to-rule-them-all
paths
:
-
/cache/
# Debian Buster
py37-django22
:
stage
:
test
image
:
name
:
$CI_REGISTRY_IMAGE:debian
entrypoint
:
[
"
"
]
image
:
debian:buster-backports
before_script
:
-
apt-get update && apt-get install -y tox
-
>
apt-get update &&
apt-get install --no-install-recommends -t buster-backports -y
python3-django python3-django-crispy-forms
python3-django-extensions python3-django-filters python3-django-polymorphic
python3-djangorestframework python3-django-cas-server python3-psycopg2 python3-pil
python3-babel python3-lockfile python3-pip python3-phonenumbers
python3-bs4 python3-setuptools tox
texlive-latex-extra texlive-lang-french lmodern texlive-fonts-recommended
script
:
tox -e py37-django22
# Ubuntu 20.04
...
...
@@ -39,21 +27,28 @@ py38-django22:
-
ln -sf /usr/share/zoneinfo/Europe/Paris /etc/localtime && echo Europe/Paris > /etc/timezone
-
>
apt-get update &&
apt-get install -y python3-django python3-django-crispy-forms
apt-get install --no-install-recommends -t buster-backports -y
python3-django python3-django-crispy-forms
python3-django-extensions python3-django-filters python3-django-polymorphic
python3-djangorestframework python3-django-cas-server python3-psycopg2 python3-pil
python3-babel python3-lockfile python3-pip python3-phonenumbers
ipython3
gettext libjs-bootstrap4 fonts-font-awesome
tox
&&
rm -rf /var/lib/apt/lists/*
python3-babel python3-lockfile python3-pip python3-phonenumbers
python3-bs4 python3-setuptools
tox
texlive-latex-extra texlive-lang-french lmodern texlive-fonts-recommended
script
:
tox -e py38-django22
linters
:
stage
:
quality-assurance
image
:
name
:
$CI_REGISTRY_IMAGE:debian
entrypoint
:
[
"
"
]
image
:
debian:buster-backports
before_script
:
-
apt-get update && apt-get install -y tox
-
>
apt-get update &&
apt-get install --no-install-recommends -t buster-backports -y
python3-django python3-django-crispy-forms
python3-django-extensions python3-django-filters python3-django-polymorphic
python3-djangorestframework python3-django-cas-server python3-psycopg2 python3-pil
python3-babel python3-lockfile python3-pip python3-phonenumbers
python3-bs4 python3-setuptools tox
texlive-latex-extra texlive-lang-french lmodern texlive-fonts-recommended
script
:
tox -e linters
# Be nice to new contributors, but please use `tox`
...
...
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