Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
database-gdetiles
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Global Dynamic Exposure
Libraries
database-gdetiles
Commits
728f2e93
Commit
728f2e93
authored
3 years ago
by
Felix Delattre
Browse files
Options
Downloads
Patches
Plain Diff
Added sql linter
parent
7e6872e0
Branches
Branches containing commit
Tags
v0.9.24
Tags containing commit
1 merge request
!5
Add sql linter
Pipeline
#29441
passed
3 years ago
Stage: test
Changes
2
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+11
-0
11 additions, 0 deletions
.gitlab-ci.yml
migrations/00001_create-initial-table.sql
+1
-1
1 addition, 1 deletion
migrations/00001_create-initial-table.sql
with
12 additions
and
1 deletion
.gitlab-ci.yml
+
11
−
0
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
...
...
This diff is collapsed.
Click to expand it.
migrations/00001_create-initial-table.sql
+
1
−
1
View file @
728f2e93
...
...
@@ -5,4 +5,4 @@ CREATE TABLE public.gde_tiles
);
ALTER
TABLE
public
.
gde_tiles
OWNER
to
postgres
;
OWNER
TO
postgres
;
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