Skip to content
This repository has been archived by the owner on Aug 24, 2023. It is now read-only.

@defimetachain/testsuite-docker-sanity: MetaChain Container Sanity Workflow #131

Open
fuxingloh opened this issue Oct 31, 2022 · 4 comments

Comments

@fuxingloh
Copy link
Contributor

What would you like to be added:

For .github/workflows/release-docker.yml, we need to ensure the workflow released can run on all silicon architecture. This also acts as a set of sanity tests to ensure each docker image can be run after building.

We should do this in jest and call it packages/testsuite-docker-sanity.

Why is this needed:

Shift left workflow for #61 and #62


/triage accepted
/assign @fuxingloh

@fuxingloh fuxingloh added the kind/feature New feature request label Oct 31, 2022
@fuxingloh fuxingloh added this to the MetaChain Iterative TestNet milestone Oct 31, 2022
@fuxingloh fuxingloh changed the title MetaChain Container Sanity Workflow @defimetachain/testsuite-docker-sanity: MetaChain Container Sanity Workflow Oct 31, 2022
@defichain-bot
Copy link
Member

@fuxingloh: There are no 'area' labels on this issue. Adding an appropriate label will greatly expedite the process for us. You can add as many area as you see fit. If you are unsure what to do you can ignore this!

You can add area labels by leaving a /area comment.

Details

I am a bot created to help the DeFiCh developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository.

@defichain-bot defichain-bot added triage/accepted Triage has been accepted needs/area Needs area label(s) labels Oct 31, 2022
@fuxingloh
Copy link
Contributor Author

/area testsuite

@mambisi
Copy link

mambisi commented Nov 1, 2022

@fuxingloh , I looked for multiple solution, the best is using https://github.com/pguyot/arm-runner-action for testing arm builds but its using an arm vm under the hood. for real, testing we have to use a self-hosted runner similar to what defichain is using to test on multiple platform. refer to actions/runner-images#2552 has discussion on buildx and qemu on GitHub actions

@fuxingloh
Copy link
Contributor Author

Hmm. Let's wait for the official support of non-self-hosted arm-runners from GitHub.

For now, let's just do basic Container testing for builds in @defimetachain/testsuite-docker-sanity via a different OS first.

jobs:
  sanity:
    name: Testsuite Docker Sanity
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ubuntu-latest, windows-latest, macos-latest]

@fuxingloh fuxingloh added the priority/urgent-now Urgent fix, as fast as possible label Nov 16, 2022
@fuxingloh fuxingloh added priority/important-soon Will be important soon and removed priority/urgent-now Urgent fix, as fast as possible priority/important-soon Will be important soon labels Nov 23, 2022
@fuxingloh fuxingloh assigned DieHard073055 and unassigned mambisi Nov 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants