Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
anthologia-site
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
ecrinum
anthologia
anthologia-site
Merge requests
!156
Fix : CI avec lancement des tests unitaires
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fix : CI avec lancement des tests unitaires
bugfix/CI
into
preprod
Overview
1
Commits
27
Pipelines
0
Changes
1
Merged
Sarah Rubio
requested to merge
bugfix/CI
into
preprod
1 month ago
Overview
1
Commits
27
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Viewing commit
9ce6eb30
Prev
Next
Show latest version
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Verified
9ce6eb30
CI: postgres is required
· 9ce6eb30
David Larlet
authored
1 month ago
.gitlab-ci.yml
+
1
−
1
Options
@@ -36,7 +36,7 @@ install_environment:
-
mkdir -p "${APT_STATE_LISTS}/partial"
-
mkdir -p "${APT_CACHE_ARCHIVES}/partial"
-
apt update -qy
-
apt install -y apt-utils curl libgdal-dev
-
apt install -y apt-utils curl
postgresql postgresql-contrib
libgdal-dev
-
export PGPASSWORD=$POSTGRES_PASSWORD
-
psql --username $POSTGRES_USER --host $HOST -d $POSTGRES_DB -c "ALTER ROLE anthology_django SET client_encoding TO 'utf8';"
-
psql --username $POSTGRES_USER --host $HOST -d $POSTGRES_DB -c "ALTER ROLE anthology_django SET default_transaction_isolation TO 'read committed';"
Loading