-
Notifications
You must be signed in to change notification settings - Fork 3
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 #200 from Chia-Network/quex.wtf_tests
[CHIA-1259] Update chia-blockchain to 2.4.3
- Loading branch information
Showing
15 changed files
with
1,215 additions
and
967 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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
MODE="dev" | ||
CHIA_ROOT="~/.chia/testnet10" | ||
CONFIG_PATH="climate_token/config/config.yaml" | ||
SERVER_PORT=31999 |
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 |
---|---|---|
|
@@ -5,10 +5,10 @@ on: | |
branches: | ||
- stage | ||
tags: | ||
- '**' | ||
- "**" | ||
pull_request: | ||
branches: | ||
- '**' | ||
- "**" | ||
workflow_dispatch: {} | ||
|
||
concurrency: | ||
|
@@ -32,22 +32,22 @@ jobs: | |
app-name: climate-tokenization-chia | ||
app-mode: registry | ||
app-description: "Carbon tokenization application on the Chia blockchain" | ||
add-to-apt: 'true' | ||
add-to-apt: "true" | ||
- name: explorer | ||
app-name: climate-explorer-chia | ||
app-mode: explorer | ||
app-description: "Interface for tracking Chia on-chain carbon tokens" | ||
add-to-apt: 'true' | ||
add-to-apt: "true" | ||
- name: client | ||
app-name: climate-token-driver | ||
app-mode: client | ||
app-description: "Embedded climate token driver for carbon tokens on the Chia blockchain" | ||
add-to-apt: 'false' | ||
add-to-apt: "false" | ||
- name: dev | ||
app-name: dev-token-driver-chia | ||
app-mode: dev | ||
app-description: "Token driver in dev mode" | ||
add-to-apt: 'false' | ||
add-to-apt: "false" | ||
|
||
os: | ||
- name: Linux | ||
|
@@ -57,22 +57,22 @@ jobs: | |
arm: [Linux, ARM64] | ||
intel: [ubuntu-latest] | ||
artifact-os-name: linux | ||
executable-extension: '' | ||
executable-extension: "" | ||
- name: macOS | ||
matrix: macos | ||
emoji: 🍎 | ||
runs-on: | ||
arm: [macOS, ARM64] | ||
intel: [macos-12] | ||
artifact-os-name: macos | ||
executable-extension: '' | ||
executable-extension: "" | ||
- name: Windows | ||
matrix: windows | ||
emoji: 🪟 | ||
runs-on: | ||
intel: [windows-latest] | ||
artifact-os-name: windows | ||
executable-extension: '.exe' | ||
executable-extension: ".exe" | ||
arch: | ||
- name: ARM | ||
matrix: arm | ||
|
@@ -86,9 +86,9 @@ jobs: | |
electron-builder-options: --x64 | ||
preconfiguration: | ||
- name: default | ||
cadt-api-server-host: 'https://observer.climateactiondata.org/api' | ||
cadt-api-server-host: "https://observer.climateactiondata.org/api" | ||
- name: testneta | ||
cadt-api-server-host: 'https://chia-cadt-demo.chiamanaged.com/observer' | ||
cadt-api-server-host: "https://chia-cadt-demo.chiamanaged.com/observer" | ||
exclude: | ||
- os: | ||
matrix: windows | ||
|
@@ -111,18 +111,19 @@ jobs: | |
- name: Checkout Code | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: 'recursive' | ||
submodules: "recursive" | ||
|
||
- name: Setup Python | ||
uses: Chia-Network/actions/setup-python@main | ||
with: | ||
python-version: '3.10' | ||
python-version: "3.10" | ||
|
||
- name: Create .env file | ||
run: | | ||
echo "MODE=${{ matrix.config.app-mode }}" > .env | ||
echo 'CHIA_ROOT="~/.chia/mainnet"' >> .env | ||
echo 'CONFIG_PATH="climate_token/config/config.yaml"' >> .env | ||
echo 'SERVER_PORT=31999' >> .env | ||
- name: Apply preconfigurations | ||
if: matrix.preconfiguration.name != 'default' | ||
|
@@ -242,9 +243,9 @@ jobs: | |
- name: Create zip files for release | ||
uses: thedoctor0/[email protected] | ||
with: | ||
type: 'zip' | ||
type: "zip" | ||
filename: ${{ matrix.config.app-name }}_${{ matrix.os.artifact-os-name }}_${{ steps.tag-name.outputs.TAGNAME || github.sha }}_${{ matrix.arch.artifact-name }}.zip | ||
directory: 'artifacts' | ||
directory: "artifacts" | ||
if: startsWith(github.ref, 'refs/tags/') && matrix.preconfiguration.name == 'default' | ||
|
||
- name: Release executable | ||
|
@@ -275,7 +276,6 @@ jobs: | |
retention-days: 1 | ||
if: startsWith(github.ref, 'refs/tags/') && matrix.os.matrix == 'linux' && matrix.config.add-to-apt == 'true' && matrix.arch.name == 'Intel' && matrix.preconfiguration.name == 'default' | ||
|
||
|
||
apt-upload: | ||
name: Trigger update in apt repo | ||
runs-on: ubuntu-latest | ||
|
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
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
Oops, something went wrong.