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

N/A #344

Closed
wants to merge 2 commits into from
Closed

N/A #344

wants to merge 2 commits into from

Conversation

james-crowley
Copy link

@james-crowley james-crowley commented Jun 2, 2020

N/A

Jim Crowley and others added 2 commits June 2, 2020 10:27
* Adding support for debian slim builds

* Change debian_slim to debian-slim

* Bump all to latest version

* Update all dockerfiles to jdk8u242-b08, jdk-11.0.6+10 and jdk-13.0.2+8

* Use the v3 API
CentOS uses armv7l instead of armhf
Alpine glibc latest is now 2.30-r0

* Remove Windows 1803 release as it is EoL.

* Change cleofs to clefos (typo).

* Renamed debian-slim to debiamslim to avoid slim-slim issues

* Resolve merge conflicts

* Resolve merge conflicts for the second time

* Merge remote-tracking branch 'upstream/master' (#2)

* Added debianslim to config files

* Temporarily fallback to the v2 API until v3 usage is sorted out.

* Update aarch64 to 8u242-b08, add debianslim, update shasums for all.

* chore: Introduce shellcheck to lint .sh scripts

* chore(shellcheck): Fix issues in linter.sh

* chore(shellcheck): Fix issues in generate_latest_sums.sh

* chore(shellcheck): Fix issues in build_all.sh

* chore(shellcheck): Fix issues in slim-java.sh

* chore(shellcheck): Fix issues in test_all.sh

* chore(shellcheck): Fix issues in test_multiarch.sh

* chore(shellcheck): Fix issues in common_functions.sh

* chore(shellcheck): Fix issues in dockerfile_functions.sh

* chore(shellcheck): Fix issues in build_latest.sh

* chore(shellcheck): Fix issues in dockerhub

* chore(shellcheck): Fix issues in update_multiarch.sh

* chore(shellcheck): Fix issues in generate_manifest_script.sh

* chore(shellcheck): Ignore shasums files

* chore(shellcheck): Fix issues in update*.sh

* chore(shellcheck): Fix typo

* chore(shellcheck): Fix issue in slim-java.sh

* chore(shellcheck): Fix issues in slim-java.sh

* chore(shellcheck): Fix issues in slim-java.sh - review

* Cleanup images wit multiple tags.
After running manifest job, multiple tags exist for the same image and
they are not getting cleaned up after the run.
Also remove any dangling containers from previous runs.

* During cleanup, remove the adopt images first before calling image prune to
ensure that we remove all dangling images.

* Add double quotes to take care of linter.

* More linter fixes.

* Some bash versions add a newline causing the docker rmi to fail,
use a loop instead.

* Make sure to actually use the loop !

* Add support generating Version 14 images.

* Keep this branch in sync with master.

* Make sure we do not exit on error, instead just log it.

* Remove double quotes to fix the get_arches function.

* Prevent shell error when shasum info not available.

* Add back ubuntu unofficial images to enable testing before publishing to
official image repo.

* Add support for the V3 API.

* Rename the v2 functions as v2, remove commented code.

* Couple of windows API v3 changes got missed out.

* Add version 14 dockerfiles and update shasums for all.

* Add 14 Dockerfiles and update all shasums

* Stop building Version 13 docker images.

* Update checks to run 14 instead of 13.

* Run through all OSes for manifest generation and not only those on
x86_64 arch.

* Update slim script to not call pack200 for version >= 14 as it is now
deprecated.

* Fix tag generation for dockerhub release doc updates.

* Add checks to rebuild image only if the base OS image has been recently
updated.

* Add check for last adopt build date/time and only rebuild docker image
if a newer build tarball is available.

* Fix tab/space issues

* Add "*_build_time_latest.sh" to .gitignore

* Add timestamps and more verbose messages to each step of the build_all script

Signed-off-by: Stewart Addison <sxa@uk.ibm.com>

* Fix linter issues.

* Recent version of docker cli no longer supports the '-q' flag.

* Split the three docker image rebuild checks to independent functions.

* Remove new temporary files (build_time) that are now being created.

* Remove trailing backslash as it is not needed.

* Move back to python3 due to infrastructure issues.
Note that this puts a dependency on Ubuntu 16.04 as python3 is the
default.

* Log key dates that decide whether a docker image is built.

* Remove only nightly 13 builds for now.

* Update shasums for jdk8u252-b08, jdk-11.0.7 and jdk-14.0.1+7.
(jdk 14.0.1+7 hotspot is still pending).

* Add 14.0.1_7 hotspot shasums.

* Windows update for notarized binaries for jdk8u252-b09.1,
jdk-11.0.7+10.1 and jdk-14.0.1+7.1

* Update UBI and UBI-Minimal to version 8.2

* Make the base OS image updated check more robust
Checking for build timestamps is flaky as a delay in Adopt builds might
cause an OS update to be missed. Instead checking the individual shasums
of each of the Base OS Image layers being present in the Adopt image
ensures that any update to the base OS Image will trigger a rebuild of
the Adopt Image.

* Remove tmp files.

* Update UBI Dockerfiles to 8.2

* Fix dockerhub doc tags generated for ubi, ubi-minimal and jre.

* Add missing armv7l entries for Hotspot version 8.

* Use pkg instead of jre, supress SC2086 check as we need to process each
tag separately.

Co-authored-by: Kenji Saito <ken-yo@mbr.nifty.com>
Co-authored-by: Dinakar Guniguntala <dinogun@gmail.com>
Co-authored-by: Dinakar Guniguntala <dinakar.g@in.ibm.com>
Co-authored-by: Tim Ellison <tellison@users.noreply.github.com>
Co-authored-by: Martijn Verburg <martijnverburg@gmail.com>
Co-authored-by: grzesuav <grzesuav@gmail.com>
Co-authored-by: Stewart X Addison <sxa555@users.noreply.github.com>
Co-authored-by: Stewart Addison <sxa@uk.ibm.com>
@james-crowley james-crowley changed the title Adding Scanner Tool to Problematic Docker Images N/A Jun 2, 2020
@karianna karianna added the bug label Jun 2, 2020
@karianna karianna added wontfix and removed bug labels Jun 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants