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 Framework Addition #23

Merged
merged 7 commits into from
Dec 6, 2021
Merged

CI Framework Addition #23

merged 7 commits into from
Dec 6, 2021

Conversation

collinss-jpl
Copy link
Collaborator

This merge adds the initial Continuous Integration framework for the opera_pge repository. This framework was largely adapted from NISAR, and is currently intended for use with Jenkins.

A build-test-deploy Jenkins script has been added, along with all required shell scripts needed to configure a pipeline that does the following:

  1. Clones the latest main branch of the opera_pge repo
  2. Builds all PGE Docker images (currently this is only the DSWx-HLS image)
  3. Runs flake8, pylint and pytest w/ code coverage on containers of each built Docker image
  4. Uploads all Docker images to Artifactory, both as tarballs and raw Docker images.

Scott Collins added 7 commits November 29, 2021 11:14
Having whitespace maintained per-argument from the YAML config turned out to be the desirable behavior.
Necessary whitespace parsing of arguments should be handled within the Runconfig itself.
…d by the opera_pge repo

A package installation step using this requirements.txt has also been added to the DSWx-HLS Dockerfile.
… CI system.

These file are copied into the Docker build staging area that eventually finds its way into a Docker image, so they're avaiable when running the utilities from within said container
This script simply forwards the commands/arguments from a Docker run call the shell within a container to allow execution of arbitrary utilities, such as flake8 or pylint
This script represents the initial CI capability for testing the DSWx-HLS container image.
It currently invokes flake8, pylint and pytest and stores their results in a Docker volume area.
…peline for the opera_pge repo

Some additional shell scripts have also been added as entrypoints for the build and test phases
@collinss-jpl collinss-jpl merged commit 94d45c4 into main Dec 6, 2021
@collinss-jpl collinss-jpl deleted the 8_ci_framework_addition branch January 12, 2022 22:20
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