-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
note: this code has been copied across from [linz/imagery/.github/workflows/publish.yaml](https://github.com/linz/imagery/blob/master/.github/workflows/publish.yml) The intention of this change is to add the argo steps in order to support the automation of publishing to the ODR. However, there are some other changes as well (like renaming and version updates) in order to keep the two publish workflows almost identical - making any future updates easier. depends on: linz/topo-aws-infrastructure#336
- Loading branch information
1 parent
4ca37ff
commit 28cd831
Showing
2 changed files
with
92 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# ODR Copy Workflow Parameters | ||
|
||
This folder contains the parameter yaml files generated by the `publish-odr` argo workflow. | ||
|
||
## How it Works: | ||
|
||
### Step 1: Submit the publish-odr workflow using Argo | ||
|
||
See [publish-odr](https://github.com/linz/topo-workflows/blob/master/workflows/raster/publish-odr.yaml) for more details. | ||
|
||
### Step 2: Review and Approve | ||
|
||
- Review and approve the STAC metadata and basemaps config preview link. | ||
- Review the target path in the parameters yaml file. | ||
|
||
Example parameters file: | ||
|
||
```yaml | ||
source: 's3://path/to/source/' | ||
target: 's3://path/to/target/' | ||
``` | ||
> [!Tip] | ||
> If the parameters are incorrect or additional parameters are required they can be updated/added here. | ||
> See the [copy workflow](https://github.com/linz/topo-workflows/tree/master/workflows/raster#copy) for additonal parameter options & default values. | ||
### Step 3: Merge Pull Request | ||
Once the pull request has been merged the [publish.yml](../.github/workflows/publish.yml) Github Action will run. | ||
This will: | ||
- Create a `catalog.json`. | ||
- Validate the STAC. | ||
- Submit a `copy` argo workflow for any added or modified parameter files in the `./publish-odr-parameters/` folder. | ||
- Sync the `catalog.json` & `collection.json` created in this PR with the ODR bucket. |