Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
clojure-web-application
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
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
Privacy statement
Keyboard shortcuts
?
What's new
6
Snippets
Groups
Projects
Show more breadcrumbs
Dmytro Zaporozhets (DZ)
clojure-web-application
Commits
dde769f2
Commit
dde769f2
authored
2 years ago
by
Dmytro Zaporozhets (DZ)
Browse files
Options
Downloads
Patches
Plain Diff
Configure Container Scanning in `.gitlab-ci.yml`, creating this file if it does not already exist
parent
bbb57f80
No related branches found
Branches containing commit
No related tags found
1 merge request
!23
Configure Container Scanning in `.gitlab-ci.yml`, creating this file if it does not already exist
Pipeline
#828514629
passed with warnings
2 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+22
-13
22 additions, 13 deletions
.gitlab-ci.yml
with
22 additions
and
13 deletions
.gitlab-ci.yml
+
22
−
13
View file @
dde769f2
image
:
clojure:latest
# You can override the included template(s) by including variable overrides
# SAST customization: https://docs.gitlab.com/ee/user/application_security/sast/#customizing-the-sast-settings
# Secret Detection customization: https://docs.gitlab.com/ee/user/application_security/secret_detection/#customizing-settings
# Dependency Scanning customization: https://docs.gitlab.com/ee/user/application_security/dependency_scanning/#customizing-the-dependency-scanning-settings
# Container Scanning customization: https://docs.gitlab.com/ee/user/application_security/container_scanning/#customizing-the-container-scanning-settings
# Note that environment variables can be set in several places
# See https://docs.gitlab.com/ee/ci/variables/#cicd-variable-precedence
# container_scanning:
# variables:
# DOCKER_IMAGE: ...
# DOCKER_USER: ...
# DOCKER_PASSWORD: ...
image
:
clojure:latest
variables
:
POSTGRES_DB
:
sample-test
POSTGRES_HOST_AUTH_METHOD
:
trust
DATABASE_URL
:
"
postgresql://postgres@postgres:5432/sample-test"
DATABASE_URL
:
postgresql://postgres@postgres:5432/sample-test
services
:
-
postgres:12
-
postgres:12
stages
:
-
test
-
test
test
:
stage
:
test
script
:
-
lein migratus migrate
-
lein test
-
lein migratus migrate
-
lein test
ancient
:
stage
:
test
script
:
-
lein ancient
-
lein ancient
allow_failure
:
true
kibit
:
stage
:
test
script
:
-
lein kibit
-
lein kibit
include
:
-
template
:
Jobs/Container-Scanning.gitlab-ci.yml
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