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

Fix/continuous delivery #834

Open
wants to merge 3 commits into
base: staging
Choose a base branch
from
Open

Conversation

Ellen-Wittingen
Copy link
Contributor

If the workflow fails with an error message about blobs along the lines of the following: buildx failed with: ERROR: failed to solve: [...] blob [...] then all recent cache files for staging on the Caches page need to be deleted and the workflow needs to be executed again. Instructions for this were added to the README.md.

Also added the option Perform all jobs, regardless of whether there are actual changes? to force the workflow to re-execute all its jobs. This was added because if the previous workflow run errored after staging was merged into master it will detect no changes and skip the Continuous Integration and Publish Image jobs, which means the changes won't go live.

@@ -7,6 +7,11 @@ on:
description: Merge staging into master first? (y/N)
required: false
default: 'n'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you make this one boolean too? I think I made it like this because boolean was not an option back in the day, but I see the UI nicely supports it now. Don't forget the checks below :)

@@ -63,6 +63,8 @@ Deployments are done using GitHub Actions. To deploy a branch, follow the follow
- Choose a branch and if you want to merge the changes on the staging branch into the master branch (only possible when the branch chosen in previous step is master).
- Click the green button "Run workflow".

*Note: If the workflow fails with an error message about blobs along the lines of the following: `buildx failed with: ERROR: failed to solve: [...] blob [...]`: remove all recent cache files for staging on the [Caches page](https://github.com/csvalpha/amber-ui/actions/caches) and try again. You might have to turn on the option `Perform all jobs, regardless of whether there are actual changes?` to force the workflow to re-execute all its jobs.*
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Odd bug, could this be a one-time bug caused by https://github.blog/changelog/2023-12-14-github-actions-artifacts-v4-is-now-generally-available/? That is artifacts and not cache though, but it might be related.

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

Successfully merging this pull request may close these issues.

2 participants