Skip to content

Commit

Permalink
clean up release pipeline (#541) (#545)
Browse files Browse the repository at this point in the history
  • Loading branch information
Seun Lanlege authored Jan 23, 2022
1 parent 6ce56b4 commit 632e93e
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 164 deletions.
126 changes: 0 additions & 126 deletions .github/workflows/build-artifacts.yml

This file was deleted.

8 changes: 1 addition & 7 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,15 +89,9 @@ jobs:
run: |
rustup show
- uses: actions/checkout@v2
- name: Run Test (with coverage)
- name: Run Test
run: |
SKIP_WASM_BUILD=1 cargo test --workspace --locked --release --verbose --features=runtime-benchmarks --exclude=integration-tests
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: lcov.info
fail_ci_if_error: false
linters:
name: Linters
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ jobs:
- sre
strategy:
fail-fast: true
matrix:
runtime: [picasso]
steps:
- name: Clean up
continue-on-error: true
Expand Down Expand Up @@ -61,7 +59,7 @@ jobs:
npm run update-release-body -- --id=${{ steps.release_drafter.outputs.id }} --repo=composableFi/composable --body="$GITHUB_WORKSPACE/release.md"
cd $GITHUB_WORKSPACE
- name: Upload Compact Dali wasm
- name: Upload Dali wasm
id: upload-dali-wasm
if: env.dali_wasm == 1
uses: actions/upload-release-asset@v1
Expand All @@ -71,7 +69,7 @@ jobs:
asset_name: dali_runtime.compact.wasm
asset_content_type: application/octet-stream

- name: Upload Compact Picasso wasm
- name: Upload Picasso wasm
id: upload-picasso-wasm
if: env.picasso_wasm == 1
uses: actions/upload-release-asset@v1
Expand All @@ -81,7 +79,7 @@ jobs:
asset_name: picasso_runtime.compact.wasm
asset_content_type: application/octet-stream

- name: Upload Compact Composable wasm
- name: Upload Composable wasm
id: upload-composable-wasm
if: env.composable_wasm == 1
uses: actions/upload-release-asset@v1
Expand All @@ -91,7 +89,7 @@ jobs:
asset_name: composable_runtime.compact.wasm
asset_content_type: application/octet-stream

- name: 🔨 Build and Upload Composable Binary
- name: 🔨 Build Composable Binary
run: |
.maintain/client_release.sh
Expand Down
6 changes: 2 additions & 4 deletions .maintain/check_runtime.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,15 @@ simnode_check() {
VERSIONS_FILE="$1"
if has_runtime_changes "${BASE_BRANCH}" "${GITHUB_REF_NAME}" "$2" && check_runtime "$VERSIONS_FILE" "$2"
then
echo "Wasm sources have changed"
echo "Wasm sources have changed for $3"
echo "RUNTIME_CHECK=1" >> $GITHUB_ENV
else
echo "RUNTIME_CHECK=0" >> $GITHUB_ENV
fi
}

for i in "${VERSIONS_FILES[@]}"; do
while IFS=',' read -r output chain folder; do
boldprint "Check if the wasm sources changed for $chain"
simnode_check $output $folder
simnode_check $output $folder $chain
done <<< "$i"
done

Expand Down
21 changes: 0 additions & 21 deletions docker-compose.yml

This file was deleted.

0 comments on commit 632e93e

Please sign in to comment.