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
Add upgrade test for helm chart #151
Conversation
|
tests/kubernetes-agent/KubernetesAgent.IntegrationTests/Setup/KubernetesClusterInstaller.cs
Outdated
Show resolved
Hide resolved
tests/kubernetes-agent/KubernetesAgent.IntegrationTests/Setup/KubernetesClusterInstaller.cs
Outdated
Show resolved
Hide resolved
tests/kubernetes-agent/KubernetesAgent.IntegrationTests/RunsAgentUpgrade.cs
Show resolved
Hide resolved
tests/kubernetes-agent/KubernetesAgent.IntegrationTests/RunsAgentUpgrade.cs
Outdated
Show resolved
Hide resolved
tests/kubernetes-agent/KubernetesAgent.IntegrationTests/Setup/Common/TestLogger.cs
Outdated
Show resolved
Hide resolved
tests/kubernetes-agent/KubernetesAgent.IntegrationTests/Setup/ServerHalibutRuntimeRunner.cs
Outdated
Show resolved
Hide resolved
tests/kubernetes-agent/KubernetesAgent.IntegrationTests/Setup/Common/AssemblyExtensions.cs
Outdated
Show resolved
Hide resolved
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.
Awesome stuff @liam-mackie!
This PR adds a test to upgrade the helm chart from
1.*.*
to the current version of the helm chart in the repo.The test will fail if the script task fails (even if the agent is actually fine after the upgrade) to prevent a failed upgrade task.
Most of the test was taken from the Tentacle integration tests (thanks @APErebus!), with minor modifications to run outside of the Tentacle repo.