-
Notifications
You must be signed in to change notification settings - Fork 3
feat: add release-tests workflow for sequential pre-release validation #203
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
Closed
Closed
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
70d1d16
Initial plan
Copilot 108b93f
Apply remaining changes
Copilot a7b7e64
Apply remaining changes
Copilot e8f941b
Add redact-secrets integration test scaffolding
Copilot a9ca67c
Document bearer literal assertion in redaction integration validation
Copilot 3f32c29
docs: extend integration prerequisite skill to redact-secrets workflow
Copilot 9c0d46c
saving work
EMaher c1e3b2a
saving work
EMaher 308f8ce
test: add debug logging to redact-secrets phase scripts
EMaher 0a8ab60
adding pre-flight check for redaction markers.
EMaher 1fb3f34
refactoring policy redaction check and warning
EMaher 12e40b8
feat: add release-tests workflow for sequential test execution
EMaher 22563e7
refactor: use ci.yml as reusable workflow, remove redundant test work…
EMaher 2df69c6
feat: add redact-secrets integration test to release workflow
EMaher 4a9a57b
fix: update log_level to use choice type with 'Log level' description
EMaher 0873389
fix: remove APIM_SKU secret override, use input directly
EMaher 8f854f4
fix: remove unnecessary Resolve Workflow Settings step
EMaher d6f24e0
docs: update integration-test-prerequisites skill for release-tests w…
EMaher c26fb74
feat: add monthly schedule to release-tests and document repo-level s…
EMaher f244ec1
refactor: remove secrets contract from called workflows, add validati…
EMaher 54f3940
fix: make APIM_PUBLISHER_EMAIL optional with contoso.com fallback
EMaher a70cc67
Merge remote-tracking branch 'origin/main' into emaher-feat-release-t…
EMaher 0ffb755
fix: remove duplicate step properties from merge conflict resolution
EMaher ec8dda7
feat: use choice type for sku/log_level inputs, add Azure region vali…
EMaher 2c61605
fix: remove duplicate default key in release-tests.yml
EMaher 0b50bed
refactor: extract defaults into workflow env variables
EMaher 4bd549a
refactor: extract default values into env variables in release-tests.yml
EMaher 171371c
fix: use env.DEFAULT_* instead of vars.DEFAULT_* in release-tests.yml
EMaher fa28c59
fix: add id-token permission and use vars context in release-tests.yml
EMaher 1c243dd
refactor: rename workflow files to test-* convention
EMaher 69417c4
refactor: rename test-all-types.yml to test-resource-types.yml
EMaher 6351503
fix: rename workflow display name to 'Test: Release Tests'
EMaher b3f86cc
refactor: rename test-resource-types.yml to test-round-trip.yml
EMaher File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,6 +4,7 @@ on: | |
| pull_request: | ||
| branches: | ||
| - main | ||
| workflow_call: | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,68 @@ | ||
| # Copyright (c) Microsoft Corporation. | ||
| # Licensed under the MIT license. | ||
| # =========================================================================== | ||
| # Release Tests — Run all test suites in order before a release. | ||
| # =========================================================================== | ||
| # Executes unit tests, build-package integration tests, and the full | ||
| # extract→publish round-trip integration test sequentially. Fails fast: | ||
| # subsequent stages are skipped if any prior stage fails. | ||
| # =========================================================================== | ||
|
|
||
| name: "Test: Release Tests" | ||
|
|
||
| on: | ||
| schedule: | ||
| - cron: '0 9 1 * *' # 1st of every month at 9:00 UTC | ||
| workflow_dispatch: | ||
| inputs: | ||
| sku: | ||
| description: 'APIM SKU for all-types integration test' | ||
| required: true | ||
| type: choice | ||
| options: | ||
| - Standard | ||
| - StandardV2 | ||
| - Premium | ||
| - PremiumV2 | ||
| default: StandardV2 | ||
| location: | ||
| description: 'Azure region for all-types integration test' | ||
| required: false | ||
| type: string | ||
| default: 'centralus' | ||
| log_level: | ||
| description: 'Log level' | ||
| required: false | ||
| type: choice | ||
| options: | ||
| - Info | ||
| - Verbose | ||
| - Debug | ||
| default: Verbose | ||
|
|
||
| permissions: | ||
| contents: read | ||
| id-token: write | ||
|
|
||
| jobs: | ||
| ci: | ||
| name: CI (Unit + Build Package Tests) | ||
| uses: ./.github/workflows/ci.yml | ||
|
|
||
| all-types-integration: | ||
| name: All-Types Integration Test | ||
| needs: ci | ||
| uses: ./.github/workflows/test-round-trip.yml | ||
| with: | ||
| sku: ${{ inputs.sku || vars.DEFAULT_SKU || 'StandardV2' }} | ||
| location: ${{ inputs.location || vars.DEFAULT_LOCATION || 'centralus' }} | ||
| log_level: ${{ inputs.log_level || vars.DEFAULT_LOG_LEVEL || 'Verbose' }} | ||
|
|
||
| redact-secrets-integration: | ||
| name: Redact Secrets Integration Test | ||
| needs: all-types-integration | ||
| uses: ./.github/workflows/test-redact-secrets.yml | ||
| with: | ||
| sku: ${{ inputs.sku || vars.DEFAULT_SKU || 'StandardV2' }} | ||
| location: ${{ inputs.location || vars.DEFAULT_LOCATION || 'centralus' }} | ||
| log_level: ${{ inputs.log_level || vars.DEFAULT_LOG_LEVEL || 'Verbose' }} | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.