Compare commits

...

3 Commits

Author SHA1 Message Date
杨永强
f43590c7db Configure SAST in .gitlab-ci.yml, creating this file if it does not already exist 2021-10-27 03:56:01 +00:00
杨永强
7da0bada3b Add new file 2021-10-27 02:10:38 +00:00
杨永强
afa626e932 Add new file 2021-10-27 02:09:52 +00:00
3 changed files with 32 additions and 0 deletions

25
.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,25 @@
# 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
# Note that environment variables can be set in several places
# See https://docs.gitlab.com/ee/ci/variables/#cicd-variable-precedence
stages:
- build
- test
- deploy
- review
- dast
- staging
- canary
- production
- incremental rollout 10%
- incremental rollout 25%
- incremental rollout 50%
- incremental rollout 100%
- performance
- cleanup
sast:
stage: test
include:
- template: Auto-DevOps.gitlab-ci.yml

3
hellow.php Normal file
View File

@@ -0,0 +1,3 @@
<?php
echo 'hello word!';
?>

4
pom.xml Normal file
View File

@@ -0,0 +1,4 @@
<properties>
<java.version>1.8</java.version>
<docker.image.prefix>springboot</docker.image.prefix>
</properties>