Skip to content

[CI] Cleanup dockerhub release action. #5748

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

Merged
merged 3 commits into from
Jan 21, 2021

Conversation

NlightNFotis
Copy link
Contributor

@NlightNFotis NlightNFotis commented Jan 15, 2021

This is the last cleanup of the dockerhub image push action, and finalises this line of work by doing the following:

  • Revert the commit that temporarily disabled the homebrew PR push per release (was necessary so we didn't spam homebrew with low quality releases while testing).
  • Adds a docker logout instruction to the action for better security of the credentials.
  • Adds documentation to the release page on how to run cbmc in a docker container.
  • Each commit message has a non-empty body, explaining why the change was made.
  • Methods or procedures I have added are documented, following the guidelines provided in CODING_STANDARD.md.
  • The feature or user visible behaviour I have added or modified has been documented in the User Guide in doc/cprover-manual/
  • Regression or unit tests are included, or existing tests cover the modified code (in this case I have detailed which ones those are in the commit message).
  • My commit message includes data points confirming performance improvements (if claimed).
  • My PR is restricted to a single feature or bugfix.
  • White-space or formatting changes outside the feature-related changed lines are in commits of their own.

@NlightNFotis
Copy link
Contributor Author

Please do not merge it yet!

We depend on this functionality for testing a new CI feature. Merging this without finishing our testing will break our infrastructure.

I'll merge this as soon as the dependent task is done.

@codecov
Copy link

codecov bot commented Jan 15, 2021

Codecov Report

Merging #5748 (f45b62c) into develop (d613b01) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop    #5748   +/-   ##
========================================
  Coverage    69.67%   69.67%           
========================================
  Files         1248     1248           
  Lines       100836   100836           
========================================
  Hits         70262    70262           
  Misses       30574    30574           
Flag Coverage Δ
cproversmt2 43.42% <ø> (ø)
regression 66.65% <ø> (ø)
unit 32.20% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d613b01...f45b62c. Read the comment docs.

Remove temporary blocker of execution for the
github action responsible to submit a PR to the
homebrew repository, updating the CBMC version there.

This was necessary during the testing of the
dockerhub image push action, as we needed to test
it live, and we didn't want to spam the homebrew
repository with PRs pointing to testing/experimental
PRs of ours.
`docker login` has a side effect of storing the
credentials passed to it in the `.docker/config.json`
which can be a security concern. This ameliorates
the problem for us.
@NlightNFotis NlightNFotis force-pushed the reverse_homebrew_removal branch from 83154e2 to 8577f7f Compare January 21, 2021 11:41
@NlightNFotis NlightNFotis changed the title Restore homebrew PR submitting after new release. [CI] Cleanup dockerhub release action. Jan 21, 2021
@NlightNFotis
Copy link
Contributor Author

Okay, this is now ready to be reviewed and merged.

@NlightNFotis NlightNFotis force-pushed the reverse_homebrew_removal branch from 8577f7f to 8bd1b69 Compare January 21, 2021 11:46
Add instructions on how to run under docker in the
release page draft text, and make some minor changes
to the release action (change ubuntu version for one
of the steps and change the version tag to contain
just the version string).
@NlightNFotis NlightNFotis force-pushed the reverse_homebrew_removal branch from 8bd1b69 to f45b62c Compare January 21, 2021 11:47
@NlightNFotis NlightNFotis self-assigned this Jan 21, 2021
@NlightNFotis NlightNFotis merged commit 0ac4085 into diffblue:develop Jan 21, 2021
@NlightNFotis NlightNFotis deleted the reverse_homebrew_removal branch January 21, 2021 13:10
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