Skip to content

Commit

Permalink
Enable setting up integrations with shared pipeline configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlTern authored Sep 12, 2023
1 parent 3aaa3e3 commit cb594ff
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions examples/templates/Bitbucket/bitbucket-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
export: true

image:
name: atlassian/default-image:2

test: &test
step:
name: Debricked Scan
script:
- curl -L https://github.com/debricked/cli/releases/latest/download/cli_linux_x86_64.tar.gz | tar -xz debricked
- ./debricked scan
services:
- docker

definitions:
pipelines:
Debricked: &Debricked
- step:
name: "Debricked Scan"
script:
- curl -L https://github.com/debricked/cli/releases/latest/download/cli_linux_x86_64.tar.gz | tar -xz debricked
- ./debricked scan
services:
- docker

pipelines:
default:
- <<: *test
- <<: *Debricked

0 comments on commit cb594ff

Please sign in to comment.