Skip to content

Commit

Permalink
fix: find and replace eks:
Browse files Browse the repository at this point in the history
  • Loading branch information
MDavidson17 committed Oct 4, 2023
1 parent 1d4739d commit a89c683
Show file tree
Hide file tree
Showing 25 changed files with 43 additions and 43 deletions.
6 changes: 3 additions & 3 deletions CONFIGURATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Environment variables can be set in the containers as below, which is setting th

```yaml
container:
image: 019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/eks:argo-tasks-latest
image: 019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/argo-tasks:latest
command: [node, /app/index.js]
env:
- name: AWS_ROLE_CONFIG_PATH
Expand Down Expand Up @@ -130,7 +130,7 @@ Two example workflow tasks requesting specific resources (memory and CPU) from t
- name: file
- name: collection-id
container:
image: 019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/eks:topo-imagery-latest
image: 019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/topo-imagery:latest
resources:
requests:
memory: 7.8Gi
Expand All @@ -149,7 +149,7 @@ Two example workflow tasks requesting specific resources (memory and CPU) from t
parameters:
- name: file
container:
image: 019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/eks:argo-tasks-latest
image: 019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/argo-tasks:latest
resources:
requests:
memory: 7.8Gi
Expand Down
12 changes: 6 additions & 6 deletions docs/training_workshop/ARGO_WORKFLOWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ spec:
template: say-hello-template
- name: say-hello-template
container:
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/eks:topo-imagery-v2"
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/topo-imagery:v2"
command: [echo]
args: ["hello world"]
```
Expand Down Expand Up @@ -211,7 +211,7 @@ spec:
parameters:
- name: message
container:
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/eks:topo-imagery-v2"
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/topo-imagery:v2"
command: [echo]
args: ["{{inputs.parameters.message}}"]
```
Expand Down Expand Up @@ -372,7 +372,7 @@ spec:
parameters:
- name: message
container:
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/eks:topo-imagery-v2"
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/topo-imagery:v2"
command: [echo]
args: ["{{inputs.parameters.message}}"]
```
Expand Down Expand Up @@ -443,7 +443,7 @@ spec:
parameters:
- name: message
container:
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/eks:topo-imagery-v2"
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/topo-imagery:v2"
command: [echo]
args: ["{{inputs.parameters.message}}"]
```
Expand Down Expand Up @@ -514,7 +514,7 @@ spec:
- name: uri
- name: include
container:
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/eks:argo-tasks-v2"
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/argo-tasks:v2"
command: [node, /app/index.js]
env:
- name: AWS_ROLE_CONFIG_PATH
Expand All @@ -541,7 +541,7 @@ spec:
parameters:
- name: file
script:
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/eks:argo-tasks-v2"
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/argo-tasks:v2"
env:
- name: AWS_ROLE_CONFIG_PATH
value: s3://linz-bucket-config/config.json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ spec:
template: say-hello-template
- name: say-hello-template
container:
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/eks:topo-imagery-v2"
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/topo-imagery:v2"
command: [echo]
args: ["hello world"]
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ spec:
parameters:
- name: message
container:
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/eks:topo-imagery-v2"
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/topo-imagery:v2"
command: [echo]
args: ["{{inputs.parameters.message}}"]
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ spec:
parameters:
- name: message
container:
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/eks:topo-imagery-v2"
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/topo-imagery:v2"
command: [echo]
args: ["{{inputs.parameters.message}}"]
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ spec:
parameters:
- name: message
container:
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/eks:topo-imagery-v2"
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/topo-imagery:v2"
command: [echo]
args: ["{{inputs.parameters.message}}"]
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ spec:
- name: uri
- name: include
container:
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/eks:argo-tasks-v2"
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/argo-tasks:v2"
command: [node, /app/index.js]
env:
- name: AWS_ROLE_CONFIG_PATH
Expand All @@ -69,7 +69,7 @@ spec:
parameters:
- name: file
script:
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/eks:argo-tasks-v2"
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/argo-tasks:v2"
env:
- name: AWS_ROLE_CONFIG_PATH
value: s3://linz-bucket-config/config.json
Expand Down
2 changes: 1 addition & 1 deletion templates/argo-tasks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ steps:
- name: group_id # "000", "001" ... etc

script:
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/eks:argo-tasks-latest"
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/argo-tasks:latest"
command: [bash]
source: |
echo {{ inputs.parameters.group_id}}
Expand Down
2 changes: 1 addition & 1 deletion templates/argo-tasks/copy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
default: "s3://linz-bucket-config/config-write.imagery.json,s3://linz-bucket-config/config-write.elevation.json,s3://linz-bucket-config/config-write.topographic.json"

container:
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/eks:argo-tasks-{{=sprig.trim(workflow.parameters['version-argo-tasks'])}}"
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/argo-tasks:{{=sprig.trim(workflow.parameters['version-argo-tasks'])}}"
resources:
requests:
memory: 7.8Gi
Expand Down
2 changes: 1 addition & 1 deletion templates/argo-tasks/create-manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ spec:
path: /tmp/file_list.json

container:
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/eks:argo-tasks-{{=sprig.trim(inputs.parameters['version-argo-tasks'])}}"
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/argo-tasks:{{=sprig.trim(inputs.parameters['version-argo-tasks'])}}"
command: [node, /app/index.js]
env:
- name: AWS_ROLE_CONFIG_PATH
Expand Down
2 changes: 1 addition & 1 deletion templates/argo-tasks/group.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ spec:
path: /tmp/group/output/

container:
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/eks:argo-tasks-{{= inputs.parameters.version }}"
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/argo-tasks:{{= inputs.parameters.version }}"
command: [node, /app/index.js]
env:
- name: AWS_ROLE_CONFIG_PATH
Expand Down
2 changes: 1 addition & 1 deletion templates/argo-tasks/push-to-github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
- "imagery"

container:
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/eks:argo-tasks-{{=sprig.trim(inputs.parameters['version-argo-tasks'])}}"
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/argo-tasks:{{=sprig.trim(inputs.parameters['version-argo-tasks'])}}"
env:
- name: AWS_ROLE_CONFIG_PATH
value: s3://linz-bucket-config/config.json
Expand Down
2 changes: 1 addition & 1 deletion templates/argo-tasks/tile-index-validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ spec:
none: {}

container:
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/eks:argo-tasks-{{=inputs.parameters.version}}"
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/argo-tasks:{{=inputs.parameters.version}}"
command: [node, /app/index.js]
env:
- name: AWS_ROLE_CONFIG_PATH
Expand Down
2 changes: 1 addition & 1 deletion workflows/basemaps/imagery-import-cogify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ spec:
parameters:
- name: target
container:
image: 019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/eks:argo-tasks-{{workflow.parameters.version_argo_tasks}}
image: 019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/argo-tasks:{{workflow.parameters.version_argo_tasks}}
volumeMounts:
- name: secret-vol
mountPath: "/root/.ssh/"
Expand Down
2 changes: 1 addition & 1 deletion workflows/basemaps/mapsheet-json.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ spec:
parameters:
- name: layer
container:
image: 019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/eks:argo-tasks-{{=sprig.trim(workflow.parameters['version-argo-tasks'])}}
image: 019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/argo-tasks:{{=sprig.trim(workflow.parameters['version-argo-tasks'])}}
command: [node, index.js]
env:
- name: AWS_ROLE_CONFIG_PATH
Expand Down
2 changes: 1 addition & 1 deletion workflows/basemaps/vector-etl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ spec:
parameters:
- name: target
container:
image: 019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/eks:argo-tasks-{{workflow.parameters.version_argo_tasks}}
image: 019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/argo-tasks:{{workflow.parameters.version_argo_tasks}}
volumeMounts:
- name: secret-vol
mountPath: "/root/.ssh/"
Expand Down
6 changes: 3 additions & 3 deletions workflows/imagery/ascii-standardise-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ spec:

- name: get-location
script:
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/eks:argo-tasks-{{=sprig.trim(workflow.parameters['version-argo-tasks'])}}"
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/argo-tasks:{{=sprig.trim(workflow.parameters['version-argo-tasks'])}}"
command: [node]
source: |
const fs = require('fs');
Expand All @@ -115,7 +115,7 @@ spec:
- name: aws-list
inputs:
container:
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/eks:argo-tasks-{{workflow.parameters.version-argo-tasks}}"
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/argo-tasks:{{workflow.parameters.version-argo-tasks}}"
command: [node, /app/index.js]
env:
- name: AWS_ROLE_CONFIG_PATH
Expand Down Expand Up @@ -149,7 +149,7 @@ spec:
- name: files
path: /tmp/file_list.json
container:
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/eks:topo-imagery-{{=sprig.trim(workflow.parameters['version-topo-imagery'])}}"
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/topo-imagery:{{=sprig.trim(workflow.parameters['version-topo-imagery'])}}"
resources:
requests:
memory: 7.8Gi
Expand Down
10 changes: 5 additions & 5 deletions workflows/imagery/standardising.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ spec:

- name: collection-id-setup
script:
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/eks:topo-imagery-{{=sprig.trim(workflow.parameters['version-topo-imagery'])}}"
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/topo-imagery:{{=sprig.trim(workflow.parameters['version-topo-imagery'])}}"
command: [python]
source: |
import ulid
Expand Down Expand Up @@ -354,7 +354,7 @@ spec:
- name: group_data
path: /tmp/input/
container:
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/eks:topo-imagery-{{=sprig.trim(workflow.parameters['version-topo-imagery'])}}"
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/topo-imagery:{{=sprig.trim(workflow.parameters['version-topo-imagery'])}}"
resources:
requests:
memory: 7.8Gi
Expand Down Expand Up @@ -396,7 +396,7 @@ spec:
- name: collection-id
- name: location
container:
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/eks:topo-imagery-{{=sprig.trim(workflow.parameters['version-topo-imagery'])}}"
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/topo-imagery:{{=sprig.trim(workflow.parameters['version-topo-imagery'])}}"
resources:
requests:
memory: 7.8Gi
Expand Down Expand Up @@ -429,7 +429,7 @@ spec:
parameters:
- name: location
container:
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/eks:argo-tasks-{{=sprig.trim(workflow.parameters['version-argo-tasks'])}}"
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/argo-tasks:{{=sprig.trim(workflow.parameters['version-argo-tasks'])}}"
command: [node, /app/index.js]
env:
- name: AWS_ROLE_CONFIG_PATH
Expand All @@ -444,7 +444,7 @@ spec:

- name: get-location
script:
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/eks:argo-tasks-{{=sprig.trim(workflow.parameters['version-argo-tasks'])}}"
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/argo-tasks:{{=sprig.trim(workflow.parameters['version-argo-tasks'])}}"
command: [node]
source: |
const fs = require('fs');
Expand Down
2 changes: 1 addition & 1 deletion workflows/imagery/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
templates:
- name: test-script
script:
image: 019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/eks:topo-imagery-{{workflow.parameters.version-topo-imagery}}
image: 019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/topo-imagery:{{workflow.parameters.version-topo-imagery}}
command: [python]
source: |
import sys
Expand Down
4 changes: 2 additions & 2 deletions workflows/stac/stac-validate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ spec:
withParam: "{{tasks.aws-list-collections.outputs.parameters.files}}"
- name: aws-list-collections
container:
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/eks:argo-tasks-{{=sprig.trim(workflow.parameters['version-argo-tasks'])}}"
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/argo-tasks:{{=sprig.trim(workflow.parameters['version-argo-tasks'])}}"
command: [node, /app/index.js]
env:
- name: AWS_ROLE_CONFIG_PATH
Expand Down Expand Up @@ -72,7 +72,7 @@ spec:
parameters:
- name: file
container:
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/eks:argo-tasks-{{=sprig.trim(workflow.parameters['version-argo-tasks'])}}"
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/argo-tasks:{{=sprig.trim(workflow.parameters['version-argo-tasks'])}}"
resources:
requests:
cpu: 15000m
Expand Down
2 changes: 1 addition & 1 deletion workflows/test/env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ spec:
templates:
- name: env
container:
image: 019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/eks:topo-imagery-latest
image: 019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/topo-imagery:latest
command: [env]
4 changes: 2 additions & 2 deletions workflows/test/flatten.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ spec:
- name: uri
- name: filter
container:
image: 019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/eks:argo-tasks-{{=sprig.trim(workflow.parameters['version-argo-tasks'])}}
image: 019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/argo-tasks:{{=sprig.trim(workflow.parameters['version-argo-tasks'])}}
command: [node, /app/index.js]
env:
- name: AWS_ROLE_CONFIG_PATH
Expand Down Expand Up @@ -82,7 +82,7 @@ spec:
parameters:
- name: file
container:
image: 019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/eks:argo-tasks-{{=sprig.trim(workflow.parameters['version-argo-tasks'])}}
image: 019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/argo-tasks:{{=sprig.trim(workflow.parameters['version-argo-tasks'])}}
resources:
requests:
memory: 7.8Gi
Expand Down
2 changes: 1 addition & 1 deletion workflows/test/list.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
- name: uri
- name: include
container:
image: 019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/eks:argo-tasks-{{workflow.parameters.version-argo-tasks}}
image: 019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/argo-tasks:{{workflow.parameters.version-argo-tasks}}
command: [node, /app/index.js]
env:
- name: AWS_ROLE_CONFIG_PATH
Expand Down
2 changes: 1 addition & 1 deletion workflows/tiv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ spec:
parameters:
- name: echo
container:
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/eks:argo-tasks-{{= workflow.parameters.version_argo_tasks }}"
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/argo-tasks:{{= workflow.parameters.version_argo_tasks }}"
command: [echo]
args:
- "{{inputs.parameters.echo}}"
6 changes: 3 additions & 3 deletions workflows/util/create-thumbnails.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ spec:
- name: aws-list
inputs:
container:
image: 019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/eks:argo-tasks-{{workflow.parameters.version-argo-tasks}}
image: 019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/argo-tasks:{{workflow.parameters.version-argo-tasks}}
command: [node, /app/index.js]
env:
- name: AWS_ROLE_CONFIG_PATH
Expand Down Expand Up @@ -124,7 +124,7 @@ spec:
- name: files
path: /tmp/file_list.json
container:
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/eks:topo-imagery-{{=sprig.trim(workflow.parameters['version-topo-imagery'])}}"
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/topo-imagery:{{=sprig.trim(workflow.parameters['version-topo-imagery'])}}"
resources:
requests:
memory: 7.8Gi
Expand All @@ -144,7 +144,7 @@ spec:

- name: get-location
script:
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/eks:argo-tasks-{{=sprig.trim(workflow.parameters['version-argo-tasks'])}}"
image: "019359803926.dkr.ecr.ap-southeast-2.amazonaws.com/argo-tasks:{{=sprig.trim(workflow.parameters['version-argo-tasks'])}}"
command: [node]
source: |
const fs = require('fs');
Expand Down

0 comments on commit a89c683

Please sign in to comment.