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

test(e2e): fix trigger to be built off of the branch, rather than main #21

Closed
wants to merge 9 commits into from

Conversation

charliedmcb
Copy link
Collaborator

@charliedmcb charliedmcb commented Nov 9, 2023

Fixes #

Description
The issue was discovered when testing this PR:
#9

When updating the flow to be indirectly triggered it meant that the suite on the main branch was always the one being run.

This meant we didn't have a way of testing new e2e suites, or updates to them.

This PR adds a new trigger that allows us to trigger the E2E suite for the branch instead of main

I somewhat dislike having both of these triggers, but think its a fine solution for now.

How was this change tested?
See this PR, and the approval comments I used + the linked runs in the checks section.
*

Does this change impact docs?

  • Yes, PR includes docs updates
  • Yes, issue opened: #
  • No

Release Note

NONE

Copy link
Collaborator Author

@charliedmcb charliedmcb left a comment

Choose a reason for hiding this comment

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

/test

Copy link
Collaborator Author

@charliedmcb charliedmcb left a comment

Choose a reason for hiding this comment

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

/test

Copy link
Collaborator Author

@charliedmcb charliedmcb left a comment

Choose a reason for hiding this comment

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

this should trigger nothing

Copy link
Collaborator Author

@charliedmcb charliedmcb left a comment

Choose a reason for hiding this comment

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

/new-e2e-test

Copy link
Collaborator Author

@charliedmcb charliedmcb left a comment

Choose a reason for hiding this comment

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

/test

@charliedmcb charliedmcb marked this pull request as ready for review November 9, 2023 23:01
Copy link
Collaborator Author

@charliedmcb charliedmcb left a comment

Choose a reason for hiding this comment

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

/new-e2e

Copy link
Collaborator Author

@charliedmcb charliedmcb left a comment

Choose a reason for hiding this comment

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

/updated-e2e

Copy link
Collaborator Author

@charliedmcb charliedmcb left a comment

Choose a reason for hiding this comment

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

/branch-e2e

Copy link
Collaborator Author

@charliedmcb charliedmcb left a comment

Choose a reason for hiding this comment

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

/test

Copy link
Collaborator Author

@charliedmcb charliedmcb left a comment

Choose a reason for hiding this comment

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

/branch-e2e

Copy link
Collaborator Author

@charliedmcb charliedmcb left a comment

Choose a reason for hiding this comment

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

/test

@charliedmcb charliedmcb changed the title test(e2e): try adding new trigger for new e2e tests test(e2e): adding new trigger when adding new e2e tests Nov 9, 2023
@charliedmcb charliedmcb marked this pull request as draft November 10, 2023 00:27
Copy link
Collaborator Author

@charliedmcb charliedmcb left a comment

Choose a reason for hiding this comment

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

/test

Copy link
Collaborator Author

@charliedmcb charliedmcb left a comment

Choose a reason for hiding this comment

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

/branch-e2e

@charliedmcb charliedmcb changed the title test(e2e): adding new trigger when adding new e2e tests test(e2e): fix trigger to be built off of the branch, rather than main Nov 10, 2023
Copy link
Collaborator Author

@charliedmcb charliedmcb left a comment

Choose a reason for hiding this comment

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

/test

@charliedmcb
Copy link
Collaborator Author

Came up with a new system for handling this, by manually running the existing test matrix on the branch

@charliedmcb charliedmcb deleted the charliedmcb/tryAddingTriggerForNewE2ETests branch November 17, 2023 21:56
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.

1 participant