woodpecker: fix obsolete secrets usage
The existing definition now only errors out
This commit is contained in:
parent
55dff3a9bd
commit
b60f42b959
1 changed files with 13 additions and 8 deletions
|
|
@ -42,10 +42,13 @@ steps:
|
||||||
- develop
|
- develop
|
||||||
- stable
|
- stable
|
||||||
image: node:20
|
image: node:20
|
||||||
secrets:
|
environment:
|
||||||
- SCW_ACCESS_KEY
|
SCW_ACCESS_KEY:
|
||||||
- SCW_SECRET_KEY
|
from_secret: SCW_ACCESS_KEY
|
||||||
- SCW_DEFAULT_ORGANIZATION_ID
|
SCW_SECRET_KEY:
|
||||||
|
from_secret: SCW_SECRET_KEY
|
||||||
|
SCW_DEFAULT_ORGANIZATION_ID:
|
||||||
|
from_secret: SCW_DEFAULT_ORGANIZATION_ID
|
||||||
commands:
|
commands:
|
||||||
- apt-get update && apt-get install -y rclone wget zip
|
- apt-get update && apt-get install -y rclone wget zip
|
||||||
- wget https://github.com/scaleway/scaleway-cli/releases/download/v2.30.0/scaleway-cli_2.30.0_linux_amd64
|
- wget https://github.com/scaleway/scaleway-cli/releases/download/v2.30.0/scaleway-cli_2.30.0_linux_amd64
|
||||||
|
|
@ -64,11 +67,13 @@ steps:
|
||||||
- stable
|
- stable
|
||||||
environment:
|
environment:
|
||||||
CI: "true"
|
CI: "true"
|
||||||
|
SCW_ACCESS_KEY:
|
||||||
|
from_secret: SCW_ACCESS_KEY
|
||||||
|
SCW_SECRET_KEY:
|
||||||
|
from_secret: SCW_SECRET_KEY
|
||||||
|
SCW_DEFAULT_ORGANIZATION_ID:
|
||||||
|
from_secret: SCW_DEFAULT_ORGANIZATION_ID
|
||||||
image: python:3.10-slim
|
image: python:3.10-slim
|
||||||
secrets:
|
|
||||||
- SCW_ACCESS_KEY
|
|
||||||
- SCW_SECRET_KEY
|
|
||||||
- SCW_DEFAULT_ORGANIZATION_ID
|
|
||||||
commands:
|
commands:
|
||||||
- apt-get update && apt-get install -y rclone wget git zip
|
- apt-get update && apt-get install -y rclone wget git zip
|
||||||
- wget https://github.com/scaleway/scaleway-cli/releases/download/v2.30.0/scaleway-cli_2.30.0_linux_amd64
|
- wget https://github.com/scaleway/scaleway-cli/releases/download/v2.30.0/scaleway-cli_2.30.0_linux_amd64
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue