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

Fix Ironbank Deployment Pipeline Error #5707

Merged
merged 4 commits into from
Apr 12, 2024
Merged

Conversation

DMedina6
Copy link
Contributor

@DMedina6 DMedina6 commented Apr 5, 2024

Ironbank deployment pipeline gives an error during the lint-and-image-inspect job:

$ python3 "${PIPELINE_REPO_DIR}/stages/validate-container-repository/lint/validate_hardening_manifest.py"
| hardening_manifest           | INFO     | Validating schema
| hardening_manifest           | INFO     | This task will exit if not completed within 2 minutes
| hardening_manifest           | ERROR    | Hardening Manifest failed jsonschema validation
| hardening_manifest           | ERROR    | Verify Hardening Manifest content
| hardening_manifest           | ERROR    | {'tag': 'mitre/heimdall2:2.10.4', 'url': 'docker://docker.io/mitre/heimdall2@'} is not valid under any of the given schemas

which indicates that the url is missing the SHA commit hash at the end. Code has been adjusted to correctlyed grab this value and has been tested.

@em-c-rod em-c-rod requested a review from Amndeep7 April 9, 2024 15:14
@Amndeep7 Amndeep7 added the ready-to-merge Used by mergify to identify if a PR is ready to merge into master. label Apr 10, 2024
Copy link

sonarcloud bot commented Apr 10, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@Amndeep7 Amndeep7 added ready-to-merge Used by mergify to identify if a PR is ready to merge into master. and removed ready-to-merge Used by mergify to identify if a PR is ready to merge into master. labels Apr 12, 2024
@Amndeep7 Amndeep7 merged commit 660b128 into master Apr 12, 2024
18 of 20 checks passed
@mergify mergify bot deleted the ironbank-deployment-fix branch April 12, 2024 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge Used by mergify to identify if a PR is ready to merge into master.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants