Skip to content

Commit d7a44c3

Browse files
committed
CI update
1 parent e64612a commit d7a44c3

File tree

1 file changed

+4
-22
lines changed

1 file changed

+4
-22
lines changed

.gitlab-ci.yml

+4-22
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ cache:
55
stages:
66
- test
77

8-
test:7.2:
8+
test:7.4:
99
stage: test
10-
image: php:7.2
10+
image: php:7.4
1111
before_script:
1212
- bash ci/docker_install.sh > /dev/null
1313
- wget https://composer.github.io/installer.sig -O - -q | tr -d '\n' > installer.sig
@@ -19,23 +19,5 @@ test:7.2:
1919
script:
2020
- phpunit --configuration phpunit.xml --coverage-text --colors=never
2121

22-
dependency_scanning:
23-
stage: test
24-
image: docker:stable
25-
variables:
26-
DOCKER_DRIVER: overlay2
27-
allow_failure: true
28-
services:
29-
- docker:stable-dind
30-
script:
31-
- export SP_VERSION=$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/')
32-
- docker run
33-
--env DEP_SCAN_DISABLE_REMOTE_CHECKS="${DEP_SCAN_DISABLE_REMOTE_CHECKS:-false}"
34-
--volume "$PWD:/code"
35-
--volume /var/run/docker.sock:/var/run/docker.sock
36-
"registry.gitlab.com/gitlab-org/security-products/dependency-scanning:$SP_VERSION" /code
37-
artifacts:
38-
paths: [gl-dependency-scanning-report.json]
39-
except:
40-
variables:
41-
- $DEPENDENCY_SCANNING_DISABLED
22+
include:
23+
- template: Dependency-Scanning.gitlab-ci.yml

0 commit comments

Comments
 (0)