The image can be modified in Excalidraw/Google Cloud Architecture Diagramming Tool
Launch the Codespace in GitHub using the codespace
branch. It will checkout the master branch, initialize the submodules, and rebuild the container. This process may take some minutes to finish.
Use Github Action to manage cloud functions.
gcloud scheduler jobs update pubsub import_meteoswiss_data --project $PROJECT --schedule="5 1 * * *" --topic="import_meteoswiss_data" --message-body="none" --time-zone="Europe/Zurich" --description="Trigger cloud function to import meteoswiss data"
Instructions to update data-sets in the Firestore test instance from production.
Use Github Action to create a clean test environment from the last production backup.
Check if cloud functions should be deployed or not depending on the use-case and what data is imported. Alternatively there is an UI available in Firestore.
gcloud --project=phaenonet --account=firestore-backup@phaenonet.iam.gserviceaccount.com firestore export gs://phaenonet-[backup-daily|backup-archive]/[backup-folder] --collection-ids=[collection_ids]
gcloud --project=phaenonet-test --account=firestore-backup@phaenonet-test.iam.gserviceaccount.com firestore import gs://phaenonet-[backup-daily|backup-archive]/[backup-folder] --collection-ids=[collection_ids]
Use act -j <job>
- update and rebuild, publish docker images
- rebuild devcontainer
- update
Pipfile
on minor version change & rebuild environment - update
RUNTIME
variable indeploy-functions.yml
- update container versions in
main.yml
(2x)
Edit Pipfile
and set new version
pipenv --rm
PIPENV_VENV_IN_PROJECT=1 pipenv update
pipenv sync --dev