-
Notifications
You must be signed in to change notification settings - Fork 499
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
Feature: managing Scorecard releases #651
Comments
Will also help with the cron job data consistency. We can make sure that cron job only runs with the latest release binary and a single cron job run will only use a single binary. |
Now that we have a framework to run e2e tests on a smaller set of repos, here is my proposal for the release process:
2 open questions I still need to work out are:
@inferno-chromium @oliverchang @naveensrinivasan for comments and feedback. |
Getting the commit SHA into the container is easy https://artsy.github.io/blog/2018/09/10/Dockerhub-Stamping-Commits/ Why are we creating a git tag? Instead on every container build along with the latest, we could add a tag with the SHA and use that tag to do the docker pull part of the deployment.
I am guessing you are referring to k8s YAML with the docker image version to be pulled. We could probably use https://kustomize.io/ for updating the docker image version and for PR creation we could use something like this
|
Can we have some more basic sanity tests here, like making sure there's no runtime errors in any of the checks? I think this isn't exposed in any of the JSON/BQ fields today though, so we might need some other way to distinguish this.
Do you mean a
We could avoid this complexity by just having a ":stable" docker tag that always contains the latest passing image. |
+1, we should. I think this is doable with some minor changes to the
These are both good points. I'm not a fan of the Git tags either. This was the best way I could think of differentiating between regular commits and commits for prod release. I really like the idea of tagging docker images with |
Yeah, when you push a docker image with a tag, it overwrites the last one. This is how the current setup works too -- we use "latest", which isn't special and just the default tag if nothing is specified. |
Discussed with Oliver offline. Some updates:
|
As a note (you're probably already aware) the |
Ah interesting. I wasn't aware of this, thanks for bringing this up. Creating a new issue for tracking. |
We need either an automated process or manual guideline for releasing new versions of Scorecard. Basically, when users run the below command, we need to be sure to a high degree of confidence that this is well tested code that users are downloading and running:
The text was updated successfully, but these errors were encountered: