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

Publisher Pipeline #608

Closed
josielewis opened this issue Jul 31, 2024 · 2 comments
Closed

Publisher Pipeline #608

josielewis opened this issue Jul 31, 2024 · 2 comments

Comments

@josielewis
Copy link

Release version

v6.0.1-rc1

Question Details

Can you publish across different subscriptions?

Expected behavior

Publish to different subscriptions all under the same tenancy

Actual behavior

Run publisher task fails when trying to publish to APIM located in a different subscription

Reproduction Steps

Publisher pipeline runs source APIM deploys ok... publishing to another environment in a different subscription fails

Copy link

  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.

@guythetechie
Copy link
Contributor

@josielewis - you should be able to. The publisher expects a subscription ID and resource group name in configuration. If you use our GitHub starter pipeline, this gets passed here.

AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

The starter pipeline uses the same secret value in the extractor and publisher, but you can certainly change it to suit your needs.

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

No branches or pull requests

2 participants