Skip to content

Commit bd30ba1

Browse files
Add login step to workflow examples
1 parent 8bbae50 commit bd30ba1

File tree

6 files changed

+54
-0
lines changed

6 files changed

+54
-0
lines changed

incubating/octopusdeploy-create-release/step.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ metadata:
4949
IGNORE_EXISTING: false
5050
- description: Basic usage of the create release step with Octopus access token
5151
workflow:
52+
login:
53+
type: octopusdeploy-login
54+
arguments:
55+
ID_TOKEN: "${{ID_TOKEN}}"
56+
OCTOPUS_URL: "${{OCTOPUS_URL}}"
57+
OCTOPUS_SERVICE_ACCOUNT_ID: "${{OCTOPUS_SERVICE_ACCOUNT_ID}}"
5258
create-release:
5359
type: octopusdeploy-create-release
5460
arguments:
@@ -58,6 +64,12 @@ metadata:
5864
PROJECT: "Project Name"
5965
- description: Complex usage of the create release step with Octopus access token
6066
workflow:
67+
login:
68+
type: octopusdeploy-login
69+
arguments:
70+
ID_TOKEN: "${{ID_TOKEN}}"
71+
OCTOPUS_URL: "${{OCTOPUS_URL}}"
72+
OCTOPUS_SERVICE_ACCOUNT_ID: "${{OCTOPUS_SERVICE_ACCOUNT_ID}}"
6173
create-release:
6274
type: octopusdeploy-create-release
6375
arguments:

incubating/octopusdeploy-deploy-release-tenanted/step.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ metadata:
5353
- "tagSetC/someTagD"
5454
- description: "Deploy using tenant name and Octopus access token"
5555
workflow:
56+
login:
57+
type: octopusdeploy-login
58+
arguments:
59+
ID_TOKEN: "${{ID_TOKEN}}"
60+
OCTOPUS_URL: "${{OCTOPUS_URL}}"
61+
OCTOPUS_SERVICE_ACCOUNT_ID: "${{OCTOPUS_SERVICE_ACCOUNT_ID}}"
5662
deploy-release-tenanted:
5763
type: octopusdeploy-deploy-release-tenanted
5864
arguments:
@@ -71,6 +77,12 @@ metadata:
7177
USE_GUIDED_FAILURE: "false"
7278
- description: "Deploy using tenant tags and Octopus access token"
7379
workflow:
80+
login:
81+
type: octopusdeploy-login
82+
arguments:
83+
ID_TOKEN: "${{ID_TOKEN}}"
84+
OCTOPUS_URL: "${{OCTOPUS_URL}}"
85+
OCTOPUS_SERVICE_ACCOUNT_ID: "${{OCTOPUS_SERVICE_ACCOUNT_ID}}"
7486
deploy-release-tenanted:
7587
type: octopusdeploy-deploy-release-tenanted
7688
arguments:

incubating/octopusdeploy-deploy-release/step.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ metadata:
3838
USE_GUIDED_FAILURE: "false"
3939
- description: Usage of the deploy release with Octopus access token
4040
workflow:
41+
login:
42+
type: octopusdeploy-login
43+
arguments:
44+
ID_TOKEN: "${{ID_TOKEN}}"
45+
OCTOPUS_URL: "${{OCTOPUS_URL}}"
46+
OCTOPUS_SERVICE_ACCOUNT_ID: "${{OCTOPUS_SERVICE_ACCOUNT_ID}}"
4147
deploy-release:
4248
type: octopusdeploy-deploy-release
4349
arguments:

incubating/octopusdeploy-push-build-information/step.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ metadata:
3535
OVERWRITE_MODE: "fail"
3636
- description: Basic usage of the push build information step with Octopus access token
3737
workflow:
38+
login:
39+
type: octopusdeploy-login
40+
arguments:
41+
ID_TOKEN: "${{ID_TOKEN}}"
42+
OCTOPUS_URL: "${{OCTOPUS_URL}}"
43+
OCTOPUS_SERVICE_ACCOUNT_ID: "${{OCTOPUS_SERVICE_ACCOUNT_ID}}"
3844
push-build-information:
3945
type: octopusdeploy-push-build-information
4046
arguments:

incubating/octopusdeploy-push-package/step.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ metadata:
3333
OVERWRITE_MODE: "fail"
3434
- description: Basic usage of the push a package step with Octopus access token
3535
workflow:
36+
login:
37+
type: octopusdeploy-login
38+
arguments:
39+
ID_TOKEN: "${{ID_TOKEN}}"
40+
OCTOPUS_URL: "${{OCTOPUS_URL}}"
41+
OCTOPUS_SERVICE_ACCOUNT_ID: "${{OCTOPUS_SERVICE_ACCOUNT_ID}}"
3642
push-package:
3743
type: octopusdeploy-push-package
3844
arguments:

incubating/octopusdeploy-run-runbook/step.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ metadata:
5454
USE_GUIDED_FAILURE: "false"
5555
- description: Basic usage of the run a runbook step with Octopus access token
5656
workflow:
57+
login:
58+
type: octopusdeploy-login
59+
arguments:
60+
ID_TOKEN: "${{ID_TOKEN}}"
61+
OCTOPUS_URL: "${{OCTOPUS_URL}}"
62+
OCTOPUS_SERVICE_ACCOUNT_ID: "${{OCTOPUS_SERVICE_ACCOUNT_ID}}"
5763
run-runbook:
5864
type: octopusdeploy-run-runbook
5965
arguments:
@@ -67,6 +73,12 @@ metadata:
6773
- "Production"
6874
- description: Complex usage of the run a runbook step with Octopus access token
6975
workflow:
76+
login:
77+
type: octopusdeploy-login
78+
arguments:
79+
ID_TOKEN: "${{ID_TOKEN}}"
80+
OCTOPUS_URL: "${{OCTOPUS_URL}}"
81+
OCTOPUS_SERVICE_ACCOUNT_ID: "${{OCTOPUS_SERVICE_ACCOUNT_ID}}"
7082
run-runbook:
7183
type: octopusdeploy-run-runbook
7284
arguments:

0 commit comments

Comments
 (0)