Skip to content

Commit

Permalink
add rehovot, update create instance procedure
Browse files Browse the repository at this point in the history
  • Loading branch information
OriHoch committed Aug 7, 2024
1 parent 6bb8903 commit 8d58350
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 17 deletions.
21 changes: 4 additions & 17 deletions docs/CREATE_INSTANCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand All @@ -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.

Expand All @@ -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
1 change: 1 addition & 0 deletions workflows/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ continuousProcessingTasksInstanceWorkflows:
rishonlezion: {}
kfar-saba: {}
test: {}
rehovot: {}

gisFetcherInstanceOrganizationWorkflows:
haifa:
Expand Down

0 comments on commit 8d58350

Please sign in to comment.