-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Related to magda-io/magda#3229, Use magda-common for docker image rel…
…ated logic
- Loading branch information
Showing
8 changed files
with
80 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -107,3 +107,5 @@ dist | |
.vscode | ||
|
||
ckanApiKeysMap.json | ||
|
||
deploy/*/charts |
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 @@ | ||
deploy/*/charts |
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,5 @@ | ||
# 1.0.0 | ||
|
||
- Upgrade dependencies | ||
- Upgrade CI scripts | ||
- Related to https://github.com/magda-io/magda/issues/3229, Use magda-common for docker image related logic |
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,39 @@ | ||
# magda-minion-ckan-exporter | ||
|
||
MAGDA Minion for exporting datasets to CKAN | ||
|
||
## Description | ||
|
||
TLDR: This minion exports datasets as open data to a CKAN instance (e.g, data.gov.au) | ||
|
||
During the add dataset flow, in the `Access and User` section, | ||
the user can choose whether or not to publish the dataset as open data (`No` by default). | ||
|
||
At the moment, it only exports the dataset to data.gov.au. | ||
|
||
## How it works | ||
|
||
On publishing of the dataset to MAGDA, the minion will create an equivalent CKAN package | ||
and upload it to CKAN via the [CKAN Api](https://docs.ckan.org/en/ckan-2.7.3/api/) and | ||
store the `CkanId` returned by CKAN. | ||
|
||
If the dataset is edited, the entire dataset is uploaded again, but as an update. | ||
|
||
If the user chooses to not have the dataset available as open data anymore, the dataset | ||
is deleted from the CKAN instance. | ||
|
||
### Local Dev | ||
|
||
For instructions on working on this minion, refer to [local-dev.md](./local-dev.md). | ||
|
||
If you would like to build a connector or a minion for MAGDA, | ||
here is a handy | ||
[guide](https://github.com/magda-io/magda/blob/master/docs/docs/how-to-build-your-own-connectors-minions.md). | ||
|
||
{{ template "chart.maintainersSection" . }} | ||
|
||
{{ template "chart.requirementsSection" . }} | ||
|
||
{{ template "chart.valuesHeader" . }} | ||
|
||
{{ template "chart.valuesTable" . }} |
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 |
---|---|---|
@@ -1,8 +1,13 @@ | ||
apiVersion: v2 | ||
description: A Helm chart for Kubernetes | ||
name: magda-minion-ckan-exporter | ||
description: A Helm chart for Magda CKAN Exporter Minion | ||
version: "0.0.57-0" | ||
kubeVersion: ">= 1.14.0-0" | ||
home: "https://github.com/magda-io/magda-minion-ckan-exporter" | ||
sources: ["https://github.com/magda-io/magda-minion-ckan-exporter"] | ||
annotations: | ||
magdaModuleType: "minion" | ||
dependencies: | ||
- name: magda-common | ||
version: "1.0.0-alpha.4" | ||
repository: "https://charts.magda.io" |
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