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

[GH-62] Show scheduled test runs in Teams #63

Merged
merged 20 commits into from
Jan 17, 2025
Merged

[GH-62] Show scheduled test runs in Teams #63

merged 20 commits into from
Jan 17, 2025

Conversation

goulter
Copy link
Collaborator

@goulter goulter commented Jan 16, 2025

This change brings the old slack notification of the scheduled tests over to teams. Documentation also updated.
Closes GH-62

When this runs on its schedule, the reason will read "Scheduled run"
image

Copy link

@goulter goulter changed the title [GH-62] [GH-62] Show scheduled test runs in Teams Jan 17, 2025
@goulter goulter marked this pull request as ready for review January 17, 2025 19:58
Copy link

@soufianerafik soufianerafik left a comment

Choose a reason for hiding this comment

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

Thanks @goulter, great work! I’ve left a few comments, but nothing major. I’m looking forward to hearing your thoughts on them.

Please let me know if we should remove the following files. Ideally, the main branch should contain only code that is actively deployed and used, which we can easily retrieve via GitHub if needed:

Thanks again!

Comment on lines 14 to -29
inputs:
target-idp-env:
description: >
NOTE: Running this workflows manually via this form will allow you to test the yaml of this workflow file and it will run the same tests as found in "No Slack - Run UW IdP Web Tests."
For "normal" on demand running of the idp tests, the "No Slack - Run UW IdP Web Tests" can be used.

target-idp-env. Acceptable values are `eval`, `prod`. The idp environment
you want to test against.
required: true
default: eval

target-idp-host:
description: >
target-idp-host. Optional. If provided, will add an /etc/hosts entry
targeting this host.
required: false

Choose a reason for hiding this comment

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

I noticed that the this workflow was significantly trimmed, and only the reason field was retained. Could you provide some background on why the other functionality was removed? Just trying to understand the context behind this change.

Before:

Screenshot 2025-01-17 at 12 13 06 PM

This Branch:

Screenshot 2025-01-17 at 12 13 53 PM

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ah, right. The main branch in this case is a little misleading. I changed the scheduled task when I merged the an older PR I created for the run on demand workflow. I put the workflow_dispatch it in there originally just to run the scheduled one on demand. The finished version (the one in this PR) strips out most of the form fields I introduced. I can clarify more if you'd like.

Choose a reason for hiding this comment

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

Awesome, thanks for the context! That clears things up. I noticed this was added about three weeks ago and has now been removed—makes sense to me. We're all set then. Thanks so much! 🙂

Screenshot 2025-01-17 at 3 19 29 PM

description: >
pytest-args. Any args you want to send to pytest. You do not ever need to
supply `log_cli` arguments.
required: false

Choose a reason for hiding this comment

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

Same comment as above.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

see above

.github/workflows/scheduled-idp-web-tests.yml Outdated Show resolved Hide resolved
.github/workflows/scheduled-idp-web-tests.yml Outdated Show resolved Hide resolved
.github/workflows/scheduled-idp-web-tests.yml Outdated Show resolved Hide resolved
.github/scripts/configure-workflow.sh Outdated Show resolved Hide resolved
Copy link

Copy link

@goulter goulter requested a review from soufianerafik January 17, 2025 22:19
Copy link

Copy link

Copy link

Copy link

@soufianerafik soufianerafik left a comment

Choose a reason for hiding this comment

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

Thanks, Glen, for addressing my comments and making the updates! I believe we're all set now and good to go. 😊

@goulter goulter merged commit f61ea53 into mainline Jan 17, 2025
1 check passed
@goulter goulter deleted the GH-62 branch January 17, 2025 23:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create Teams notifications for scheduled idp tests
2 participants