From 8d58350762cbb4496dcec36d108d010e081a78d9 Mon Sep 17 00:00:00 2001 From: ori Date: Wed, 7 Aug 2024 21:28:58 +0300 Subject: [PATCH] add rehovot, update create instance procedure --- docs/CREATE_INSTANCE.md | 21 ++++----------------- workflows/values.yaml | 1 + 2 files changed, 5 insertions(+), 17 deletions(-) diff --git a/docs/CREATE_INSTANCE.md b/docs/CREATE_INSTANCE.md index 9f2a5a0..deb970e 100644 --- a/docs/CREATE_INSTANCE.md +++ b/docs/CREATE_INSTANCE.md @@ -17,6 +17,7 @@ See hasadna/nasadna-iac repo for details ## Create instance Run the Jenkins job `create-instance` + * set the values for S3_FILESTORE_AWS_ACCESS_KEY_ID and S3_FILESTORE_AWS_SECRET_ACCESS_KEY from vault path `Projects/datacity/sites/INSTANCE_NAME/storage-iac` ## Update instance @@ -43,7 +44,7 @@ Redeploy the ckan dgp server in hasadna cluster - namespace: `datacity`, deploym Login to the ckan dgp server - https://ckan-dgp.datacity.org.il/ -Create new processing tasks (replace NAME with the instance name): +Create new processing task (replace NAME with the instance name): * name: CITY NAME - initialize * Kind: initialize datacity ckan instances @@ -53,20 +54,6 @@ Create new processing tasks (replace NAME with the instance name): * schedule: manual * visibility: public * View Status > Trigger Task -* name: CITY NAME - xlsx processing - * Kind: continous processing tasks for datacity ckan instances - * ckan instance: NAME - * processing task to run: xlsx - * schedule: hourly - * visibility: public - * View Status > Trigger Task -* name: CITY NAME - geojson processing - * Kind: continous processing tasks for datacity ckan instances - * ckan instance: NAME - * processing task to run: geojson - * schedule: hourly - * visibility: public - * View Status > Trigger Task Create organization for the instance in מידע לעם - should be the same name and icon as the city organization in the instance. @@ -89,6 +76,6 @@ Create a processing task in ckan-dgp: * visibility: public * View Status > Trigger Task -## Add site status checks +## Update Workflows -Run hasadna-iac apply to create status checks for all the sites +Edit in this repo `workflows/values.yaml` and add the instance name under `continuousProcessingTasksInstanceWorkflows`, commit & push diff --git a/workflows/values.yaml b/workflows/values.yaml index 5c4108b..3e4826c 100644 --- a/workflows/values.yaml +++ b/workflows/values.yaml @@ -109,6 +109,7 @@ continuousProcessingTasksInstanceWorkflows: rishonlezion: {} kfar-saba: {} test: {} + rehovot: {} gisFetcherInstanceOrganizationWorkflows: haifa: