Skip to content

Commit

Permalink
feat: add write permissions for basemaps buckets BM-822 (#159)
Browse files Browse the repository at this point in the history
#### Description

Adds ability for `basemaps-imagery-import-cogify` workflow to write to
Basemaps buckets.

#### Intention

Testing was done outputting too `s3://linz-imagery-artifacts` so it was
missed that the workflow did not have write permission to
`s3://linz-basemaps`.

#### Checklist
*If not applicable, provide explanation of why.*
- [ ] Tests updated
- [ ] Docs updated
- [x] Issue linked in Title
  • Loading branch information
Andrew Jacombs authored Aug 23, 2023
1 parent 354bf8c commit 3593b0d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions workflows/basemaps/imagery-import-cogify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ spec:
command: [node, /app/node_modules/.bin/cogify]
env:
- name: AWS_ROLE_CONFIG_PATH
value: s3://linz-bucket-config/config.json
value: s3://linz-bucket-config/config-write.basemaps.json,s3://linz-bucket-config/config.json
args:
- "cover"
- "--tile-matrix={{ inputs.parameters.tile_matrix }}"
Expand Down Expand Up @@ -228,7 +228,7 @@ spec:
command: [node, /app/node_modules/.bin/cogify]
env:
- name: AWS_ROLE_CONFIG_PATH
value: s3://linz-bucket-config/config.json
value: s3://linz-bucket-config/config-write.basemaps.json,s3://linz-bucket-config/config.json
args:
- "create"
- "--from-file={{= inputs.artifacts.covering_grouped.path }}{{inputs.parameters.covering_grouped_id}}.json"
Expand All @@ -244,7 +244,7 @@ spec:
command: [node, /app/node_modules/.bin/cogify]
env:
- name: AWS_ROLE_CONFIG_PATH
value: s3://linz-bucket-config/config.json
value: s3://linz-bucket-config/config-write.basemaps.json,s3://linz-bucket-config/config.json
args:
- "config"
- "{{ inputs.parameters.path }}"
Expand Down Expand Up @@ -276,7 +276,7 @@ spec:
command: [node, index.cjs]
env:
- name: AWS_ROLE_CONFIG_PATH
value: s3://linz-bucket-config/config.json
value: s3://linz-bucket-config/config-write.basemaps.json,s3://linz-bucket-config/config.json
args:
- "-V"
- "create-overview"
Expand Down

0 comments on commit 3593b0d

Please sign in to comment.