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

merge-queue: embarking main (b9ab6c6), #3542 and [#3522 + #3459] together #3548

Closed
wants to merge 143 commits into from

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Feb 15, 2022

🎉 This combination of pull requests has been checked successfully 🎉

Branch main (b9ab6c6), #3542 and [#3522 + #3459] are embarked together for merge.

This pull request has been created by Mergify to speculatively check the mergeability of [#3522 + #3459].
You don't need to do anything. Mergify will close this pull request automatically when it is complete.

Required conditions of queue medium for merge:


More informations about Mergify merge queue can be found in the documentation.

Mergify commands

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the queue rules

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

- Use a more ENV configurable Dockerfile
- Remove cloudbuild dependency
- Use compute optimized machine types
- Use SSD instead of normal hard drives
- Move Sentry endpoint to secrets
- Use a single yml for auto & manual deploy
- Migrate to Google Artifact Registry
- Use a more ENV configurable Dockerfile
- Remove cloudbuild dependency
- Use compute optimized machine types
- Use SSD instead of normal hard drives
- Move Sentry endpoint to secrets
- Use a single yml for auto & manual deploy
- Migrate to Google Artifact Registry
Also substitute defaults with parameters sent through the workflow_dispatch
Caching from the latest image is one of the main reasons to add this extra tag. Before this commit, the inline cache was not being used.
The inline cache exporter only supports `min` cache mode. To enable `max` cache mode, push the image and the cache separately by using the registry cache exporter.

This also allows for smaller release images.
We're leveraging the registry to cache the actions, instead of using the 10GB limits from Github Actions cache storage
Use interactive shells for manual and test deployments. This allow greater flexibility if troubleshooting is needed inside the machines
Instead of using a VM to SSH into in to build and test. Build in GHA (to have the logs available), run the workspace tests in GHA, and just run the sync tests in GCP

Use a cintainer VM with zebra's image directly on it, and pass the needed parameters to run the Sync past mandatory checkpoint.
Compiling might be slow because different steps are compiling the same code 2-4 times because of the variations
gustavovalverde and others added 25 commits February 9, 2022 18:42
GHA is transforming is somehow transforwing the variable to lowercase also, so we're changint it to adapt to it
Using the SHA from the base, creates confusion and it's not accurate with the SHA being shown and used on GitHub.

We have to keep both as manual runs with `workflow_dispatch` does not have a PR SHA
There's no impact in this workflow when a change is done in the dockerfile
… commands afterwards in a different step.

As GHA TTY is not working as expected, and workarounds does not play nicely with `gcloud compute ssh` actions/runner#241 (comment) we decided to get the container name from the logs, log directly to the container and run the cargo command from there.
Co-authored-by: teor <[email protected]>
This allows to follow logs in Github Actions terminal, while the GCP container is still running.

Just delete the instance when following the logs ends successfully or fails
This allows to follow logs in Github Actions terminal, while the GCP container is still running.

Just delete the instance when following the logs ends successfully or fails
@codecov
Copy link

codecov bot commented Feb 16, 2022

Codecov Report

Merging #3548 (850365d) into main (499ae89) will increase coverage by 2.17%.
The diff coverage is 80.05%.

@@            Coverage Diff             @@
##             main    #3548      +/-   ##
==========================================
+ Coverage   78.34%   80.52%   +2.17%     
==========================================
  Files         267      274       +7     
  Lines       31526    32256     +730     
==========================================
+ Hits        24698    25973    +1275     
+ Misses       6828     6283     -545     

@mergify
Copy link
Contributor Author

mergify bot commented Feb 16, 2022

The pull requests [#3522 + #3459] are mergeable

@mergify mergify bot closed this Feb 16, 2022
@mergify mergify bot deleted the mergify/merge-queue/main/3522-3459 branch February 16, 2022 00:54
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.

3 participants