Skip to content

Commit

Permalink
Adds silent and output error flags to curl command in templates
Browse files Browse the repository at this point in the history
  • Loading branch information
filip-debricked committed Sep 3, 2024
1 parent 66358ca commit b945d49
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
inputs:
artifactsFeeds: <your-private-repository-id>
- script: |
curl -L https://github.com/debricked/cli/releases/download/release-v2/cli_linux_x86_64.tar.gz | tar -xz debricked
curl -LsS https://github.com/debricked/cli/releases/download/release-v2/cli_linux_x86_64.tar.gz | tar -xz debricked
./debricked scan
displayName: Debricked scan
env:
Expand Down
2 changes: 1 addition & 1 deletion examples/templates/Azure/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
# artifactsFeeds: <your-private-repository-id>
# Uncomment the above lines if you need to authenticate private maven registries
- script: |
curl -L https://github.com/debricked/cli/releases/download/release-v2/cli_linux_x86_64.tar.gz | tar -xz debricked
curl -LsS https://github.com/debricked/cli/releases/download/release-v2/cli_linux_x86_64.tar.gz | tar -xz debricked
./debricked scan
displayName: Debricked scan
env:
Expand Down
2 changes: 1 addition & 1 deletion examples/templates/Bitbucket/bitbucket-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ definitions:
- step:
name: "Debricked Scan"
script:
- curl -L https://github.com/debricked/cli/releases/download/release-v2/cli_linux_x86_64.tar.gz | tar -xz debricked
- curl -LsS https://github.com/debricked/cli/releases/download/release-v2/cli_linux_x86_64.tar.gz | tar -xz debricked
- ./debricked scan
services:
- docker
Expand Down
2 changes: 1 addition & 1 deletion examples/templates/BuildKite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
steps:
- label: ":shield: Debricked"
command:
- curl -L https://github.com/debricked/cli/releases/download/release-v2/cli_linux_x86_64.tar.gz | tar -xz debricked
- curl -LsS https://github.com/debricked/cli/releases/download/release-v2/cli_linux_x86_64.tar.gz | tar -xz debricked
- ./debricked scan
2 changes: 1 addition & 1 deletion examples/templates/CircleCI/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
- image: cimg/base:current
steps:
- checkout
- run: curl -L https://github.com/debricked/cli/releases/download/release-v2/cli_linux_x86_64.tar.gz | tar -xz debricked
- run: curl -LsS https://github.com/debricked/cli/releases/download/release-v2/cli_linux_x86_64.tar.gz | tar -xz debricked
- run: ./debricked scan

workflows:
Expand Down
2 changes: 1 addition & 1 deletion examples/templates/GitLab/gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ stages:
debricked:
stage: scan
script:
- curl -L https://github.com/debricked/cli/releases/download/release-v2/cli_linux_x86_64.tar.gz | tar -xz debricked
- curl -LsS https://github.com/debricked/cli/releases/download/release-v2/cli_linux_x86_64.tar.gz | tar -xz debricked
- ./debricked scan
2 changes: 1 addition & 1 deletion examples/templates/Travis/travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
branch: "*"
env:
- DEBRICKED_TOKEN=${DEBRICKED_TOKEN}
before_install: curl -L https://github.com/debricked/cli/releases/download/release-v2/cli_linux_x86_64.tar.gz | tar -xz debricked
before_install: curl -LsS https://github.com/debricked/cli/releases/download/release-v2/cli_linux_x86_64.tar.gz | tar -xz debricked
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
Expand Down

0 comments on commit b945d49

Please sign in to comment.