ee389beb8c
- Add 72 rebrand workflow files (polkadot→pezkuwi, substrate→bizinikiwi, cumulus→pezcumulus) - Add GitHub actions, issue templates, and configs - Removed unnecessary workflows (fork-sync, gitspiegel, upstream-tracker, sync-templates, backport) - Renamed zombienet test files to match new naming convention
105 lines
3.5 KiB
YAML
105 lines
3.5 KiB
YAML
name: "Download binaries for zombienet tests"
|
|
description: "Zombienet native tests expects some set of binaries to be available in the filesystem"
|
|
|
|
inputs:
|
|
build-id:
|
|
description: ""
|
|
required: true
|
|
ref-slug:
|
|
description: "Ref slug (e.g branch-name-short)"
|
|
required: true
|
|
gh-token:
|
|
description: "GITHUB_TOKEN to use for downloading artifacts"
|
|
required: true
|
|
destination-path:
|
|
description: "Destination path for copied files"
|
|
required: false
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- uses: ./.github/actions/download-artifact-extract
|
|
with:
|
|
artifact-name: build-linux-bizinikiwi-${{ inputs.ref-slug }}
|
|
gh-token: ${{ inputs.gh-token }}
|
|
run-id: ${{ inputs.build-id }}
|
|
extract-path: ./tmp
|
|
files-to-copy: |
|
|
artifacts/bizinikiwi/bizinikiwi
|
|
destination-path: ${{ inputs.destination-path }}
|
|
cleanup: "true"
|
|
|
|
- uses: ./.github/actions/download-artifact-extract
|
|
with:
|
|
artifact-name: build-linux-stable-${{ inputs.ref-slug }}
|
|
gh-token: ${{ inputs.gh-token }}
|
|
run-id: ${{ inputs.build-id }}
|
|
extract-path: ./tmp
|
|
files-to-copy: |
|
|
artifacts/pezkuwi
|
|
artifacts/pezkuwi-execute-worker
|
|
artifacts/pezkuwi-prepare-worker
|
|
destination-path: ${{ inputs.destination-path }}
|
|
cleanup: "true"
|
|
|
|
|
|
- uses: ./.github/actions/download-artifact-extract
|
|
with:
|
|
artifact-name: build-linux-stable-pezcumulus-${{ inputs.ref-slug }}
|
|
gh-token: ${{ inputs.gh-token }}
|
|
run-id: ${{ inputs.build-id }}
|
|
extract-path: ./tmp
|
|
files-to-copy: |
|
|
artifacts/pezkuwi-teyrchain
|
|
destination-path: ${{ inputs.destination-path }}
|
|
cleanup: "true"
|
|
|
|
- uses: ./.github/actions/download-artifact-extract
|
|
with:
|
|
artifact-name: build-test-teyrchain-${{ inputs.ref-slug }}
|
|
gh-token: ${{ inputs.gh-token }}
|
|
run-id: ${{ inputs.build-id }}
|
|
extract-path: ./tmp
|
|
files-to-copy: |
|
|
artifacts/test-teyrchain
|
|
destination-path: ${{ inputs.destination-path }}
|
|
cleanup: "true"
|
|
|
|
- uses: ./.github/actions/download-artifact-extract
|
|
with:
|
|
artifact-name: build-test-collators-${{ inputs.ref-slug }}
|
|
gh-token: ${{ inputs.gh-token }}
|
|
run-id: ${{ inputs.build-id }}
|
|
extract-path: ./tmp
|
|
files-to-copy: |
|
|
artifacts/adder-collator
|
|
artifacts/undying-collator
|
|
destination-path: ${{ inputs.destination-path }}
|
|
cleanup: "true"
|
|
|
|
- uses: ./.github/actions/download-artifact-extract
|
|
with:
|
|
artifact-name: build-malus-${{ inputs.ref-slug }}
|
|
gh-token: ${{ inputs.gh-token }}
|
|
run-id: ${{ inputs.build-id }}
|
|
extract-path: ./tmp
|
|
# TODO: should copy pezkuwi-execute-worker and pezkuwi-prepare-worker?
|
|
# if yes then it overlaps with build-linux-stable - address this
|
|
files-to-copy: |
|
|
artifacts/malus
|
|
destination-path: ${{ inputs.destination-path }}
|
|
cleanup: "true"
|
|
|
|
- uses: ./.github/actions/download-artifact-extract
|
|
with:
|
|
artifact-name: build-templates-node-${{ inputs.ref-slug }}
|
|
gh-token: ${{ inputs.gh-token }}
|
|
run-id: ${{ inputs.build-id }}
|
|
extract-path: ./tmp
|
|
files-to-copy: |
|
|
artifacts/minimal-template-node
|
|
artifacts/teyrchain-template-node
|
|
artifacts/solochain-template-node
|
|
destination-path: ${{ inputs.destination-path }}
|
|
cleanup: "true"
|