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

Adding support for Maven with GAR #111

Draft
wants to merge 15 commits into
base: main
Choose a base branch
from
Draft

Adding support for Maven with GAR #111

wants to merge 15 commits into from

Conversation

cesarfm
Copy link
Contributor

@cesarfm cesarfm commented Mar 12, 2024

@cesarfm cesarfm requested a review from robert-nemet March 12, 2024 17:19
Comment on lines +4 to +11
- run:
name: install gcloud
command: |
curl https://sdk.cloud.google.com > install.sh
bash install.sh --disable-prompts
export PATH=/home/circleci/google-cloud-sdk/bin/:${PATH}
gcloud components install kubectl
echo 'export PATH=/home/circleci/google-cloud-sdk/bin/:${PATH}' >> $BASH_ENV

Choose a reason for hiding this comment

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

what is the runtime for this? 😟

Copy link
Contributor Author

@cesarfm cesarfm Mar 15, 2024

Choose a reason for hiding this comment

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

Hehe yep, I had the same worry... what we agreed with @robert-nemet was to first make it work, and then see how to optimize it.
IIRC the idea would be to have an executor that has the tooling already installed.

Choose a reason for hiding this comment

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

my experience 20 months ago was

  • pulling a custom executor image adds 1min to your build
  • installing gcloud stuff adds >1min to your build

so either way im kinda worried, unless its an image replacing a custom image (in which case the additional time was already a reality)

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