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

Proxy test + bug fix diagnoser +force del +arm id #6166

Merged
merged 96 commits into from
Apr 11, 2023

Conversation

rohan-dassani
Copy link
Contributor


This checklist is used to make sure that common guidelines for a pull request are followed.

Related command

General Guidelines

  • Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
  • Have you run python scripts/ci/test_index.py -q locally?

For new extensions:

About Extension Publish

There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

rohan-dassani and others added 30 commits August 26, 2022 13:16
	modified:   src/connectedk8s/azext_connectedk8s/_params.py
	modified:   src/connectedk8s/azext_connectedk8s/_utils.py
	modified:   src/connectedk8s/azext_connectedk8s/custom.py
	new file:   src/connectedk8s/azext_connectedk8s/patch-file.yaml
	modified:   src/connectedk8s/azext_connectedk8s/_utils.py
	modified:   src/connectedk8s/azext_connectedk8s/custom.py
	modified:   src/connectedk8s/azext_connectedk8s/custom.py
	modified:   src/connectedk8s/azext_connectedk8s/commands.py
	modified:   src/connectedk8s/azext_connectedk8s/custom.py
	new file:   src/connectedk8s/azext_connectedk8s/tests/latest/recordings/test_forcedelete.yaml
	modified:   src/connectedk8s/azext_connectedk8s/tests/latest/test_connectedk8s_scenario.py
	modified:   src/connectedk8s/azext_connectedk8s/custom.py
	renamed:    src/connectedk8s/azext_connectedk8s/patch-file.yaml -> src/connectedk8s/azext_connectedk8s/remove_crd_finalizer.yaml
	modified:   src/connectedk8s/azext_connectedk8s/tests/latest/recordings/test_forcedelete.yaml
	modified:   src/connectedk8s/azext_connectedk8s/tests/latest/test_connectedk8s_scenario.py
	modified:   src/connectedk8s/azext_connectedk8s/tests/latest/test_connectedk8s_scenario.py
	modified:   src/connectedk8s/azext_connectedk8s/custom.py
	modified:   src/connectedk8s/setup.py
	modified:   src/connectedk8s/azext_connectedk8s/tests/latest/recordings/test_forcedelete.yaml
	modified:   src/connectedk8s/azext_connectedk8s/tests/latest/recordings/test_forcedelete.yaml
	modified:   src/connectedk8s/azext_connectedk8s/tests/latest/recordings/test_forcedelete.yaml
	modified:   src/connectedk8s/setup.py
	modified:   src/connectedk8s/azext_connectedk8s/_troubleshootutils.py
	modified:   src/connectedk8s/azext_connectedk8s/_utils.py
	modified:   src/connectedk8s/azext_connectedk8s/custom.py
	modified:   src/connectedk8s/azext_connectedk8s/_troubleshootutils.py
	modified:   src/connectedk8s/azext_connectedk8s/_troubleshootutils.py
	modified:   src/connectedk8s/azext_connectedk8s/custom.py
	modified:   src/connectedk8s/azext_connectedk8s/troubleshoot_diagnoser_job_without_proxycert.yaml
	modified:   src/connectedk8s/azext_connectedk8s/_troubleshootutils.py
	modified:   src/connectedk8s/azext_connectedk8s/custom.py
	modified:   src/connectedk8s/azext_connectedk8s/_troubleshootutils.py
	modified:   src/connectedk8s/azext_connectedk8s/custom.py
	modified:   src/connectedk8s/azext_connectedk8s/tests/latest/test_connectedk8s_scenario.py
	modified:   src/connectedk8s/setup.py
@azure-client-tools-bot-prd
Copy link

Hi @rohan-dassani,
Since the current milestone time is less than 7 days, this pr will be reviewed in the next milestone.

@yonzhan
Copy link
Collaborator

yonzhan commented Apr 4, 2023

Thank you for your contribution! We will review the pull request and get back to you soon.

@rohan-dassani rohan-dassani changed the title Proxy test + bug fix diagnoser +force del Proxy test + bug fix diagnoser +force del +arm id Apr 10, 2023
@@ -514,3 +515,49 @@ def test_troubleshoot(self,resource_group):
# delete the kube config
os.remove("%s" % (_get_test_data_file(managed_cluster_name + '-config.yaml')))

@live_only()
@ResourceGroupPreparer(name_prefix='conk8stest', location='eastus2euap', random_name_length=16)
Copy link
Contributor

Choose a reason for hiding this comment

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

May I ask why you mark this test as @live_only()?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

All of the tests for our connectedk8s CLI are currently marked as live_only because these tests would not run as recording mode test or integration test because in out connectedk8s connect command in some steps we use some cache to get some values and in recording mode the cache doesnt get recorded and hence we decided to use live_mode only so that we can run the CLI testing pipeline whenever required in live mode only

Copy link
Contributor

Choose a reason for hiding this comment

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

Got it, thanks~

@zhoxing-ms zhoxing-ms merged commit 7d4f4cc into Azure:main Apr 11, 2023
@azclibot
Copy link
Collaborator

[Release] Update index.json for extension [ connectedk8s ] : https://dev.azure.com/azclitools/internal/_build/results?buildId=46977&view=results

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.

6 participants