Azure / apiops

APIOps applies the concepts of GitOps and DevOps to API deployment. By using practices from these two methodologies, APIOps can enable everyone involved in the lifecycle of API design, development, and deployment with self-service and automated tools to ensure the quality of the specifications and APIs that they’re building.
https://azure.github.io/apiops
MIT License
328 stars 193 forks source link

[Question] how to know if my "configuration.qa.yaml" is invoked during publishing? #674

Closed karthikpeddi115 closed 1 month ago

karthikpeddi115 commented 1 month ago

Release version

v6.0.1.1

Question Details

I am not sure if my configuration.qa.yaml is invoked during publishing to higher environment because I don't see it is overriding the values present in QA. Please let me know if we need to explicitly mention in "run-publisher-with-env.yaml" or in variables section to use configuration.qa.yaml?

Expected behavior

configuration.qa.yaml should invoke during publishing and override the values accordingly.

Actual behavior

configuration.qa.yaml is not invoking during publishing.

Reproduction Steps

Need to know where we need to mention "configuration.qa.yaml" in tools->pipelines so that it will invoke QA file.

github-actions[bot] commented 1 month ago
  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.
karthikpeddi115 commented 1 month ago

able to update the configuration file in publish.yaml file, but getting the below error.
at NetEscapades.Configuration.Yaml.YamlConfigurationStreamParser.VisitYamlNodePair(KeyValuePair2 yamlNodePair) at NetEscapades.Configuration.Yaml.YamlConfigurationStreamParser.VisitYamlMappingNode(YamlMappingNode node) at NetEscapades.Configuration.Yaml.YamlConfigurationStreamParser.VisitYamlMappingNode(String context, YamlMappingNode yamlValue) at NetEscapades.Configuration.Yaml.YamlConfigurationStreamParser.VisitYamlNode(String context, YamlNode node) at NetEscapades.Configuration.Yaml.YamlConfigurationStreamParser.VisitYamlNodePair(KeyValuePair2 yamlNodePair) at NetEscapades.Configuration.Yaml.YamlConfigurationStreamParser.VisitYamlMappingNode(YamlMappingNode node) at NetEscapades.Configuration.Yaml.YamlConfigurationStreamParser.VisitYamlMappingNode(String context, YamlMappingNode yamlValue) at NetEscapades.Configuration.Yaml.YamlConfigurationStreamParser.VisitYamlNode(String context, YamlNode node) at NetEscapades.Configuration.Yaml.YamlConfigurationStreamParser.VisitYamlNodePair(KeyValuePair2 yamlNodePair) at NetEscapades.Configuration.Yaml.YamlConfigurationStreamParser.VisitYamlMappingNode(YamlMappingNode node) at NetEscapades.Configuration.Yaml.YamlConfigurationStreamParser.VisitYamlMappingNode(String context, YamlMappingNode yamlValue) at NetEscapades.Configuration.Yaml.YamlConfigurationStreamParser.VisitYamlNode(String context, YamlNode node) at NetEscapades.Configuration.Yaml.YamlConfigurationStreamParser.VisitYamlNodePair(KeyValuePair2 yamlNodePair) at NetEscapades.Configuration.Yaml.YamlConfigurationStreamParser.VisitYamlMappingNode(YamlMappingNode node) at NetEscapades.Configuration.Yaml.YamlConfigurationStreamParser.VisitYamlMappingNode(String context, YamlMappingNode yamlValue) at NetEscapades.Configuration.Yaml.YamlConfigurationStreamParser.VisitYamlNode(String context, YamlNode node) at NetEscapades.Configuration.Yaml.YamlConfigurationStreamParser.VisitYamlSequenceNode(YamlSequenceNode node) at NetEscapades.Configuration.Yaml.YamlConfigurationStreamParser.VisitYamlSequenceNode(String context, YamlSequenceNode yamlValue) at NetEscapades.Configuration.Yaml.YamlConfigurationStreamParser.VisitYamlNode(String context, YamlNode node) at NetEscapades.Configuration.Yaml.YamlConfigurationStreamParser.VisitYamlNodePair(KeyValuePair`2 yamlNodePair) at NetEscapades.Configuration.Yaml.YamlConfigurationStreamParser.VisitYamlMappingNode(YamlMappingNode node) at NetEscapades.Configuration.Yaml.YamlConfigurationStreamParser.Parse(Stream input) at NetEscapades.Configuration.Yaml.YamlConfigurationProvider.Load(Stream stream) at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load(Boolean reload)

using the below script

apimServiceName: apiops-poc-sea-apim namedValues:

loggers:

karthikpeddi115 commented 1 month ago

issue sorted