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

GitHub Workflow Pipeline #1740

Conversation

TerrenceMcGuinness-NOAA
Copy link
Collaborator

@TerrenceMcGuinness-NOAA TerrenceMcGuinness-NOAA commented Jul 14, 2023

Description

Adding a GItHub Workflow for running a global-workflow CI Pipline for checkout-build and running a few test experiments.
A self-hosted "runner" is setup on Orion to run this Pipeline. All interactions with these Pipelines are administered via GitHub such as viewing results and stop and starting the tests.

This version is a "dispatch" mode meaning owners of the GitHub repo can launch the tests with a button on a given branch.
Adding PR based system has been developed and can also update Labels as does the CRON based BASH system.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

  • Clone and Build tests on WCOSS Dell P3
  • Cycled test on Orion
  • Forecast-only test on Orion

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes need updates to the documentation. I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • New and existing tests pass with my changes
  • Any dependent changes have been merged and published

@TerrenceMcGuinness-NOAA TerrenceMcGuinness-NOAA added the CI/CD Issue related to CI/CD label Jul 14, 2023
@TerrenceMcGuinness-NOAA TerrenceMcGuinness-NOAA changed the title Selfhosted runner dispatched GitHub Workflow Pipeline Jul 14, 2023
ci/scripts/run-check_ci.sh Fixed Show fixed Hide fixed
ci/scripts/run-check_ci.sh Fixed Show fixed Hide fixed
BASH lint quotes
@WalterKolczynski-NOAA
Copy link
Contributor

Do we even need the labels anymore after this? Won't the tests now appear under "checks" with the rest of the GH actions?

@aerorahul
Copy link
Contributor

Do we even need the labels anymore after this? Won't the tests now appear under "checks" with the rest of the GH actions?

There are nuances to this way of doing CI.
It is not supposed to be permanent in this form.

Copy link
Contributor

@aerorahul aerorahul left a comment

Choose a reason for hiding this comment

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

looks great.

@aerorahul
Copy link
Contributor

Here is the resulting pipeline.
Viewable from Github Action itself.
Screenshot 2023-07-14 at 5 26 01 PM

@aerorahul aerorahul merged commit 3e96ed5 into NOAA-EMC:develop Jul 14, 2023
@aerorahul aerorahul deleted the selfhosted-Runner_dispatched branch July 14, 2023 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI/CD Issue related to CI/CD
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants