-
Notifications
You must be signed in to change notification settings - Fork 158
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
reduce release container image build time and github release should happen after artefacts are ready #3945
Comments
enhancement -> build time |
Implementing ordering with the following orchestration |
build time is mostly consumed around yarn build https://github.com/weaveworks/weave-gitops/actions/runs/6027756317/job/16354189068 Potential actions:
|
One obvious suggestion (and probably naive) would be to build these once in the native CI environment and copy the JS files to the container. Our FE code is just a bundle of static files, so it shouldn't care about target environment. |
Release order worked fine yesterday where we released to github after the image was built. |
unassigning to me so anyone else in the team could take it |
Problem
In the previous ticket, we tackled what we thought was the main reason of the impact to users: chart being published before container image.
However, there are a couple of suggestions that are worth follow up on:
Building container image for release takes more than an hour: it matters due to a releaser is a person that is actively dedicating its time to ensure that a release happens successfully. To reduce this time not only frees releaser time to something else but also increases the chances of a successful release which translates in productivity increase.
GitHub release happens before artifacts are available: it matters cause the github release flags the community that a new release exists. Given that weave gitops would be mostly usedin containerized environments this order matters as it could eventually lead to the same experience as we saw in Helm chart are published before images are ready #3907 (but smaller chances of impact)
Solution
Build time -> investigate and implement ways to get this down as much as possible (i.e. Helm chart are published before images are ready #3907 (comment))
Github release order:
Additional context
To be added in case of needed
The text was updated successfully, but these errors were encountered: