Skip to content

Commit a2b807c

Browse files
authored
fix(trigger-argo-workflow): treat AWS dev instance as Argo Workflows dev (#465)
* treat aws dev instance as argo wfs dev * replace with aws dev instance
1 parent 770ab6b commit a2b807c

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

actions/trigger-argo-workflow/action.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Trigger an Argo workflow in the Grafana Labs Argo Workflows instanc
44
inputs:
55
instance:
66
description: |
7-
The instance to use (`dev`, `dev-aws`, `ops` or `ops-aws`). Defaults to `ops`.
7+
The instance to use (`dev`, `ops` or `ops-aws`). Defaults to `ops`.
88
default: ops
99
namespace:
1010
description: |
@@ -70,12 +70,8 @@ runs:
7070
run: |
7171
# Map the instance to the cluster name to get the correct secret
7272
case "${{ inputs.instance }}" in
73-
dev-aws)
74-
cluster="dev-us-east-0"
75-
vault_instance="dev"
76-
;;
7773
dev)
78-
cluster="dev-us-central-0"
74+
cluster="dev-us-east-0"
7975
vault_instance="dev"
8076
;;
8177
ops)

actions/trigger-argo-workflow/cmd/trigger-argo-workflow/argo.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ type App struct {
3434

3535
var instanceToHost = map[string]string{
3636
"dev": "argo-workflows-dev.grafana.net:443",
37-
"dev-aws": "argo-workflows-dev-aws.grafana.net:443",
3837
"ops": "argo-workflows.grafana.net:443",
3938
"ops-aws": "argo-workflows-aws.grafana.net:443",
4039
}

0 commit comments

Comments
 (0)