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

[CI] allow for manual triggered jobs to accept inputs #58

Commits on Sep 27, 2023

  1. [CI] allow for manual triggered jobs to accept inputs

    Utilizing the GitHub `workflow_dispatch`, we can trigger
    a job with a specific input.
    
    Here we are allowing for tests to be ran pulling down from:
    https://github.com/opensearch-project/opensearch-dashboards-functional-test
    
    This workflow uses the target branch of the PR to pull down
    from the FTRepo and run the tests from that specific branch.
    
    For example, PRs against `main` will pull down `main` from
    the FTRepo.
    
    The problem occurs when new functionality is opened or a bug is
    fixed and, per industry standard, we want to see tests added
    to ensure functionality, stability, and raise the bar.
    
    But the cypress tests PR into the FTRepo depends on the new code
    to be merged for the CI within the FTRepo to work. So we have a
    stalemate that usually slows down PR review time.
    
    Here, a manual run can be triggered using the branch provided by
    the maintainer who ran the job.
    
    Signed-off-by: Kawika Avilla <[email protected]>
    kavilla committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    534041d View commit details
    Browse the repository at this point in the history
  2. utilize different variable

    Signed-off-by: Kawika Avilla <[email protected]>
    kavilla committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    0bfeab0 View commit details
    Browse the repository at this point in the history
  3. use gitenv

    Signed-off-by: Kawika Avilla <[email protected]>
    kavilla committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    a1f867d View commit details
    Browse the repository at this point in the history
  4. log

    Signed-off-by: Kawika Avilla <[email protected]>
    kavilla committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    2b1768e View commit details
    Browse the repository at this point in the history
  5. base ref

    Signed-off-by: Kawika Avilla <[email protected]>
    kavilla committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    adcf8db View commit details
    Browse the repository at this point in the history
  6. pass 3 var

    Signed-off-by: Kawika Avilla <[email protected]>
    kavilla committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    b8946be View commit details
    Browse the repository at this point in the history
  7. verify inputs

    Signed-off-by: Kawika Avilla <[email protected]>
    kavilla committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    2228674 View commit details
    Browse the repository at this point in the history
  8. invalid

    Signed-off-by: Kawika Avilla <[email protected]>
    kavilla committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    b303bdc View commit details
    Browse the repository at this point in the history
  9. add comment adder

    Signed-off-by: Kawika Avilla <[email protected]>
    kavilla committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    b55fa72 View commit details
    Browse the repository at this point in the history
  10. test comment

    Signed-off-by: Kawika Avilla <[email protected]>
    kavilla committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    fa67faa View commit details
    Browse the repository at this point in the history
  11. accept input and read pr

    Signed-off-by: Kawika Avilla <[email protected]>
    kavilla committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    98079ab View commit details
    Browse the repository at this point in the history