-
Notifications
You must be signed in to change notification settings - Fork 732
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
[FAPI Conformance] Add email and Gchat sending option with test result summary #18782
Merged
Merged
Changes from 6 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
c31a3f8
[FAPI] send test result emails
anjuchamantha 349dee6
[FAPI] add README.md
anjuchamantha 4d16255
[FAPI] add EOF line
anjuchamantha c41c152
Merge branch 'master' of https://github.com/anjuchamantha/product-is
anjuchamantha 31f67e0
[FAPI] Modify README.md
anjuchamantha 455d5c4
[FAPI] Modify README.md
anjuchamantha b4d21d4
[FAPI] Send google chat with FAPI test results
anjuchamantha 5673dc2
[FAPI] Modify google chat title for test result msg
anjuchamantha 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
There are no files selected for viewing
This file contains 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 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,32 @@ | ||
This folder contains the configuration files and scripts that can be used to automate OIDC FAPI conformance testing. These tests can be run using GitHub actions or locally. | ||
|
||
## Testing using GitHub actions | ||
|
||
OIDC FAPI conformance test workflow can be used to for this purpose. | ||
1. Go to Actions tab in your repository | ||
2. Click on FAPI OIDC Conformance Test workflow | ||
3. Click on Run workflow | ||
4. You need to provide the product-is release tag version you want to test (by default, it builds the latest IS by source) | ||
5. Also by default FAPI conformance suite is built from the latest released branch in https://gitlab.com/openid/conformance-suite.git. You can run against a specific conformance suite version also. | ||
6. Set 'Send test results to email' to 'yes' if you want to send test summary to a list of pre-configured email addresses. (default is 'no') | ||
7. Click on Run workflow | ||
8. After tests are completed you can view test results on the test summary page | ||
9. Two types of artifacts are saved after the test execution is completed | ||
- test-logs - a log file is generated for each test plan. This log contains a summary of test cases with failures and warnings | ||
- test-results - a zip file is generated for each test plan. You can use a web browser to view a detailed report of the test plan by extracting this zip file | ||
|
||
An email containing the same test summary will also be sent to a pre-configured list of email addresses. The sender email, password and the receiver emil list are the same as for OIDC action build. If you need to have a seperate receiver email list for FAPI Conformance action build, | ||
* Create a github secret with name `FAPI_RECEIVER_LIST` and add the list of receiver emails seperated by commas. | ||
|
||
Default configuration is to use Gmail SMTP server. You can change that by modifying `SMTP_SERVER` and `SMTP_SERVER_PORT` in `constants_fapi.py` | ||
|
||
This workflow is scheduled to run daily at 08:30 UTC (2:00 AM SL time) and will also automatically trigger after a release or a pre-release. | ||
|
||
To locally setup and run the test suite, follow the [fapi-oidc-conformance-test.yml](.github/workflows/fapi-oidc-conformance-test.yml) script and execute the steps. | ||
|
||
## Test Profiles | ||
|
||
Running fapi test profiles are in [test_runner_fapi.sh](oidc-fapi-conformance-tests/test_runner_fapi.sh) script. Currently Running profiles, | ||
* private_key_jwt | ||
* mtls | ||
|
This file contains 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 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed