-
Notifications
You must be signed in to change notification settings - Fork 196
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] PUBLISH_CONFIGURATION_ARTIFACTS setting is ignored #417
Comments
|
@andrea-migliaccio good catch. At one point we enabled a feature on the publisher to allow it to pick up changes in the configuration file. This led to some complexities so we had to revert it back. We just forgot to update the docs. I will go ahead and take care of it right now. |
With this parameter no longer being available, how can we differentiate the resources per region? We were planning on using the config file to specify the different resources per region. (resource-dev,resource-qa, resource-prod) Update |
@zcarroll4 - as you mentioned, the Regarding In the current behavior, configuration artifacts are purely used for overrides: If no commit ID is passedWe take all artifacts from the artifacts folder. They get overridden with configuration properties if applicable, then published to APIM. If a commit ID is passedWe take all artifacts in the artifacts folder that were modified in the commit. Deleted artifacts get deleted from APIM. New/modified artifacts get overridden with configuration properties (if applicable), then published to APIM. |
Release version
v4.10.3
Describe the bug
The documentation at publisher doc states that we can use the following variable to specify which artifacts actually publish from the whole /artifact folder in the git repo.
PUBLISH_CONFIGURATION_ARTIFACTS = If set to true, publisher will publish artifacts that are defined in configuration and exist in the artifacts directory.
Based on a failed test and actually taking a look at the code, it seems that this variable not even read from the code.
Expected behavior
When specifing both CONFIGURATION_YAML_PATH and PUBLISH_CONFIGURATION_ARTIFACTS the publish operation should only take in account the resources specified in the yaml configuration file.
Actual behavior
The CONFIGURATION_YAML_PATH just affect the values override but all the resources in the /artifact folder are always published.
Reproduction Steps
The text was updated successfully, but these errors were encountered: