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

Make notebooks wait for active state and enable stopping/starting ins… #9971

Merged
merged 2 commits into from
Feb 13, 2024

Conversation

bcreddy-gcp
Copy link
Contributor

@bcreddy-gcp bcreddy-gcp commented Feb 12, 2024

…tances using the desired_state field

Release Note Template for Downstream PRs (will be copied)

made `google_notebooks_instance` wait for active state on creation and enable stopping/starting instances.

@bcreddy-gcp bcreddy-gcp requested a review from a team as a code owner February 12, 2024 21:45
@bcreddy-gcp bcreddy-gcp requested review from hao-nan-li and removed request for a team February 12, 2024 21:45
@bcreddy-gcp
Copy link
Contributor Author

bcreddy-gcp commented Feb 12, 2024

Similar to #9945. Fyi: @slevenick

@hao-nan-li
Copy link
Contributor

/gcbrun

@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

Terraform GA: Diff ( 4 files changed, 169 insertions(+))
Terraform Beta: Diff ( 4 files changed, 250 insertions(+))
TF Conversion: Diff ( 1 file changed, 20 insertions(+))
TF OiCS: Diff ( 4 files changed, 111 insertions(+))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 24
Passed tests: 11
Skipped tests: 0
Affected tests: 13

Click here to see the affected service packages
  • notebooks

Action taken

Found 13 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
TestAccNotebooksInstanceIamBindingGenerated|TestAccNotebooksInstanceIamMemberGenerated|TestAccNotebooksInstanceIamPolicyGenerated|TestAccNotebooksInstance_create_container|TestAccNotebooksInstance_create_gpu|TestAccNotebooksInstance_create_vm_image|TestAccNotebooksInstance_notebookInstanceBasicContainerExample|TestAccNotebooksInstance_notebookInstanceBasicExample|TestAccNotebooksInstance_notebookInstanceBasicGpuExample|TestAccNotebooksInstance_notebookInstanceBasicStoppedExample|TestAccNotebooksInstance_notebookInstanceFullExample|TestAccNotebooksInstance_state|TestAccNotebooksInstance_update

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

$\textcolor{green}{\textsf{Tests passed during RECORDING mode:}}$
TestAccNotebooksInstanceIamBindingGenerated[Debug log]
TestAccNotebooksInstanceIamMemberGenerated[Debug log]
TestAccNotebooksInstanceIamPolicyGenerated[Debug log]
TestAccNotebooksInstance_create_container[Debug log]
TestAccNotebooksInstance_create_gpu[Debug log]
TestAccNotebooksInstance_create_vm_image[Debug log]
TestAccNotebooksInstance_notebookInstanceBasicContainerExample[Debug log]
TestAccNotebooksInstance_notebookInstanceBasicExample[Debug log]
TestAccNotebooksInstance_notebookInstanceBasicGpuExample[Debug log]
TestAccNotebooksInstance_notebookInstanceBasicStoppedExample[Debug log]
TestAccNotebooksInstance_notebookInstanceFullExample[Debug log]
TestAccNotebooksInstance_state[Debug log]
TestAccNotebooksInstance_update[Debug log]

$\textcolor{green}{\textsf{No issues found for passed tests after REPLAYING rerun.}}$


$\textcolor{green}{\textsf{All tests passed!}}$
View the build log or the debug log for each test

@hao-nan-li
Copy link
Contributor

/gcbrun

@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

Terraform GA: Diff ( 4 files changed, 169 insertions(+))
Terraform Beta: Diff ( 4 files changed, 250 insertions(+))
TF Conversion: Diff ( 1 file changed, 20 insertions(+))
TF OiCS: Diff ( 4 files changed, 111 insertions(+))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 24
Passed tests: 24
Skipped tests: 0
Affected tests: 0

Click here to see the affected service packages
  • notebooks

$\textcolor{green}{\textsf{All tests passed!}}$
View the build log

@hao-nan-li
Copy link
Contributor

Could you add a release note? Thanks

@bcreddy-gcp
Copy link
Contributor Author

Added the release note

@hao-nan-li hao-nan-li merged commit 18072d2 into GoogleCloudPlatform:main Feb 13, 2024
16 checks passed
@bcreddy-gcp bcreddy-gcp deleted the umn_state branch February 13, 2024 21:10
tdbhacks pushed a commit to tdbhacks/magic-modules that referenced this pull request Feb 23, 2024
GoogleCloudPlatform#9971)

* Make notebooks wait for active state and enable stopping/starting instances using the desired_state field

* ignore update_time
balanaguharsha pushed a commit to balanaguharsha/magic-modules that referenced this pull request Apr 19, 2024
GoogleCloudPlatform#9971)

* Make notebooks wait for active state and enable stopping/starting instances using the desired_state field

* ignore update_time
balanaguharsha pushed a commit to balanaguharsha/magic-modules that referenced this pull request May 2, 2024
GoogleCloudPlatform#9971)

* Make notebooks wait for active state and enable stopping/starting instances using the desired_state field

* ignore update_time
pengq-google pushed a commit to pengq-google/magic-modules that referenced this pull request May 21, 2024
GoogleCloudPlatform#9971)

* Make notebooks wait for active state and enable stopping/starting instances using the desired_state field

* ignore update_time
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants