Skip to content

Commit

Permalink
Recommend v2 releases in all examples and templates
Browse files Browse the repository at this point in the history
  • Loading branch information
sweoggy committed Jun 18, 2024
1 parent a58502c commit c4a35f3
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 18 deletions.
10 changes: 5 additions & 5 deletions README.FoD.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ If you are interested in the readme for Debricked standalone, it can be found [h
<a href="https://opensource.org/licenses/MIT">
<img src="https://img.shields.io/badge/License-MIT-yellow.svg" />
</a>
<a href="https://github.com/debricked/cli/releases/tag/release-v1">
<a href="https://github.com/debricked/cli/releases/tag/release-v2">
<img src="https://img.shields.io/github/v/release/debricked/cli" />
</a>
<a href="https://twitter.com/debrickedab">
Expand All @@ -44,24 +44,24 @@ If you are interested in the readme for Debricked standalone, it can be found [h
</p>

## Installation
Check out the [releases](https://github.com/debricked/cli/releases/tag/release-v1) page. Choose the asset that is applicable for your system.
Check out the [releases](https://github.com/debricked/cli/releases/tag/release-v2) page. Choose the asset that is applicable for your system.
Below follow some common ways to install the CLI.
### Linux
```sh
curl -L https://github.com/debricked/cli/releases/download/release-v1/cli_linux_x86_64.tar.gz | tar -xz debricked
curl -L https://github.com/debricked/cli/releases/download/release-v2/cli_linux_x86_64.tar.gz | tar -xz debricked
```
```sh
./debricked
```
### Mac
```sh
curl -L https://github.com/debricked/cli/releases/download/release-v1/cli_macOS_arm64.tar.gz | tar -xz debricked
curl -L https://github.com/debricked/cli/releases/download/release-v2/cli_macOS_arm64.tar.gz | tar -xz debricked
```
```sh
./debricked
```
### Windows
1. [Download zip](https://github.com/debricked/cli/releases/download/release-v1/cli_windows_x86_64.tar.gz)
1. [Download zip](https://github.com/debricked/cli/releases/download/release-v2/cli_windows_x86_64.tar.gz)
2. Unpack zip
```sh
.\debricked
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ project via the command prompt.
<a href="https://opensource.org/licenses/MIT">
<img src="https://img.shields.io/badge/License-MIT-yellow.svg" />
</a>
<a href="https://github.com/debricked/cli/releases/tag/release-v1">
<a href="https://github.com/debricked/cli/releases/tag/release-v2">
<img src="https://img.shields.io/github/v/release/debricked/cli" />
</a>
<a href="https://twitter.com/debrickedab">
Expand All @@ -40,24 +40,24 @@ project via the command prompt.
</p>

## Installation
Check out the [releases](https://github.com/debricked/cli/releases/tag/release-v1) page. Choose the asset that is applicable for your system.
Check out the [releases](https://github.com/debricked/cli/releases/tag/release-v2) page. Choose the asset that is applicable for your system.
Below follow some common ways to install the CLI.
### Linux
```sh
curl -L https://github.com/debricked/cli/releases/download/release-v1/cli_linux_x86_64.tar.gz | tar -xz debricked
curl -L https://github.com/debricked/cli/releases/download/release-v2/cli_linux_x86_64.tar.gz | tar -xz debricked
```
```sh
./debricked
```
### Mac
```sh
curl -L https://github.com/debricked/cli/releases/download/release-v1/cli_macOS_arm64.tar.gz | tar -xz debricked
curl -L https://github.com/debricked/cli/releases/download/release-v2/cli_macOS_arm64.tar.gz | tar -xz debricked
```
```sh
./debricked
```
### Windows
1. [Download zip](https://github.com/debricked/cli/releases/download/release-v1/cli_windows_x86_64.tar.gz)
1. [Download zip](https://github.com/debricked/cli/releases/download/release-v2/cli_windows_x86_64.tar.gz)
2. Unpack zip
```sh
.\debricked
Expand Down
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-v1/cli_linux_x86_64.tar.gz | tar -xz debricked
curl -L 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-v1/cli_linux_x86_64.tar.gz | tar -xz debricked
curl -L 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-v1/cli_linux_x86_64.tar.gz | tar -xz debricked
- curl -L 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-v1/cli_linux_x86_64.tar.gz | tar -xz debricked
- curl -L 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-v1/cli_linux_x86_64.tar.gz | tar -xz debricked
- run: curl -L 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-v1/cli_linux_x86_64.tar.gz | tar -xz debricked
- curl -L 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/Jenkins/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pipeline {
stage('Debricked Scan') {
steps {
script {
sh 'curl -L https://github.com/debricked/cli/releases/download/release-v1/cli_linux_x86_64.tar.gz | tar -xz debricked'
sh 'curl -L https://github.com/debricked/cli/releases/download/release-v2/cli_linux_x86_64.tar.gz | tar -xz debricked'
sh './debricked scan'
}
}
Expand Down
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-v1/cli_linux_x86_64.tar.gz | tar -xz debricked
before_install: curl -L 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 c4a35f3

Please sign in to comment.