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

Allow skipping builds before e2e #253

Open
mvarendorff opened this issue Dec 10, 2023 · 2 comments
Open

Allow skipping builds before e2e #253

mvarendorff opened this issue Dec 10, 2023 · 2 comments
Labels
chore Cleaning up the codebase

Comments

@mvarendorff
Copy link
Member

See fe43339 for setup.

Needs a long term solution on cron trigger to make sure retagged versions are cleaned up as well.

Use

on:
  pull_request:
    types:
      - closed

as trigger on a new workflow to clean up tagged versions with the existing clean job.

@mvarendorff
Copy link
Member Author

Use bots-house/ghcr-delete-image-action#6 for cleaning up

@mvarendorff mvarendorff added the chore Cleaning up the codebase label Dec 10, 2023
@mvarendorff
Copy link
Member Author

Plan would be:

  • PR builds get retagged with pr- so the replaced ones automatically get cleaned up + tagged ones get explicitly cleaned on close / merge
  • master builds (i.e. staging) get retagged with master so the replaced ones automatically get cleaned up as well
  • tagged builds (i.e. production) are tagged properly with their version so they can be rolled back to easily

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Cleaning up the codebase
Projects
None yet
Development

No branches or pull requests

1 participant