-
Notifications
You must be signed in to change notification settings - Fork 90
chore: demo of changes from sdk-platform-java#3737 #3029
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| # Format: //devtools/kokoro/config/proto/build.proto | ||
|
|
||
| # Configure the docker image for kokoro-trampoline. | ||
| env_vars: { | ||
| key: "TRAMPOLINE_IMAGE" | ||
| value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.45.1" | ||
| } | ||
|
|
||
| env_vars: { | ||
| key: "JOB_TYPE" | ||
| value: "graalvmA" | ||
| } | ||
|
|
||
| # TODO: remove this after we've migrated all tests and scripts | ||
| env_vars: { | ||
| key: "GCLOUD_PROJECT" | ||
| value: "gcloud-devel" | ||
| } | ||
|
|
||
| env_vars: { | ||
| key: "GOOGLE_CLOUD_PROJECT" | ||
| value: "gcloud-devel" | ||
| } | ||
|
|
||
| env_vars: { | ||
| key: "GOOGLE_APPLICATION_CREDENTIALS" | ||
| value: "secret_manager/java-it-service-account" | ||
| } | ||
|
|
||
| env_vars: { | ||
| key: "SECRET_MANAGER_KEYS" | ||
| value: "java-it-service-account" | ||
| } | ||
|
|
||
| env_vars: { | ||
| key: "IT_SERVICE_ACCOUNT_EMAIL" | ||
| value: "it-service-account@gcloud-devel.iam.gserviceaccount.com" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| # Format: //devtools/kokoro/config/proto/build.proto | ||
|
|
||
| # Configure the docker image for kokoro-trampoline. | ||
| env_vars: { | ||
| key: "TRAMPOLINE_IMAGE" | ||
| value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.45.1" | ||
| } | ||
|
|
||
| env_vars: { | ||
| key: "JOB_TYPE" | ||
| value: "graalvmB" | ||
| } | ||
|
|
||
| # TODO: remove this after we've migrated all tests and scripts | ||
| env_vars: { | ||
| key: "GCLOUD_PROJECT" | ||
| value: "gcloud-devel" | ||
| } | ||
|
|
||
| env_vars: { | ||
| key: "GOOGLE_CLOUD_PROJECT" | ||
| value: "gcloud-devel" | ||
| } | ||
|
|
||
| env_vars: { | ||
| key: "GOOGLE_APPLICATION_CREDENTIALS" | ||
| value: "secret_manager/java-it-service-account" | ||
| } | ||
|
|
||
| env_vars: { | ||
| key: "SECRET_MANAGER_KEYS" | ||
| value: "java-it-service-account" | ||
| } | ||
|
|
||
| env_vars: { | ||
| key: "IT_SERVICE_ACCOUNT_EMAIL" | ||
| value: "it-service-account@gcloud-devel.iam.gserviceaccount.com" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| # Format: //devtools/kokoro/config/proto/build.proto | ||
|
|
||
| # Configure the docker image for kokoro-trampoline. | ||
| env_vars: { | ||
| key: "TRAMPOLINE_IMAGE" | ||
| value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.45.1" | ||
| } | ||
|
|
||
| env_vars: { | ||
| key: "JOB_TYPE" | ||
| value: "graalvmC" | ||
| } | ||
|
|
||
| # TODO: remove this after we've migrated all tests and scripts | ||
| env_vars: { | ||
| key: "GCLOUD_PROJECT" | ||
| value: "gcloud-devel" | ||
| } | ||
|
|
||
| env_vars: { | ||
| key: "GOOGLE_CLOUD_PROJECT" | ||
| value: "gcloud-devel" | ||
| } | ||
|
|
||
| env_vars: { | ||
| key: "GOOGLE_APPLICATION_CREDENTIALS" | ||
| value: "secret_manager/java-it-service-account" | ||
| } | ||
|
|
||
| env_vars: { | ||
| key: "SECRET_MANAGER_KEYS" | ||
| value: "java-it-service-account" | ||
| } | ||
|
|
||
| env_vars: { | ||
| key: "IT_SERVICE_ACCOUNT_EMAIL" | ||
| value: "it-service-account@gcloud-devel.iam.gserviceaccount.com" | ||
| } | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we should remove the existing graalvm configs if these are going to replace them
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks for pointing it out. Although this is just a draft, I was thinking of manually remove them once the generator image brings these templates (the generator doesn't remove templated files). I'll keep you posted with our decision.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Two steps is okay in my mind, but it will put extra strain on the native image build pool have 5 configs instead of the 2 today or 3 tomorrow. We'll also need to update the https://github.com/googleapis/java-storage/blob/main/.github/sync-repo-settings.yaml#L5-L21 so the correct jobs are PR gates
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
I meant to mention that the eventual template update PR would have a manual commit (by me) removing these configs. On the google3 side, there will only be a jump from 2 configs to 3.
Thanks, I was missing that part of the migration.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok, sync-repo-settings is a special case. The generation process can only create a new one, not update it. It will therefore be a manual commit in the eventual update PR. |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure why we need tree different job types that are all exactly the same.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I discussed with @mpeddada1 and this redundancy was probably kept under the assumption they may eventually differ, but it hasn't happened so far. Thanks again for pointing this inconsistency out. I'll soon use a singe
graalvm)case.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We decided to just use
graalvm)