-
Notifications
You must be signed in to change notification settings - Fork 192
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
[BUG] Not able to publish anything on new APIM using the publisher pipeline #456
Comments
|
Please space the logs here so we can take a look. Make sure you scrub them in case they include any sensitive data. |
Also take a look at the YouTube videos that we have on the project homepage in case you are not familiar with the tool yet. |
Hi Waelkdouh. Out APIM set up in private networking . Is this going to make any difference . We have used the default pipelines provided in the git repo. We are able to run successfull the extractor pipeline . It is extracting all our configuration . But when we are running the publisher pipeline it is also running successfully but not publishing anything . We have also raised a ticket with Azure MS support . If it is possible can we set up a call tommorow to resolve this issue quickly . Also Can you provide you sample prod.config file as we are not putting much there . It has now just the name of APIM . |
We manage this an open source project. So you can't open a microsoft support ticket. When you say the publisher runs but nothing happens, do you mean the created PR didn't include any artifacts? Is it erroring out? We need to understand what you mean by nothing happens. |
No, The artifacts are getting successfully created when we run the extractor pipeline in the new repo and also create a PR to merge with master. When we approve the PR it will run the publisher pipeline . we have provided the name of new APIM in the variable group and in the prod config yaml file. This publisher pipeline also shows all green and is completing successfully. But when we check the new APIM it is now updating the APIs and Products or any other details . You can ping me on teams [email protected] we can have a short quick call . |
Sorry can't ping you on teams. We will need you to publish your publisher logs here so we can start providing help. Also please check closed github issues as other folks faced similar issues in the past. |
2024-01-09T16:47:58.8985047Z ##[debug]Evaluating condition for step: 'Fetch publisher' Write-Information "Downloading publisher..." if ("Linux" -like "linux") Write-Host "##vso[task.setvariable variable=PUBLISHER_FILE_PATH]$destinationFilePath" Write-Information "Downloading publisher..." if ("Linux" -like "linux") Write-Host "##vso[task.setvariable variable=PUBLISHER_FILE_PATH]$destinationFilePath" |
Starting: Run publisher for Prod environmentTask : PowerShell
|
I am facing the same issue. My QA configuration changes are not getting applied on APIM instance. |
Can you please confirm what changes live under that commit ID? |
Hi. Is it mandatory to push the changes to both dev and prod environment from the publisher pipeline. Because as of now we have specified the same APIM name in the variables i.e. Prod one that is empty configuration. |
No. You are at liberty to modify your pipeline the way you see fit. For example you can avoid publishing to dev and publish to prod directly. We recommend that you deploy to the dev first, even though it feels repetitive since you're extracting from it, just as a safety measure in order to make sure that the extracted artifacts are valid before you publish them to production (or any other environment in between). Of course, the assumption there is that when you are deploying to production, you would be overriding some values (e.g apim instance name, namedvalues, etc.) using the configuration files as things in production (as well as other environments like QA for example) will be different then the dev environment that you are extracting from. |
Release version
v5.0.1
Describe the bug
Hi Team ,
We are trying to create a new dev environment from the existing Prod environment we created using the portal. We are able to extract all the configuration from the prod instance . But when we are publishing it we are not getting any results . The pipeline is running successfully though.
Expected behavior
Publisher pipeline should publish all the configuration
Actual behavior
No changes happening in new APIm
Reproduction Steps
create 2 APIM . Create some APIs and product in first one then run the extractor pipleine and the publisher pipeline.
The text was updated successfully, but these errors were encountered: