You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When comparing the Azure DevOps pipeline reference examples to that of the GitHub Actions we see some differences to how the secrets/env are passed to the token replacement task. The nature of the 3rd party task is no-doubt part of that. I'm hoping you can clarify how the Azure DevOps scenario operates.
In the Azure DevOps Pipeline Sample we see that a variable is explicitly seeded. I'd imagine this can be done via VariableGroup or, perhaps a secret backend. variables: #setting the testSecretValue to the prod resource group name as an example testSecretValue: $(RESOURCE_GROUP_NAME_Prod)
Then later, in the reusable pipeline, we see the token replacement task however, unlike the GitHub Actions example, the task itself doesn't seem that it takes an input argument to map any environment vars/secrets into the task. So my assumption is that the task looks to do this implicitly rather than explicitly.
When we look at the sample configuration.prod there are tokens to be replaced on lines 16, 20 and 24. Only line 16 seems to be referenced in the variables for the job.
Based on how the Token Replacement task is employed, as of V3 which you use (since superseded by 6.. but I see that upgrading is not yet planned by the ApiOps team), is the idea that you seed the Job w/ named Variables whose key matches that of the replacement token in the configuration file?
thanks!
Expected behavior
Just clarifying the Token Replacement Scenario
Actual behavior
N/A
Reproduction Steps
Seed Environment Variables to be used w/ Token Replacement
The text was updated successfully, but these errors were encountered:
Thank you for opening this issue! Please be patient while we will look into it and get back to you as this is an open source project. In the meantime make sure you take a look at the [closed issues](https://github.com/Azure/apiops/issues?q=is%3Aissue+is%3Aclosed) in case your question has already been answered. Don't forget to provide any additional information if needed (e.g. scrubbed logs, detailed feature requests,etc.).
Whenever it's feasible, please don't hesitate to send a Pull Request (PR) our way. We'd greatly appreciate it, and we'll gladly assess and incorporate your changes.
Release version
latest
Question Details
When comparing the Azure DevOps pipeline reference examples to that of the GitHub Actions we see some differences to how the secrets/env are passed to the token replacement task. The nature of the 3rd party task is no-doubt part of that. I'm hoping you can clarify how the Azure DevOps scenario operates.
In the Azure DevOps Pipeline Sample we see that a variable is explicitly seeded. I'd imagine this can be done via VariableGroup or, perhaps a secret backend.
variables: #setting the testSecretValue to the prod resource group name as an example testSecretValue: $(RESOURCE_GROUP_NAME_Prod)
Then later, in the reusable pipeline, we see the token replacement task however, unlike the GitHub Actions example, the task itself doesn't seem that it takes an input argument to map any environment vars/secrets into the task. So my assumption is that the task looks to do this implicitly rather than explicitly.
When we look at the sample configuration.prod there are tokens to be replaced on lines 16, 20 and 24. Only line 16 seems to be referenced in the variables for the job.
Based on how the Token Replacement task is employed, as of V3 which you use (since superseded by 6.. but I see that upgrading is not yet planned by the ApiOps team), is the idea that you seed the Job w/ named Variables whose key matches that of the replacement token in the configuration file?
thanks!
Expected behavior
Just clarifying the Token Replacement Scenario
Actual behavior
N/A
Reproduction Steps
Seed Environment Variables to be used w/ Token Replacement
The text was updated successfully, but these errors were encountered: