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

feat: avm/res/app-configuration/configuration-store #1326

Closed
wants to merge 5 commits into from
Closed

feat: avm/res/app-configuration/configuration-store #1326

wants to merge 5 commits into from

Conversation

adrianhall
Copy link
Member

@adrianhall adrianhall commented Mar 18, 2024

Description

Closes #1323

Adds an 'endpoint' output

Pipeline Reference

Pipeline in my account is failing due to PSRule and ReadMe failures in static analysis, but these same errors are occurring in the mainline, so they are not due to my changes. The Pester test for the README seems to be innocuous (it is detecting a difference in line endings only). See https://github.com/adrianhall/bicep-registry-modules/actions/runs/8332755529

Type of Change

  • Update to CI Environment or utlities (Non-module effecting changes)
  • Azure Verified Module updates:
    • Bugfix containing backwards compatible bug fixes, and I have NOT bumped the MAJOR or MINOR version in version.json:
      • Someone has opened a bug report issue, and I have included "Closes #{bug_report_issue_number}" in the PR description.
      • The bug was found by the module author, and no one has opened an issue to report it yet.
    • Feature update backwards compatible feature updates, and I have bumped the MINOR version in version.json.
    • Breaking changes and I have bumped the MAJOR version in version.json.
    • Update to documentation

Checklist

  • I'm sure there are no other open Pull Requests for the same update/change
  • I have run Set-AVMModule locally to generate the supporting module files.
  • My corresponding pipelines / checks run clean and green without any errors or warnings

The app-configuration pipeline does not run green on mainline due to errors in WAF Reliability section - nothing to do with this check in. I'm not volunteering for owning the current state of the module.

@adrianhall adrianhall requested review from a team as code owners March 18, 2024 20:03
@microsoft-github-policy-service microsoft-github-policy-service bot added Needs: Triage 🔍 Maintainers need to triage still Type: AVM 🅰️ ✌️ Ⓜ️ This is an AVM related issue labels Mar 18, 2024
Copy link
Contributor

@krbar krbar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@adrianhall Thank you for your contribution. The issues you are having, are related to the recent issue #1315 caused by updated formatting introduced with the newest Bicep version. The fix to this issue is under development and there is already a draft PR fixing it: #1321 .
Unfortunately we have to wait for the fix before we will be able to merge your PR.

@adrianhall
Copy link
Member Author

Ack - once 1315 is done, I can merge the changes into this branch and test properly.

@matebarabas matebarabas changed the title feat: avm/res/app-configuration/configuration-store feat: avm/res/app-configuration/configuration-store Mar 20, 2024
@AlexanderSehr
Copy link
Contributor

@adrianhall Thank you for your contribution. The issues you are having, are related to the recent issue #1315 caused by updated formatting introduced with the newest Bicep version. The fix to this issue is under development and there is already a draft PR fixing it: #1321 . Unfortunately we have to wait for the fix before we will be able to merge your PR.

Hey @krbar actually we should be able to go ahead as the issue only is an issue for the test files which were not reformatted via this PR.

@adrianhall adrianhall removed their assignment Mar 21, 2024
@adrianhall adrianhall requested a review from krbar March 21, 2024 15:39
@adrianhall
Copy link
Member Author

Since @AlexanderSehr has said #1315 is not an issue, can we merge this one?

@krbar
Copy link
Contributor

krbar commented Mar 21, 2024

Since @AlexanderSehr has said #1315 is not an issue, can we merge this one?

@adrianhall
#1315 is merged, could you please pull the newest changes into your branch and re-run the pipeline? Even if the ignore the WAF Reliability issues, I would like to see a green Static Validation and green Deployment Tests.
This will probably require two runs:

  • one with the static validation (which will probably fail on the WAF reiliability tests)
  • one with skipped static validation, which should proceed directly to Deployment Tests
image

Thank you!

@adrianhall
Copy link
Member Author

image

This is the first one (with static analysis) - as predicted, the WAF Reliability bits failed.

The deployment tests failed but they are unrelated to the change. Running deployment tests on main also fail.

@krbar
Copy link
Contributor

krbar commented Mar 21, 2024

The deployment tests failed but they are unrelated to the change. Running deployment tests on main also fail.

Thanks for update! Are you sure that your CI Environment works fine? I just run the deployment validation from the main branch of the BRM repo (without the static validation) and it finishes successfully: https://github.com/Azure/bicep-registry-modules/actions/runs/8379871970

The error message in your fork indicates that you may have an issue with the token replacement. Did you set all required secrets, especially the TOKEN_NAMEPREFIX?

@adrianhall
Copy link
Member Author

I've already spent way more time than necessary on this, so I'm going to close this PR as I can't put any more effort into it.

@adrianhall adrianhall closed this Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Triage 🔍 Maintainers need to triage still Type: AVM 🅰️ ✌️ Ⓜ️ This is an AVM related issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[AVM Module Issue]: App Configuration does not output endpoint
3 participants