Skip to content
Snippets Groups Projects
Commit dde769f2 authored by Dmytro Zaporozhets (DZ)'s avatar Dmytro Zaporozhets (DZ) :palm_tree:
Browse files

Configure Container Scanning in `.gitlab-ci.yml`, creating this file if it does not already exist

parent bbb57f80
No related branches found
No related tags found
1 merge request!23Configure Container Scanning in `.gitlab-ci.yml`, creating this file if it does not already exist
Pipeline #828514629 passed with warnings
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment