mirror of
https://github.com/joomla/joomla-cms.git
synced 2024-06-24 22:39:31 +00:00
add rips security check to 4.0-dev
This commit is contained in:
parent
96be9b07ea
commit
7fa18936f5
24
.drone.yml
24
.drone.yml
|
@ -71,6 +71,30 @@ pipeline:
|
|||
commands:
|
||||
- bash libraries/vendor/joomla/test-system/src/drone-run.sh "$(pwd)"
|
||||
|
||||
analysis3x:
|
||||
image: rips/rips-cli
|
||||
secrets: [rips_username, rips_password]
|
||||
when:
|
||||
branch: staging
|
||||
commands:
|
||||
- export RIPS_BASE_URI='https://api.rips.joomla.org'
|
||||
- export RIPS_USERNAME=$RIPS_USERNAME
|
||||
- export RIPS_PASSWORD=$RIPS_PASSWORD
|
||||
- if [ $DRONE_REPO_OWNER != 'joomla' ]; then echo "The analysis check only run on the main repos"; exit 0; fi
|
||||
- rips-cli rips:scan:start -a 1 -t 1 -p $(pwd) -t 1 -T $DRONE_REPO_OWNER-$DRONE_BRANCH || { echo "Please contact the security team at security@joomla.org"; exit 1; }
|
||||
|
||||
analysis4x:
|
||||
image: rips/rips-cli
|
||||
secrets: [rips_username, rips_password]
|
||||
when:
|
||||
branch: 4.0-dev
|
||||
commands:
|
||||
- export RIPS_BASE_URI='https://api.rips.joomla.org'
|
||||
- export RIPS_USERNAME=$RIPS_USERNAME
|
||||
- export RIPS_PASSWORD=$RIPS_PASSWORD
|
||||
- if [ $DRONE_REPO_OWNER != 'joomla' ]; then echo "The analysis check only run on the main repos"; exit 0; fi
|
||||
- rips-cli rips:scan:start -a 3 -t 1 -p $(pwd) -t 1 -T $DRONE_REPO_OWNER-$DRONE_BRANCH || { echo "Please contact the security team at security@joomla.org"; exit 1; }
|
||||
|
||||
services:
|
||||
mysql:
|
||||
image: mysql:5.7
|
||||
|
|
Loading…
Reference in New Issue
Block a user