From 886255eb694409f91fec14cc9fab46122fa34de4 Mon Sep 17 00:00:00 2001 From: Zachary Brown Date: Thu, 5 Oct 2023 16:01:50 -0700 Subject: [PATCH 1/3] ci: visibility into change config.py file --- .github/workflows/build-installers.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-installers.yaml b/.github/workflows/build-installers.yaml index cbc93dc..18dbf90 100644 --- a/.github/workflows/build-installers.yaml +++ b/.github/workflows/build-installers.yaml @@ -125,6 +125,7 @@ jobs: if: matrix.preconfiguration.name != 'default' run: | perl -pi -e 's{CADT_API_SERVER_HOST:\ str\ =.*}{CADT_API_SERVER_HOST:\ str\ =\ \"${{ matrix.preconfiguration.cadt-api-server-host }}\"}g' app/config.py + cat app/config.py - name: Create virtual environment uses: Chia-Network/actions/create-venv@main From cca33ce016c0cbde05f1f532dd1447b924db0e5c Mon Sep 17 00:00:00 2001 From: Zachary Brown Date: Thu, 5 Oct 2023 16:35:46 -0700 Subject: [PATCH 2/3] fix: update the default cadt api host --- config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.yaml b/config.yaml index c96e434..de415d2 100644 --- a/config.yaml +++ b/config.yaml @@ -4,7 +4,7 @@ CLIMATE_EXPLORER_SERVER_HOST: 0.0.0.0 BLOCK_START: 1500000 BLOCK_RANGE: 10000 MIN_DEPTH: 4 -CADT_API_SERVER_HOST: https://api.climatewarehouse.chia.net +CADT_API_SERVER_HOST: https://observer.climateactiondata.org/api CADT_API_KEY: CHIA_HOSTNAME: localhost CHIA_FULL_NODE_RPC_PORT: 8555 From 2491ad907bd61b3c73a9cc185f976d3cbd1e43cd Mon Sep 17 00:00:00 2001 From: Zachary Brown Date: Thu, 5 Oct 2023 16:37:46 -0700 Subject: [PATCH 3/3] ci: update preconfiguration code for config.yaml --- .github/workflows/build-installers.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-installers.yaml b/.github/workflows/build-installers.yaml index 18dbf90..78cf14f 100644 --- a/.github/workflows/build-installers.yaml +++ b/.github/workflows/build-installers.yaml @@ -125,7 +125,8 @@ jobs: if: matrix.preconfiguration.name != 'default' run: | perl -pi -e 's{CADT_API_SERVER_HOST:\ str\ =.*}{CADT_API_SERVER_HOST:\ str\ =\ \"${{ matrix.preconfiguration.cadt-api-server-host }}\"}g' app/config.py - cat app/config.py + perl -pi -e 's{CADT_API_SERVER_HOST:.*}{CADT_API_SERVER_HOST:\ \"${{ matrix.preconfiguration.cadt-api-server-host }}\"}g' config.yaml + cat config.yaml - name: Create virtual environment uses: Chia-Network/actions/create-venv@main