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

Update Google Cloud SDK to version 404 [VS-648] #6922

Closed
wants to merge 2 commits into from

Conversation

mcovarr
Copy link
Contributor

@mcovarr mcovarr commented Oct 3, 2022

Freshening up and syncing with pending changes in GVS.

@@ -27,17 +33,9 @@ object ActionUtils {
*
* FYI additional older versions are available on DockerHub at:
* https://hub.docker.com/r/google/cloud-sdk
*
* When updating this value, also consider updating the CromwellImagesSizeRoundedUpInGB below.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

CromwellImagesSizeRoundedUpInGB wasn't being used so I deleted it instead.

config.getOrElse("cloud-sdk-image-url", "gcr.io/google.com/cloudsdktool/cloud-sdk:354.0.0-alpine")

/*
* At the moment, cloud-sdk (584MB for 354.0.0-alpine) and stedolan/jq (182MB) decompressed ~= 0.8 GB
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think this jq reference might have been in regard to some CWL output processing code that is no longer with us. I couldn't find anything currently building an alpine + jq image so I just removed the comment.

Copy link
Contributor

Choose a reason for hiding this comment

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

You also removed the cloud-sdk-image-size-gb configuration value, which we should probably keep if we're going to keep the cloud-sdk-image-url config value... except it looks like, oops, we're only using cromwellImagesSizeRoundedUpInGB and not CromwellImagesSizeRoundedUpInGB. I'm guessing that's an oversight that didn't get caught when CromwellImagesSizeRoundedUpInGB was initially introduced.

*/
val CromwellImagesSizeRoundedUpInGB: Int =
config.getOrElse("cloud-sdk-image-size-gb", 1)
config.getOrElse("cloud-sdk-image-url", "gcr.io/google.com/cloudsdktool/cloud-sdk:404.0.0-alpine")
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm planning to experiment with the slim image at the suggestion of https://partnerissuetracker.corp.google.com/issues/247814958#comment6. I'm planning to run the experiment with 354.0.0-slim and 404.0.0-alpine, and possibly 404.0.0-slim depending on the result of the other experiments.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Interesting, good luck with that issue!

@aednichols
Copy link
Collaborator

Superseded by #7359

@aednichols aednichols closed this Jan 24, 2024
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