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 Actions Pipeline scripts for CI #1729

Conversation

TerrenceMcGuinness-NOAA
Copy link
Collaborator

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

Description

Using self-hosted GitHub Runners on Orion this PR adds GitHub Workflows for a full CI Pipeline.
Jobs and their steps for a full CI clone/build/run of the global-workflow can be found in the new control file globalworkflow-ci.yaml in the $HOMEgfs/.github/workflows directory.

Type of change

Please delete options that are not relevant.

  • 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 Orion using the above pipeline

@TerrenceMcGuinness-NOAA TerrenceMcGuinness-NOAA changed the title Selfhosted runner GitHub Actions Pipeline scripts for CI Jul 6, 2023
ci/scripts/run-check_ci.sh Fixed Show fixed Hide fixed
# since all successfull ones where previously removed
if [[ "${num_cases}" -eq 0 ]] && [[ -d "${pr_dir}/RUNTESTS" ]]; then
if [[ -z "$(ls -A ${pr_dir}/RUNTESTS/EXPDIR)" ]] ; then

Check notice

Code scanning / shellcheck

Consider invoking this command separately to avoid masking its return value (or use '|| true' to ignore).

Consider invoking this command separately to avoid masking its return value (or use '|| true' to ignore).
# since all successfull ones where previously removed
if [[ "${num_cases}" -eq 0 ]] && [[ -d "${pr_dir}/RUNTESTS" ]]; then
if [[ -z "$(ls -A ${pr_dir}/RUNTESTS/EXPDIR)" ]] ; then

Check notice

Code scanning / shellcheck

Double quote to prevent globbing and word splitting.

Double quote to prevent globbing and word splitting.
fi

# Get job statistics
rocoto_stat_output=$(rocotostat -w "${xml}" -d "${db}" -s | grep -v CYCLE) || true

Check warning

Code scanning / shellcheck

rocoto_stat_output appears unused. Verify use (or export if used externally).

rocoto_stat_output appears unused. Verify use (or export if used externally).
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