Skip to content
This repository was archived by the owner on Jun 1, 2022. It is now read-only.
This repository was archived by the owner on Jun 1, 2022. It is now read-only.

CI/CD: Use workflow_run Event to create dependencies between CI/CD Workflows #66

Description

@mrzzy

Problem

Currently, the CI/CD workflows run independently and concurrently of each other:

  • Since ordering is not defined, CD could run before the CI, potentially deploying bad artifacts which could have been caught by the tests run by the CI.
  • There is duplication of code between the workflows. ie all 3 workflows build the bentobox-engineimage from scratch.

Proposal

  • Introduce workflow dependency by triggering CD when CI completes with the workflow_run event:
  • Move all building of artifacts to CI, CD to use built artifacts from CI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions