Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
33cc2d88
Commit
33cc2d88
authored
Aug 05, 2020
by
Douglas Barbosa Alexandre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Does not configure Postgres FDW for Geo specs on CI
Since Gitlab 13.2, Geo don't rely on FDW
parent
c982c074
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
16 deletions
+0
-16
.gitlab/ci/rails.gitlab-ci.yml
.gitlab/ci/rails.gitlab-ci.yml
+0
-1
scripts/prepare_postgres_fdw.sh
scripts/prepare_postgres_fdw.sh
+0
-15
No files found.
.gitlab/ci/rails.gitlab-ci.yml
View file @
33cc2d88
...
...
@@ -70,7 +70,6 @@
-
run_timed_command "scripts/gitaly-test-build"
-
run_timed_command "scripts/gitaly-test-spawn"
-
source scripts/rspec_helpers.sh
-
scripts/prepare_postgres_fdw.sh
-
rspec_paralellized_job "--tag ~quarantine --tag geo"
.rspec-ee-base-geo-pg11
:
...
...
scripts/prepare_postgres_fdw.sh
deleted
100755 → 0
View file @
c982c074
#!/usr/bin/env bash
psql
-h
postgres
-U
postgres gitlabhq_geo_test
<<
EOF
CREATE EXTENSION postgres_fdw;
CREATE SERVER gitlab_secondary FOREIGN DATA WRAPPER postgres_fdw OPTIONS (host 'localhost', dbname 'gitlabhq_test');
CREATE USER MAPPING FOR current_user SERVER gitlab_secondary OPTIONS (user 'postgres', password '');
CREATE SCHEMA gitlab_secondary;
IMPORT FOREIGN SCHEMA public FROM SERVER gitlab_secondary INTO gitlab_secondary;
GRANT USAGE ON FOREIGN SERVER gitlab_secondary TO current_user;
EOF
# Ensure the FDW setting is enabled
sed
-i
'/fdw:/d'
config/database_geo.yml
sed
-i
'/gitlabhq_geo_test/a\
\ \ fdw: true'
config/database_geo.yml
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment