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

fix: Azure Pipelines Scaler uses correct endpoint when demands are set (#4387) #4401

Merged
merged 8 commits into from
Mar 28, 2023
Merged

Conversation

Eldarrin
Copy link
Contributor

Added a simple hotfix to grab different querystring excluding top when parent is required,

Checklist

Fixes #
#4387

Relates to #

Andy Ward added 3 commits March 22, 2023 16:28
Signed-off-by: Andy Ward <mortx@toothless.eldarrin.io>
Signed-off-by: Andy Ward <mortx@toothless.eldarrin.io>
Signed-off-by: Andy Ward <mortx@toothless.eldarrin.io>
@Eldarrin Eldarrin requested a review from a team as a code owner March 22, 2023 16:41
Signed-off-by: Andy Ward <mortx@toothless.eldarrin.io>
@JorTurFer JorTurFer changed the title Fix for issue (#4387) fix: Azure Pipelines Scaler uses correct endpoint when demands are set (#4387) Mar 24, 2023
@JorTurFer
Copy link
Member

JorTurFer commented Mar 24, 2023

/run-e2e pipelines*
Update: You can check the progress here

…st.go


Agreed

Co-authored-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es>
Signed-off-by: Eldarrin <32762846+Eldarrin@users.noreply.github.com>
@JorTurFer
Copy link
Member

JorTurFer commented Mar 24, 2023

/run-e2e pipelines*
Update: You can check the progress here

@Eldarrin
Copy link
Contributor Author

@JorTurFer I think running the new tests in parallel with the old tests upset ADO :)

@JorTurFer
Copy link
Member

@JorTurFer I think running the new tests in parallel with the old tests upset ADO :)

Is it something we can mitigate? I mean, eventually both test will run in parallel

@Eldarrin
Copy link
Contributor Author

I can mitigate it, does your copy of ADO support running parallel self hosted jobs? The basic ado account doesn’t

@JorTurFer
Copy link
Member

I can mitigate it, does your copy of ADO support running parallel self hosted jobs? The basic ado account doesn’t

I think so:
image

@Eldarrin
Copy link
Contributor Author

Ok, will do in the morning and update

@JorTurFer
Copy link
Member

Ok, will do in the morning and update

Sure, no rush! I have just checked GH after a disconnecting weekend 😄

Signed-off-by: Andy Ward <mortx@toothless.eldarrin.io>
@Eldarrin
Copy link
Contributor Author

Ok, so new patch should allow e2e to run in parallel, can't really test at home as only have a basic account for ADO.
You will need to add a new agent pool (can be empty), change the new pipeline to point to the new pool and put the poolname as the new .env variable added for AZURE_DEVOPS_DEMAND_POOL_NAME=

@JorTurFer
Copy link
Member

I guess that we need to update also the pipeline definition to use the new agent, right?

@JorTurFer
Copy link
Member

JorTurFer commented Mar 27, 2023

/run-e2e pipelines*
Update: You can check the progress here

Copy link
Member

@JorTurFer JorTurFer left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for the awesome job (as always) ❤️
Should we add a note in docs to clarify that &top statement only applies without demands?

Copy link
Member

@JorTurFer JorTurFer left a comment

Choose a reason for hiding this comment

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

Could you add a record in the changelog? I didn't notice it before

@Eldarrin
Copy link
Contributor Author

Eldarrin commented Mar 27, 2023

Could you add a record in the changelog? I didn't notice it before

Will do in the morning :)

Done :)

Andy Ward and others added 2 commits March 28, 2023 07:59
Signed-off-by: Andy Ward <mortx@toothless.eldarrin.io>
Signed-off-by: Eldarrin <32762846+Eldarrin@users.noreply.github.com>
@JorTurFer
Copy link
Member

JorTurFer commented Mar 28, 2023

/run-e2e pipelines*
Update: You can check the progress here

@JorTurFer JorTurFer merged commit 04e5742 into kedacore:main Mar 28, 2023
JorTurFer added a commit to JorTurFer/keda that referenced this pull request Apr 13, 2023
kedacore#4387) (kedacore#4401)

Co-authored-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es>
Co-authored-by: Andy Ward <mortx@toothless.eldarrin.io>
JorTurFer added a commit to JorTurFer/keda that referenced this pull request Apr 13, 2023
kedacore#4387) (kedacore#4401)

Co-authored-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es>
Co-authored-by: Andy Ward <mortx@toothless.eldarrin.io>
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>
JorTurFer added a commit that referenced this pull request Apr 13, 2023
…<Jorge_turrado@hotmail.es> Co-authored-by: Andy Ward <mortx@toothless.eldarrin.io> Co-authored-by: Tom Kerkhove <kerkhove.tom@gmail.com> Co-authored-by: Zbynek Roubalik <zroubalik@gmail.com> Co-authored-by: Eldarrin <32762846+Eldarrin@users.noreply.github.com> Co-authored-by: Eugene Lugovtsov <34510252+EugeneLugovtsov@users.noreply.github.com> fix(aws-sqs): Respect `scaleOnInFlight` value (#4358) fix odd number of arguments passed as key-value pairs for logging (#4369) fix: Azure Pipelines Scaler uses correct endpoint when demands are set  (#4387) (#4401) fix: respect all required demands in azure pipeline scaler (#4405) fix: Allow to remove the finalizer even if the ScaledObject isn't valid (#4397)

* Drop a transitive dependency on bou.ke/monkey (#4366)

Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com>
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>

* fix(aws-sqs): Respect `scaleOnInFlight` value (#4358)

Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>

* chore: update supported versions in the welcome message (#4360)

Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>

* fix odd number of arguments passed as key-value pairs for logging (#4369)

Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com>
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>

* fix: Azure Pipelines Scaler uses correct endpoint when demands are set  (#4387) (#4401)

Co-authored-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es>
Co-authored-by: Andy Ward <mortx@toothless.eldarrin.io>
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>

* fix: respect all required demands in azure pipeline scaler (#4405)

Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>

* fix: Allow to remove the finalizer even if the ScaledObject isn't valid (#4397)

Co-authored-by: Tom Kerkhove <kerkhove.tom@gmail.com>
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>

* update changelog

Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>

---------

Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com>
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
Co-authored-by: Zbynek Roubalik <zroubalik@gmail.com>
Co-authored-by: Eldarrin <32762846+Eldarrin@users.noreply.github.com>
Co-authored-by: Andy Ward <mortx@toothless.eldarrin.io>
Co-authored-by: Eugene Lugovtsov <34510252+EugeneLugovtsov@users.noreply.github.com>
Co-authored-by: Tom Kerkhove <kerkhove.tom@gmail.com>
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