Skip to content
Snippets Groups Projects
Commit e2e95ca0 authored by Raul Barreras's avatar Raul Barreras
Browse files

Update .gitlab-ci.yml, .gitlab/ci/verify.yml, .gitlab/ci/test.yml,...

Update .gitlab-ci.yml, .gitlab/ci/verify.yml, .gitlab/ci/test.yml, .gitlab/ci/publish.yml, .gitlab/ci/build.yml files
parent 0669418b
No related branches found
No related tags found
1 merge request!33Resolve "Integrate dependency-check container with Sonarqube"
......@@ -9,58 +9,8 @@ stages:
- security
include:
- local: .gitlab/ci/verify.yml
- local: .gitlab/ci/build.yml
- local: .gitlab/ci/test.yml
- local: .gitlab/ci/test.dependency_check.yml
.Check Makefile:
stage: verify
tags:
- linux, dockerd
script:
- docker run --rm -v "${PWD}:/work" -w /work mandrean/checkmake ./Makefile
.Lint and Validate dockerfiles:
stage: verify
tags:
- linux, dockerd
script:
- make test
.Make All Images:
stage: build
image: projectatomic/dockerfile-lint
tags:
- linux, dockerd
script:
- make
.Test Sonar Scanner:
stage: test
tags:
- dockerd
script:
- docker run --rm its-registry.unl.edu/unl-its/docker-ci/static-code-analysis sonar-scanner -v
- docker run --rm -v "${PWD}:/work" -w /work its-registry.unl.edu/unl-its/docker-ci/detect-secrets -s
.Test PHP Lint:
stage: test
tags:
- linux, dockerd
script:
- t/php-lint/tests.sh
.Push to Container Registry:
after_script:
- rm -f /var/lib/gitlab-runner/.docker/config.json
stage: publish
tags:
- linux, dockerd
script:
- make publish
.Scan with Tenable:
stage: security
tags:
- linux, dockerd
script:
- make security
- local: .gitlab/ci/publish.yml
Make All Images:
stage: build
image: projectatomic/dockerfile-lint
tags:
- linux, dockerd
script:
- make
Push to Container Registry:
after_script:
- rm -f /var/lib/gitlab-runner/.docker/config.json
stage: publish
tags:
- linux, dockerd
script:
- make publish
Test Container Versions:
stage: test
tags:
- dockerd
script:
- docker run --rm its-registry.unl.edu/unl-its/docker-ci/static-code-analysis sonar-scanner -v
- docker run --rm -v "${PWD}:/work" -w /work its-registry.unl.edu/unl-its/docker-ci/detect-secrets -s
- docker run --rm its-registry.unl.edu/unl-its/docker-ci/dependency-check dependency-check -v
Test PHP Lint:
stage: test
tags:
- linux, dockerd
script:
- t/php-lint/tests.sh
Check Makefile:
stage: verify
tags:
- linux, dockerd
script:
- docker run --rm -v "${PWD}:/work" -w /work mandrean/checkmake ./Makefile
Lint and Validate dockerfiles:
stage: verify
tags:
- linux, dockerd
script:
- make test
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment