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

ci: add cluster upgrade test #448

Merged
merged 1 commit into from Mar 26, 2021
Merged

ci: add cluster upgrade test #448

merged 1 commit into from Mar 26, 2021

Conversation

aramase
Copy link
Member

@aramase aramase commented Mar 16, 2021

Signed-off-by: Anish Ramasekar anish.ramasekar@gmail.com

Reason for Change:

  • Adds cluster upgrade test as part of CI nightly runs for AKS

Requirements

  • squashed commits
  • included documentation
  • added unit tests and e2e tests (if applicable).

Issue Fixed:

fixes #174

Does this change contain code from or inspired by another project?

  • Yes
  • No

If "Yes," did you notify that project's maintainers and provide attribution?

Special Notes for Reviewers:

@codecov-io
Copy link

codecov-io commented Mar 16, 2021

Codecov Report

Merging #448 (824188e) into master (3f1a6c0) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #448   +/-   ##
=======================================
  Coverage   62.86%   62.86%           
=======================================
  Files           6        6           
  Lines         474      474           
=======================================
  Hits          298      298           
  Misses        144      144           
  Partials       32       32           

@aramase
Copy link
Member Author

aramase commented Mar 16, 2021

/azp run pr-e2e-azure

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@aramase
Copy link
Member Author

aramase commented Mar 16, 2021

/azp run pr-e2e-azure

@azure-pipelines
Copy link

Azure Pipelines failed to run 1 pipeline(s).

@aramase aramase marked this pull request as ready for review March 16, 2021 23:41
@aramase aramase force-pushed the upgrade-test branch 7 times, most recently from 2b15c31 to 307146a Compare March 18, 2021 18:41
@aramase aramase force-pushed the upgrade-test branch 3 times, most recently from 94536f1 to 947797d Compare March 18, 2021 19:55
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
@aramase aramase requested a review from ritazh March 23, 2021 16:06
az aks upgrade -g ${AZURE_CLUSTER_NAME} -n ${AZURE_CLUSTER_NAME} -k ${AKS_UPGRADE_VERSION} --yes

# Sleep for 120 seconds to wait for nodes and pods to become ready
sleep 2m
Copy link
Member

Choose a reason for hiding this comment

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

is 2m enough?

Copy link
Member Author

Choose a reason for hiding this comment

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

The 2m sleep is after upgrade to check health of the components. az aks upgrade is blocking until the upgrade is complete.

@aramase aramase merged commit a99657c into Azure:master Mar 26, 2021
@aramase aramase deleted the upgrade-test branch March 26, 2021 00:14
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.

Add cluster upgrade and autoscale as part of tests
3 participants