Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AKPlanning
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
KIF
AKPlanning
Commits
d6497765
Commit
d6497765
authored
1 year ago
by
Nadja Geisler
Browse files
Options
Downloads
Plain Diff
Merge branch 'fix-pipeline' into 'main'
Fix CI pipeline See merge request
!199
parents
aba6e533
dfc66c4d
No related branches found
Branches containing commit
No related tags found
1 merge request
!199
Fix CI pipeline
Pipeline
#199292
passed
1 year ago
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+15
-10
15 additions, 10 deletions
.gitlab-ci.yml
with
15 additions
and
10 deletions
.gitlab-ci.yml
+
15
−
10
View file @
d6497765
...
...
@@ -14,24 +14,27 @@ cache:
paths
:
-
~/.cache/pip/
before_script
:
-
python -V
# Print out python version for debugging
-
apt-get -qq update
-
apt-get -qq install -y python3-virtualenv python3 python3-dev python3-pip gettext default-mysql-client default-libmysqlclient-dev
-
./Utils/setup.sh --ci
-
mkdir -p public/badges public/lint
-
echo undefined > public/badges/$CI_JOB_NAME.score
-
source venv/bin/activate
-
pip install pylint-gitlab pylint-django
-
mysql --version
.before_script_template
:
before_script
:
-
python -V
# Print out python version for debugging
-
apt-get -qq update
-
apt-get -qq install -y python3-virtualenv python3 python3-dev python3-pip gettext default-mysql-client default-libmysqlclient-dev
-
./Utils/setup.sh --ci
-
mkdir -p public/badges public/lint
-
echo undefined > public/badges/$CI_JOB_NAME.score
-
source venv/bin/activate
-
pip install pylint-gitlab pylint-django
-
mysql --version
check
:
extends
:
.before_script_template
script
:
-
./Utils/check.sh --all
-
source venv/bin/activate
-
./manage.py makemigrations --dry-run --check
test
:
extends
:
.before_script_template
script
:
-
source venv/bin/activate
-
echo "GRANT ALL on *.* to '${MYSQL_USER}';"| mysql -u root --password="${MYSQL_ROOT_PASSWORD}" -h mysql
...
...
@@ -50,6 +53,7 @@ test:
junit
:
unit.xml
lint
:
extends
:
.before_script_template
stage
:
test
script
:
-
pylint --load-plugins pylint_django --django-settings-module=AKPlanning.settings_ci --rcfile pylintrc --exit-zero --output-format=text AK* | tee /tmp/pylint.txt
...
...
@@ -67,6 +71,7 @@ lint:
when
:
always
doc
:
extends
:
.before_script_template
stage
:
test
script
:
-
cd docs
...
...
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