Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dfjswanson committed May 6, 2024
2 parents eceb086 + 0e9b9ac commit 767d1d8
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion bitbucket-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,23 @@
clone:
depth: full

definitions:
steps:
-step: &snyk-test
name: snyk security scan
image: node:14
script:
- npm install -g snyk
- snyk auth $SNYK_TOKEN
- snyk iac test . --report || true

pipelines:
branches:
main:
- step:
name: Clone to GitHub
script:
- git remote add upstream [email protected]:dataforgelabs/terraform-dataforge-aws-databricks.git
- git push --force upstream $BITBUCKET_BRANCH
- git push --force upstream $BITBUCKET_BRANCH

- step: *snyk-test

0 comments on commit 767d1d8

Please sign in to comment.