nasa / opera-sds-pge

Observational Products for End-Users from Remote Sensing Analysis (OPERA)
Apache License 2.0
16 stars 6 forks source link

[Bug]: Release Pipeline post steps break when publishing Sphinx docs #468

Closed RKuttruff closed 3 months ago

RKuttruff commented 3 months ago

Checked for duplicates

Yes - I've already checked

Describe the bug

When running the release pipeline configured to build & publish Sphinx docs, the post always steps fail on invocation of the .ci/scripts/util/cleanup.sh script, indicating no such file or directory. I suspect this is caused by the git step in the Push OPERA PGE HTML documentation to GitHub Pages stage switching the branch of the working dir to gh-pages which lacks the .ci directory.

What did you expect?

I expected the pipeline to run the post steps, cleanup the built images and conda environment, and exit successfully.

Reproducible steps

Run either the release pipeline or the sandbox pipeline on the release Jenkinsfile with the `PUBLISH_DOCS` parameter checked.

Environment

https://opera-pge-ci.jpl.nasa.gov/
RKuttruff commented 3 months ago

Fixed by #470