nasa / harmony-browse-image-generator

Other
2 stars 4 forks source link

DAS-2070 - Implement GitHub workflows CI/CD. #1

Closed owenlittlejohns closed 8 months ago

owenlittlejohns commented 8 months ago

Description

This PR implements CI/CD to run the unittest suite for all PRs. It also adds a Docker image publication workflow for when changes are merged into the main branch containing an update to docker/service_version.txt.

The workflows are essentially copies of those used in the HOSS and Swath Projector repositories.

Jira Issue ID

DAS-2070

Local Test Steps

It's probably good to check the bin/build-image, bin/build-test and bin/run-test scripts all work on your local machine (given the change in image name).

You can also test this all works with Harmony locally:

Things to look for on this PR itself:

PR Acceptance Checklist

lyonthefrog commented 8 months ago

Take out the elusive sds's:

image
owenlittlejohns commented 8 months ago

@lyonthefrog - good catches. I made some changes in the latest commit to fix most of those:

lyonthefrog commented 8 months ago

The HyBIG regression tests were successful, as were the unit tests (report below). And it appears that the Snyk checks below have passed.

image