Remove dotenv reports from setup job
Description
- Removes the
.env
files created in the setup job to be replaced in favor of.json
files. - Where applicable calls environment variables were replaced with reading the hardening manifest.
Testing
- Verified job outputs are the same when compared to running the master branch in prod.
- Verified the tag was posted to VAT's endpoint for IBFE to consume correctly in the 7-post-publish/upload_artifacts.py script.
- Verified output artifacts follow the same structure when compared to a master branch pipeline run in prod.
- See this diff file for comparison of production master branch run compared to this branch for the files uploaded to vat in the upload-to-s3-job. You'll notice all the files have the same name except for a few that have a different named based on job/pipeline id. There are no extra/missing files in the comparison. pipeline-runner-alpine-report-files-diff.txt
Comparing the reports uploaded to the s3 bucket between mario/prod.:
- prod-pipeline-runner-alpine-24.09.09-163637-0-reports-signature.tar.gz
- mario-pipeline-runner-alpine--reports-signature.tar.gz
- Diff showing the number of artifacts being uploaded haven't changed: reports-files-diff.txt
Mario Test Pipelines:
- https://code-ib-mario.staging.dso.mil/dsop/suse/bci/bci-base/-/pipelines/77710
- https://code-ib-mario.staging.dso.mil/dsop/redhat/ubi/9.x/ubi9/-/pipelines/77709
- https://code-ib-mario.staging.dso.mil/dsop/redhat/ubi/9.x/ubi9-minimal/-/pipelines/77708
- https://code-ib-mario.staging.dso.mil/dsop/redhat/ubi/9.x/ubi9-micro/-/pipelines/77707
- https://code-ib-mario.staging.dso.mil/dsop/opensource/fluent/fluent-bit/-/pipelines/77706
- https://code-ib-mario.staging.dso.mil/dsop/opensource/debian/debian12.x/debian-12.x/-/pipelines/77705
- https://code-ib-mario.staging.dso.mil/dsop/opensource/debian/debian12.x/debian-12-slim/-/pipelines/77704
- https://code-ib-mario.staging.dso.mil/dsop/ironbank-pipelines/pipeline-runner-alpine/-/jobs/348035
- https://code-ib-mario.staging.dso.mil/dsop/google/distroless/base/-/jobs/348016
- https://code-ib-mario.staging.dso.mil/dsop/docker/scratch/-/pipelines/77701
- https://code-ib-mario.staging.dso.mil/dsop/canonical/ubuntu/pro-cis-stig-22.04/ubuntu-pro-cis-stig-22.04
Edited by Jeffrey Wuebbles