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

Migration to role account for Jenkins on Orion #3428

Conversation

TerrenceMcGuinness-NOAA
Copy link
Collaborator

Description

This PR has the necessary updates to the CI scripts in Jenkins for running on Orion with the glopara role account.

PyGithub is not in Spack Stack yet and is needed in support of the GitHub logging and gist creation python codes. This python module will be installed in $HOME/.local in the role accounts until the module is added to Spack Stack.

Same with GitHub CLI (which will be supported in Spack Stack 1.9) it will be installed in ${ROLE_HOME}/utils/bin which should be in role account's $PATH where ROLE_HOME is at the same level as fix and data.

This is setup to run in the role account with the following added directories and utils:

/work2/noaa/global/role-global/GFS_CI_CD/ORION/CI

Location on disk where the CI test cases actually build and run specified in Jenkinsfile

└── GFS_CI_CD
    ├── global-workflow
    │   └── workflow
    ├── GFS_BASH_CI
    ├── GitLab
    └── Jenkins
        ├── agent
        └── workspace

Top level CI directories (this will file structure be duplicated for each role account)

GFS_CI_CD

CI system directory for Jenkins launching scripts and in support of BASH CI

GFS_CI_CD/global-workflow

Directory where the JAVA agent is launched from

Jenkins/agent

Jenkins work space (system level workspace)

Jenkins/workspace

Resolves #3427

Type of change

  • Bug fix (fixes something broken)
  • New feature (adds functionality)
  • Maintenance (code refactor, clean-up, new CI test, etc.)

Change characteristics

  • Is this a breaking change (a change in existing functionality)? NO
  • Does this change require a documentation update? NO
  • Does this change require an update to any of the following submodules? NO (If YES, please add a link to any PRs that are pending.)
    • EMC verif-global
    • GDAS
    • GFS-utils
    • GSI
    • GSI-monitor
    • GSI-utils
    • UFS-utils
    • UFS-weather-model
    • wxflow

How has this been tested?

This PR can be tested in place

@TerrenceMcGuinness-NOAA TerrenceMcGuinness-NOAA changed the title Ci jenkins role orion Migration to role account for Jenkins on Orion Mar 7, 2025
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.

Migrate Jenkins CI automation to Role Accounts on Orion
1 participant