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

Add support for Azure clouds #2771

Merged
merged 1 commit into from
Mar 1, 2023
Merged

Add support for Azure clouds #2771

merged 1 commit into from
Mar 1, 2023

Conversation

narrieta
Copy link
Member

This PR adds support for executing the Azure pipeline on different clouds.

It adds a new variable to the pipeline, 'connection_info' which points to the keyvault where the connection parameters are stored.

It also separates the identity used to connect to the container registry from the identity used for management operations (create VMs, execute extensions, etc).

Lastly, it adds a new parameter, 'cloud' to the LISA runbook.

@@ -44,23 +50,6 @@ parameters:
- failed
- no

variables:
Copy link
Member Author

Choose a reason for hiding this comment

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

These variables are used only by the "Execute tests" tasks, so I removed them and referenced the parameters directly in that task.

SecretsFilter: '*'
RunAsPreJob: true
Copy link
Member Author

Choose a reason for hiding this comment

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

'RunAsPreJob' makes the secrets available to all the tasks, this is not needed since the only task that uses them is "Execute tests". I removed this parameter to use the default value (false), which makes the secrets available only to the next task and I moved the task to precede "Execute tests".

@codecov
Copy link

codecov bot commented Feb 27, 2023

Codecov Report

Merging #2771 (193c2d0) into develop (5aa1df6) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop    #2771   +/-   ##
========================================
  Coverage    71.99%   71.99%           
========================================
  Files          104      104           
  Lines        15831    15831           
  Branches      2264     2264           
========================================
  Hits         11397    11397           
  Misses        3913     3913           
  Partials       521      521           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Contributor

@nagworld9 nagworld9 left a comment

Choose a reason for hiding this comment

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

I tried checking connection_info variable in the pipeline, I didn't find it and we can discuss offline.

@narrieta narrieta merged commit 66a6258 into Azure:develop Mar 1, 2023
@narrieta narrieta deleted the national branch March 6, 2023 20:53
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.

None yet

3 participants