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

feat: route k8s requests with enqueueOne strategy to /pipelines endpoint #195

Merged
merged 2 commits into from
Oct 16, 2023

Conversation

Greg-At-Armory
Copy link
Contributor

Description

For deployments containing following configuration:

"deploymentConfig": { "ifDeploymentInProgress": { "strategy": "enqueueOne" } },

if they are of type Kubernetes - route them to /pipelines endpoint, so they'd benefit of deployment queue functionality.

Motivation and Context

CDAAS-2801

How has this been tested? How can a reviewer test these changes?

added unit test, testes with staging deployment.

Have your performed the following tests?

Please confirm you have done the following tests to ensure your pull request is ready to be merged..

  • If this change modifies the deployment flow have triggered a deployment using this branch (i.e. build/bin/darwin_amd64/armory deploy start -f <path to file>)?
  • If this change modifes the login flow have you tried logging in and out with this branch (i.e. build/bin/darwin_amd64/armory login) and verified the credentials work?
  • Have you verified the specific change made in this PR?

@armory-cloud-sonarqube
Copy link

@Greg-At-Armory Greg-At-Armory merged commit 4812ee4 into main Oct 16, 2023
@qrnik qrnik deleted the feat/cdaas-2801 branch October 16, 2023 13:01
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.

2 participants