Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Dynamic Exposure
Global Dynamic Exposure
database-gdetiles
Commits
728f2e93
Commit
728f2e93
authored
Oct 25, 2021
by
Felix Delattre
Browse files
Added sql linter
parent
7e6872e0
Pipeline
#29441
passed with stage
in 1 minute and 4 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
728f2e93
image
:
debian:bookworm-slim
linter
:
before_script
:
-
apt-get update -y
-
apt-get install python3-pip -y -qq
-
pip install sqlfluff
script
:
-
sqlfluff lint --dialect postgres
test
:
before_script
:
-
apt-get update -y
-
apt-get install postgresql -y -qq
services
:
-
name
:
$CI_REGISTRY/dynamicexposure/server-components/containers/docker-obm-database:master
alias
:
postgres
...
...
migrations/00001_create-initial-table.sql
View file @
728f2e93
...
...
@@ -5,4 +5,4 @@ CREATE TABLE public.gde_tiles
);
ALTER
TABLE
public
.
gde_tiles
OWNER
to
postgres
;
OWNER
TO
postgres
;
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment