mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-23 15:49:10 +00:00
hashcheck audit for zapier
This commit is contained in:
parent
90ecc19d9b
commit
1c2769ab64
@ -3,16 +3,9 @@ audit_zapier:
|
||||
stage: BuildAndTest
|
||||
allow_failure: true
|
||||
script:
|
||||
- |
|
||||
if [[ $CI_COMMIT_BRANCH != "master" ]] && [[ $CI_COMMIT_BRANCH != "release" ]]
|
||||
then
|
||||
chmod +x ./ci/scripts/checkhash.sh
|
||||
export zapier_exist=`./ci/scripts/checkhash.sh audit_zapier zapier`
|
||||
if [[ $zapier_exist == *"true"* ]]
|
||||
then
|
||||
exit ${CI_JOB_SKIP_EXIT_CODE:-0}
|
||||
fi
|
||||
fi
|
||||
- chmod +x ./ci/scripts/checkhash.sh
|
||||
- export next_stage=`./ci/scripts/checkhash.sh audit_zapier zapier`
|
||||
- if [[ $next_stage == *"skip"* ]]; then exit ${CI_JOB_SKIP_EXIT_CODE:-0}; fi
|
||||
- sudo apt-get update
|
||||
- sudo apt-get install -y curl gcc
|
||||
- sudo apt-get install -y build-essential
|
||||
@ -23,12 +16,8 @@ audit_zapier:
|
||||
- npm run audit
|
||||
- npm run dep-check
|
||||
- cd ..
|
||||
- |
|
||||
if [[ $CI_COMMIT_BRANCH != "master" ]] && [[ $CI_COMMIT_BRANCH != "release" ]]
|
||||
then
|
||||
chmod +x ./ci/scripts/storehash.sh
|
||||
./ci/scripts/storehash.sh audit_zapier zapier
|
||||
fi
|
||||
- chmod +x ./ci/scripts/storehash.sh
|
||||
- ./ci/scripts/storehash.sh audit_zapier zapier
|
||||
except:
|
||||
refs:
|
||||
- hotfix-master
|
||||
|
Loading…
Reference in New Issue
Block a user