Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CU-1y23865] testnet-release #432

Closed
wants to merge 4 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/testnet-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: "Testnet Community Release"

on:
push:
branches:
- main

env:
CHAIN: "dali"
RELEASE_VERSION: "latest"

jobs:
build-and-publish:
runs-on:
- self-hosted
- linux
- x64
- sre
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
ref: main

- name: Build and Push Artifacts to gcloud
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i am not sure, so we may have markdown table of deploymentrs.
currenc script does not feels right for me

run: |
/home/runner/.cargo/bin/cargo build --release --bins --features develop
git rev-parse HEAD > revision
tar -czvf composable-${CHAIN}-${RELEASE_VERSION}.tar.gz target/release/composable
tar -czvf ${CHAIN}_runtime.compact.wasm-${RELEASE_VERSION}.tar.gz target/release/wbuild/rococo-runtime/rococo_runtime.compact.wasm
tar -czvf parachain-utils-${RELEASE_VERSION}.tar.gz target/release/parachain-utils
tar -czvf revision-${RELEASE_VERSION}.tar.gz revision
gsutil mv *.tar.gz gs://composable-binaries/testnet-releases/${CHAIN}/