-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4685 from UNDP-Data/release/develop-to-main
[RELEASE] Merge develop to main
- Loading branch information
Showing
531 changed files
with
22,677 additions
and
20,351 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 |
---|---|---|
|
@@ -167,6 +167,7 @@ jobs: | |
environment: | ||
name: Svelte UNDP Design | ||
url: https://svelte-undp-design.undpgeohub.org/ | ||
|
||
steps: | ||
- name: checkout code repository | ||
uses: actions/checkout@v4 | ||
|
@@ -190,13 +191,17 @@ jobs: | |
- name: deploy storybook to Blob container | ||
if: ${{ (github.ref == 'refs/heads/develop') }} | ||
uses: bacongobbler/azure-blob-storage-upload@main | ||
uses: azure/CLI@v2 | ||
with: | ||
source_dir: packages/svelte-undp-design/storybook-static | ||
container_name: $web | ||
connection_string: ${{ secrets.AZURE_STORAGE_CONNECTION_STRING_STORYBOOK }} | ||
# WARNING: this will overwrite existing blobs in your blob storage | ||
sync: "true" | ||
azcliversion: 2.67.0 | ||
# azcopy workadound https://github.com/Azure/azure-cli/issues/30635 | ||
inlineScript: | | ||
tdnf install -y azcopy; | ||
az storage blob sync \ | ||
--container '$web' \ | ||
--source "packages/svelte-undp-design/storybook-static" \ | ||
--connection-string "${{ secrets.AZURE_STORAGE_CONNECTION_STRING_STORYBOOK }}" \ | ||
--delete-destination true | ||
build-and-deploy-undp-components: | ||
name: Build and deploy svelte UNDP components storybook | ||
|
@@ -209,6 +214,7 @@ jobs: | |
environment: | ||
name: Svelte UNDP Components | ||
url: https://svelte-undp-components.undpgeohub.org/ | ||
|
||
steps: | ||
- name: checkout code repository | ||
uses: actions/checkout@v4 | ||
|
@@ -233,13 +239,17 @@ jobs: | |
- name: deploy storybook to Blob container | ||
if: ${{ (github.ref == 'refs/heads/develop') }} | ||
uses: bacongobbler/azure-blob-storage-upload@main | ||
uses: azure/CLI@v2 | ||
with: | ||
source_dir: packages/svelte-undp-components/storybook-static | ||
container_name: $web | ||
connection_string: ${{ secrets.AZURE_STORAGE_CONNECTION_STRING_STORYBOOK }} | ||
# WARNING: this will overwrite existing blobs in your blob storage | ||
sync: "true" | ||
azcliversion: 2.67.0 | ||
# azcopy workadound https://github.com/Azure/azure-cli/issues/30635 | ||
inlineScript: | | ||
tdnf install -y azcopy; | ||
az storage blob sync \ | ||
--container '$web' \ | ||
--source "packages/svelte-undp-components/storybook-static" \ | ||
--connection-string "${{ secrets.AZURE_STORAGE_CONNECTION_STRING_STORYBOOK }}" \ | ||
--delete-destination true | ||
build-and-deploy-userguide: | ||
name: Build and deploy GeoHub userguide | ||
|
@@ -289,22 +299,31 @@ jobs: | |
|
||
- name: deploy userguide to Blob container Prod | ||
if: ${{ (github.ref == 'refs/heads/main') }} | ||
uses: bacongobbler/azure-blob-storage-upload@main | ||
uses: azure/CLI@v2 | ||
with: | ||
source_dir: documentation/site | ||
container_name: $web | ||
connection_string: ${{ secrets.AZURE_STORAGE_CONNECTION_STRING_USERGUIDE }} | ||
# WARNING: this will overwrite existing blobs in your blob storage | ||
sync: "true" | ||
azcliversion: 2.67.0 | ||
# azcopy workadound https://github.com/Azure/azure-cli/issues/30635 | ||
inlineScript: | | ||
tdnf install -y azcopy; | ||
az storage blob sync \ | ||
--container '$web' \ | ||
--source "documentation/site" \ | ||
--connection-string "${{ secrets.AZURE_STORAGE_CONNECTION_STRING_USERGUIDE }}" \ | ||
--delete-destination true | ||
- name: deploy userguide to Blob container Dev | ||
if: ${{ github.ref == 'refs/heads/develop' }} | ||
uses: bacongobbler/azure-blob-storage-upload@main | ||
uses: azure/CLI@v2 | ||
with: | ||
source_dir: documentation/site | ||
container_name: $web | ||
connection_string: ${{ secrets.AZURE_STORAGE_CONNECTION_STRING_USERGUIDE_DEV }} | ||
# WARNING: this will overwrite existing blobs in your blob storage | ||
sync: "true" | ||
azcliversion: 2.67.0 | ||
# azcopy workadound https://github.com/Azure/azure-cli/issues/30635 | ||
inlineScript: | | ||
tdnf install -y azcopy; | ||
az storage blob sync \ | ||
--container '$web' \ | ||
--source "documentation/site" \ | ||
--connection-string "${{ secrets.AZURE_STORAGE_CONNECTION_STRING_USERGUIDE_DEV }}" \ | ||
--delete-destination true | ||
build_static_api_acr: | ||
name: Build and deploy Static Image API to ACR | ||
|
@@ -394,16 +413,16 @@ jobs: | |
uses: actions/checkout@v4 | ||
|
||
- name: Deploy pgtileserv to kubernetes | ||
uses: actions-hub/[email protected].0 | ||
uses: actions-hub/[email protected].1 | ||
with: | ||
args: apply -f backends/k8s/pgtileserv/yaml/pgtileserv-deployment.yaml | ||
|
||
- name: Delete Secrets for pgtileserv | ||
uses: actions-hub/[email protected].0 | ||
uses: actions-hub/[email protected].1 | ||
with: | ||
args: delete secret pgtileserv-secrets --ignore-not-found -n ${{ env.PGTILESERV_NAMESPACE }} | ||
- name: Create Secrets for pgtileserv | ||
uses: actions-hub/[email protected].0 | ||
uses: actions-hub/[email protected].1 | ||
with: | ||
args: create secret generic pgtileserv-secrets --from-literal=DATABASE_URL=${{ secrets.DATABASE_URL }} -n ${{ env.PGTILESERV_NAMESPACE }} | ||
|
||
|
@@ -421,15 +440,15 @@ jobs: | |
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Delete Secrets | ||
uses: actions-hub/[email protected].0 | ||
uses: actions-hub/[email protected].1 | ||
with: | ||
args: delete secret ingest-secrets --ignore-not-found -n ${{ env.DEPLOYMENT_NAMESPACE }} | ||
- name: Create Secrets | ||
uses: actions-hub/[email protected].0 | ||
uses: actions-hub/[email protected].1 | ||
with: | ||
args: create secret generic ingest-secrets --from-literal=AZURE_STORAGE_CONNECTION_STRING=${{ secrets.AZURE_STORAGE_CONNECTION_STRING }} --from-literal=SERVICE_BUS_CONNECTION_STRING=${{ secrets.SERVICE_BUS_CONNECTION_STRING }} --from-literal=AZURE_WEBPUBSUB_CONNECTION_STRING=${{ secrets.AZURE_WEBPUBSUB_CONNECTION_STRING }} -n ${{ env.DEPLOYMENT_NAMESPACE }} | ||
- name: Deploy ingest to kubernetes | ||
uses: actions-hub/[email protected].0 | ||
uses: actions-hub/[email protected].1 | ||
env: | ||
SERVICE_BUS_CONNECTION_STRING: ${{ secrets.SERVICE_BUS_CONNECTION_STRING }} | ||
with: | ||
|
@@ -450,7 +469,7 @@ jobs: | |
uses: actions/checkout@v4 | ||
|
||
- name: Deploy cogserver-dev to kubernetes | ||
uses: actions-hub/[email protected].0 | ||
uses: actions-hub/[email protected].1 | ||
with: | ||
args: apply -f backends/k8s/cogserver/yaml/cogserver-dev-deployment.yaml | ||
|
||
|
@@ -469,7 +488,7 @@ jobs: | |
uses: actions/checkout@v4 | ||
|
||
- name: Deploy cogserver to kubernetes | ||
uses: actions-hub/[email protected].0 | ||
uses: actions-hub/[email protected].1 | ||
with: | ||
args: apply -f backends/k8s/cogserver/yaml/cogserver-deployment.yaml | ||
|
||
|
@@ -488,15 +507,15 @@ jobs: | |
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Delete Secrets | ||
uses: actions-hub/[email protected].0 | ||
uses: actions-hub/[email protected].1 | ||
with: | ||
args: delete secret stac-secrets --ignore-not-found -n ${{ env.DEPLOYMENT_NAMESPACE }} | ||
- name: Create Secrets | ||
uses: actions-hub/[email protected].0 | ||
uses: actions-hub/[email protected].1 | ||
with: | ||
args: create secret generic stac-secrets --from-literal=AZURE_STORAGE_CONNECTION_STRING=${{ secrets.AZURE_STORAGE_CONNECTION_STRING }} --from-literal=AZURE_SERVICE_BUS_CONNECTION_STRING=${{ secrets.AZURE_SERVICE_BUS_CONNECTION_STRING }} --from-literal=AZURE_SERVICE_BUS_QUEUE_NAME=${{ env.AZURE_SERVICE_BUS_QUEUE_NAME }} -n ${{ env.DEPLOYMENT_NAMESPACE }} | ||
args: create secret generic stac-secrets --from-literal=AZURE_STORAGE_CONNECTION_STRING=${{ secrets.AZURE_STORAGE_CONNECTION_STRING }} --from-literal=AZURE_SERVICE_BUS_CONNECTION_STRING=${{ secrets.AZURE_SERVICE_BUS_CONNECTION_STRING }} --from-literal=AZURE_SERVICE_BUS_QUEUE_NAME=${{ env.AZURE_SERVICE_BUS_QUEUE_NAME }} --from-literal=EOG_USER=${{ secrets.EOG_USER }} --from-literal=EOG_PASSWORD=${{ secrets.EOG_PASSWORD }} -n ${{ env.DEPLOYMENT_NAMESPACE }} | ||
- name: Deploy ingest to kubernetes | ||
uses: actions-hub/[email protected].0 | ||
uses: actions-hub/[email protected].1 | ||
env: | ||
AZURE_SERVICE_BUS_CONNECTION_STRING: ${{ secrets.AZURE_SERVICE_BUS_CONNECTION_STRING }} | ||
with: | ||
|
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 |
---|---|---|
@@ -1 +1 @@ | ||
22.12.0 | ||
22.13.1 |
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
4 changes: 2 additions & 2 deletions
4
...ager/yaml/cloudflare-apitoken-secret.yaml → ...anager/yaml/cloudflare-apikey-secret.yaml
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,8 @@ | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: cloudflare-api-token-secret | ||
name: cloudflare-api-key | ||
namespace: cert-manager | ||
type: Opaque | ||
stringData: | ||
api-token: $CLOUDFLARE_API_TOKEN | ||
api-key: $CLOUDFLARE_API_KEY |
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 |
---|---|---|
|
@@ -12,10 +12,9 @@ spec: | |
- dns01: | ||
cloudflare: | ||
email: [email protected] | ||
apiTokenSecretRef: | ||
name: cloudflare-api-token-secret | ||
key: api-token | ||
apiKeySecretRef: | ||
name: cloudflare-api-key | ||
key: api-key | ||
selector: | ||
dnsZones: | ||
- 'undpgeohub.org' | ||
- '*.undpgeohub.org' | ||
- 'undpgeohub.org' |
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 |
---|---|---|
|
@@ -20,7 +20,7 @@ spec: | |
# Replace the section below with your DNS01 provider | ||
cloudflare: | ||
email: [email protected] | ||
apiTokenSecretRef: | ||
name: cloudflare-api-token-secret | ||
key: api-token | ||
apiKeySecretRef: | ||
name: cloudflare-api-key | ||
key: api-key | ||
|
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
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,3 +1,6 @@ | ||
AZURE_STORAGE_CONNECTION_STRING= | ||
AZURE_SERVICE_BUS_CONNECTION_STRING= | ||
AZURE_SERVICE_BUS_QUEUE_NAME=undp-stac-pipeline | ||
AZURE_SERVICE_BUS_QUEUE_NAME=undp-stac-pipeline | ||
# see https://eogdata.mines.edu/products/register/ | ||
EOG_USER= | ||
EOG_PASSWORD= |
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
Oops, something went wrong.