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

test: set arm outputs to az devops variable group (🚧) #211

Conversation

stijnmoreels
Copy link
Member

@stijnmoreels stijnmoreels commented Aug 13, 2021

Adds integration tests for the PS script that sets the ARM outputs as variables in Azure DevOps variable groups.

Relates to #174

@netlify
Copy link

netlify bot commented Aug 13, 2021

✔️ Deploy Preview for arcus-scripting canceled.

🔨 Explore the source changes: d72b54b

🔍 Inspect the deploy log: https://app.netlify.com/sites/arcus-scripting/deploys/611a455390d04c000718b52c

@stijnmoreels stijnmoreels changed the title test: set arm outputs to az devops variable group test: set arm outputs to az devops variable group (🚧) Aug 13, 2021
Copy link
Member

@fgheysels fgheysels left a comment

Choose a reason for hiding this comment

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

Looks OK to me.

@stijnmoreels
Copy link
Member Author

I have a problem with giving access rights to the build user. Normally only two users are to have write permissions on the Azure DevOps variable group, but that doesn't seem to be enough. Could it be that the request comes from a GitHub repo instead of a Azure DevOps repo? Maybe some additional user requires permissions, only not sure who that would be.

Currently, the tests fail with Forbidden.

@pim-simons
Copy link
Contributor

Ran into the same issue while create an integration test in this PR #252.
While updating the variable group the test receives back an HTTP 403.

It turns out that when you start the pipeline manually it does work, so there seems to be an issue with the user used by the automatically triggered runs.

@stijnmoreels
Copy link
Member Author

Close in favor of #252

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.

3 participants