diff --git a/.github/scripts/prepare-matrices.py b/.github/scripts/prepare-matrices.py index 157b8dd..8fa4ee4 100644 --- a/.github/scripts/prepare-matrices.py +++ b/.github/scripts/prepare-matrices.py @@ -38,13 +38,16 @@ def get_app_metadata(subdir, meta, forRelease=False, channels=None): # App Name toBuild = {} - if channel.get("stable", False): - toBuild["name"] = meta["app"] - else: - toBuild["name"] = "-".join([meta["app"], channel["name"]]) + toBuild["name"] = meta["app"] + + toBuild["repository"] = meta["repository"] + toBuild["path"] = meta["path"] + toBuild["branch"] = channel["branch"] + toBuild["update_modules"] = channel["update_modules"] + toBuild["build_artifacts"] = meta["build_artifacts"] # Container Tags - toBuild["tags"] = [channel,f"{channel}-mods"] + toBuild["tags"] = [channel] # Platform Metadata for platform in channel["platforms"]: @@ -59,6 +62,9 @@ def get_app_metadata(subdir, meta, forRelease=False, channels=None): platformToBuild = {} platformToBuild["name"] = toBuild["name"] + platformToBuild["repository"] = toBuild["repository"] + platformToBuild["path"] = toBuild["path"] + platformToBuild["branch"] = toBuild["branch"] platformToBuild["platform"] = platform platformToBuild["target_os"] = target_os platformToBuild["target_arch"] = target_arch @@ -78,6 +84,9 @@ def get_app_metadata(subdir, meta, forRelease=False, channels=None): platformToBuild["tests_enabled"] = channel["tests"]["enabled"] and platform in TESTABLE_PLATFORMS + platformToBuild["build_artifacts"] = meta["build_artifacts"] + platformToBuild["update_modules"] = channel["update_modules"] + appsToBuild["appsPlatforms"].append(platformToBuild) appsToBuild["apps"].append(toBuild) return appsToBuild diff --git a/apps/cosmos-sdk/metadata.yaml b/apps/cosmos-sdk/metadata.yaml index 4f2b0c0..b6305ed 100644 --- a/apps/cosmos-sdk/metadata.yaml +++ b/apps/cosmos-sdk/metadata.yaml @@ -1,18 +1,27 @@ --- app: cosmos-sdk +repository: github.com/cosmos/cosmos-sdk +path: simapp +build_artifacts: true channels: - name: main platforms: ["linux/amd64","linux/arm64"] + branch: main + update_modules: true tests: enabled: true type: web - name: v0.50.x + branch: refs/heads/release/v0.50.x platforms: ["linux/amd64","linux/arm64"] + update_modules: true tests: enabled: true type: web - name: v0.52.x + branch: refs/heads/release/v0.52.x platforms: ["linux/amd64","linux/arm64"] + update_modules: false tests: enabled: true - type: web \ No newline at end of file + type: web diff --git a/apps/ibc-go/metadata.yaml b/apps/ibc-go/metadata.yaml new file mode 100644 index 0000000..21f23a5 --- /dev/null +++ b/apps/ibc-go/metadata.yaml @@ -0,0 +1,13 @@ +--- +app: ibc-go +repository: github.com/cosmos/ibc-go +path: simapp +build_artifacts: true +channels: + - name: main + platforms: ["linux/amd64","linux/arm64"] + branch: main + update_modules: true + tests: + enabled: true + type: web