summaryrefslogtreecommitdiff
path: root/tools/validate-binary-build.sh
AgeCommit message (Collapse)AuthorFilesLines
2022-12-16CI: do not check for error in binary imagesMarcin Juszkiewicz1-48/+0
There are no such anymore. Change-Id: Icf7d1988aa7208cda1b6f70269b9b54cd201b730 (cherry picked from commit a0b9a9704d5d799f99a5cfa7923cb1209da16ac3)
2021-07-28drop leftovers of RHEL supportMarcin Juszkiewicz1-1/+1
As a project we never built RHEL based images so support for them was not tested. Change-Id: I27dfe34ade088228d71f6857ec4f3ab28ee63915
2020-07-06Remove sensu imagesMarcin Juszkiewicz1-1/+0
They have been deprecated in Ussuri [1]. [1]: https://review.opendev.org/#/c/711636/ Change-Id: I0cfde46c29eedce77c70c1c677220814a801ff3a
2020-01-20Make tools bash compatibleDincer Celik1-1/+2
Change-Id: Iccccc91b0a44f92bcbb2442638a93e7624da112b
2019-09-18Remove support for OracleLinuxMark Goddard1-1/+1
We have agreed to remove support for Oracle Linux. http://lists.openstack.org/pipermail/openstack-discuss/2019-June/006896.html Change-Id: I961dfba1aeef2c509ecdaf376dfe6928926ffb39 Depends-On: https://review.opendev.org/682858
2019-06-07Add script to check for forbidden instructionsMartin André1-0/+48
When building images for binary type, it is expected to not install executables from untrusted sources, and gem, sensu-install, npm or pip packages for instance should come from the distro itself. This commit adds a `validate-binary-build.sh` script that checks for forbidden commands in the rendered Dockerfile templates for the binary type builds and hooks this script with the pep8 CI job. The output is just informative for now until we've fixed the culprit Dockerfiles, then we'll make the script return an error code and with the ability to fail the pep8 CI check. This should prevent unwanted commands from entering binary type Dockerfiles. Change-Id: I66e54bd18f4256cdca6c0c50626de4f975c246b8