Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Drupal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
GitLab CI/CD
Drupal
Commits
7a76d88b
Commit
7a76d88b
authored
2 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
#53
Improve scanning for upstream CVEs
parent
43619649
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
lakedrops-execute.yml
+3
-0
3 additions, 0 deletions
lakedrops-execute.yml
lakedrops.yml
+0
-3
0 additions, 3 deletions
lakedrops.yml
test-and-deploy.yml
+14
-7
14 additions, 7 deletions
test-and-deploy.yml
with
17 additions
and
10 deletions
lakedrops-execute.yml
+
3
−
0
View file @
7a76d88b
...
...
@@ -25,6 +25,9 @@ Build Prod Site NG:
Build Site
:
extends
:
'
.build'
Check 4 Security Vulnerability Advisories
:
extends
:
'
.check4security'
Download DB
:
extends
:
'
.dumpdb'
...
...
This diff is collapsed.
Click to expand it.
lakedrops.yml
+
0
−
3
View file @
7a76d88b
...
...
@@ -60,9 +60,6 @@ Validate Environment:
Check 4 Updates
:
extends
:
'
.check4update'
Check 4 Security Vulnerability Advisories
:
extends
:
'
.check4security'
Release
:
extends
:
'
.createrelease'
...
...
This diff is collapsed.
Click to expand it.
test-and-deploy.yml
+
14
−
7
View file @
7a76d88b
...
...
@@ -680,6 +680,7 @@ Debug:
script
:
-
rm /tmp/test.log >/dev/null 2>&1 ||
true
-
composer update --no-interaction --no-progress --no-dev --dry-run $NAMESPACES_CHECK_UPDATE >/tmp/test.log 2>&1
-
composer audit --no-dev --locked ||
true
-
EC=0
-
grep "Nothing to modify in lock file" /tmp/test.log || EC=$?
-
if [[ $EC -eq 0 ]]; then exit 0; fi
...
...
@@ -704,24 +705,30 @@ Debug:
-
develop
.check4security
:
stage
:
validation
stage
:
build
tags
:
-
default
image
:
registry.lakedrops.com/docker/gitlab-drupal-ci/php-${PHP_MAJOR_VERSION}.${PHP_MINOR_VERSION}
cache
:
{}
needs
:
-
job
:
Build Prod Site
artifacts
:
true
optional
:
true
-
job
:
Build Prod Site NG
artifacts
:
true
optional
:
true
-
job
:
Build Site
artifacts
:
true
optional
:
true
before_script
:
-
!reference
[
.prepareaccess
,
before_script
]
-
!reference
[
.preparecomposerplugins
,
before_script
]
script
:
-
rm /tmp/test.log >/dev/null 2>&1 ||
true
-
composer audit --no-dev --locked --format=plain >/tmp/test.log 2>&1
-
composer audit --no-dev --locked --format=plain >/tmp/test.log 2>&1
||
true
-
EC=0
-
grep "No security vulnerability advisories found" /tmp/test.log || EC=$?
-
if [[ $EC -eq 0 ]]; then exit 0; fi
-
glab issue create --title "Security vulnerability advisories found" --description "$(cat /tmp/test.log)"
-
rm /tmp/test.log >/dev/null 2>&1 ||
true
only
:
variables
:
-
$CHECKUPDATES
refs
:
-
develop
-
exit
1
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