Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
Images
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Docker
Images
Commits
1a6f9459
Commit
1a6f9459
authored
2 years ago
by
Erick Hitter
Browse files
Options
Downloads
Patches
Plain Diff
Prepare for GitLab tools
[skip ci]
parent
f06b49db
Branches
add/gitlab-security
No related tags found
1 merge request
!27
Draft: Prepare for GitLab tools
Pipeline
#5134
skipped
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+36
-0
36 additions, 0 deletions
.gitlab-ci.yml
with
36 additions
and
0 deletions
.gitlab-ci.yml
+
36
−
0
View file @
1a6f9459
stages
:
-
.pre
-
build
-
test
-
deploy
-
container_security
-
.post
image
:
docker:latest
services
:
...
...
@@ -6,6 +14,34 @@ services:
before_script
:
-
docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
#
# GitLab tools
#
include
:
-
template
:
Security/Container-Scanning.gitlab-ci.yml
-
template
:
Security/Dependency-Scanning.gitlab-ci.yml
-
template
:
Security/License-Scanning.gitlab-ci.yml
-
template
:
Security/SAST.gitlab-ci.yml
-
template
:
Security/Secret-Detection.gitlab-ci.yml
container_scanning
:
# TODO: Need to run this after the build and push.
# TODO: Need to set variable for container image and tag.
when
:
never
stage
:
container_security
dependency_scanning
:
before_script
:
echo ""
license_scanning
:
before_script
:
echo ""
sast
:
before_script
:
echo ""
secret_detection
:
before_script
:
echo ""
#
# TESTS
#
...
...
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