Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
auricom committed Sep 24, 2024
1 parent f7e1380 commit ab4d647
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 9 deletions.
3 changes: 2 additions & 1 deletion .github/scripts/prepare-matrices.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ def get_app_metadata(subdir, meta, forRelease=False, channels=None):

platformToBuild["build_command"] = toBuild["build_command"]
platformToBuild["publish_artifacts"] = meta["publish_artifacts"]
platformToBuild["update_modules"] = channel["update_modules"]
platformToBuild["update_modules_enabled"] = channel["update_modules"]["enabled"]
platformToBuild["update_modules_branch"] = channel["update_modules"]["branch"]

appsToBuild["appsPlatforms"].append(platformToBuild)
appsToBuild["apps"].append(toBuild)
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/build-applications.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,11 @@ jobs:
check-latest: true

- name: Update go modules
if: ${{ matrix.app.update_modules }}
if: ${{ matrix.app.update_modules_enabled }}
run: |
set -x
cd ${{ matrix.app.repository }}/${{ matrix.app.path }}
COSMOSSDK_BRANCH=${{ matrix.app.branch }} ${{ github.workspace }}/nightly-stack/.github/scripts/update-go-modules.sh
COSMOSSDK_BRANCH=${{ matrix.app.update_modules_branch }} ${{ github.workspace }}/nightly-stack/.github/scripts/update-go-modules.sh
- name: show output of modified go.sum and go.mod
run: |
Expand Down Expand Up @@ -142,7 +142,8 @@ jobs:
START_TIME=$(date +%s)
cd ${{ matrix.app.repository }}/${{ matrix.app.path }}
${{ matrix.app.tests_command }} > ./output.log 2>1 &
${{ matrix.app.tests_command }}
${{ steps.build.outputs.gobin }} start > ./output.log 2>1 &
APP_PID=$!
Expand Down
2 changes: 1 addition & 1 deletion apps/cosmos-sdk-comet/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ channels:
update_modules: false
tests:
enabled: true
command: make init-simapp && simd start
command: make init-simapp
2 changes: 1 addition & 1 deletion apps/cosmos-sdk/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ channels:
update_modules: true
tests:
enabled: true
command: make init-simapp && simd start
command: make init-simapp
- name: v0.50.x
branch: refs/heads/release/v0.50.x
platforms: ["linux/amd64","linux/arm64"]
Expand Down
2 changes: 1 addition & 1 deletion apps/ibc-go/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ channels:
update_modules: true
tests:
enabled: true
command: make init-simapp && simd start
command: make init-simapp
6 changes: 4 additions & 2 deletions apps/ignite-example/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ channels:
- name: master
platforms: ["linux/amd64","linux/arm64"]
branch: master
update_modules: true
update_modules:
enabled: true
cosmossdk_branch: main
tests:
enabled: true
command: make init-simapp && simd start
command: make init-simapp

0 comments on commit ab4d647

Please sign in to comment.