Docker Image build from RHEL UBI base image
- Branch from
main - Make changes
- Increment build number file value
- Commit and Push
- Create PR merging into
main - Get reviewed and approved
- Checkout
mainand pull - Execute
check_upstream.shIf it reports Up to date with trinodb/trino then stop. - If it reports a new trino version number, then branch from
mainfor that new version. - Update
Dockerfile:ARG PRESTO_VERSIONsetting it to the version reported. - Execute
get_trino_version.shto make sure that the output matches the new trino version. - Increment the value in
image_build_num.txtwithbump-image-tag.sh. - Run a test build by executing
pr_check.sh - If successful, then commit changes and push branch.
- Create a PR, this should execute a PR check script.
- If successful, get approval and merge.
- Note: If the UBI image version is updated in the Dockerfile you must also update the
check-image.ymlworkflow.
check_upstream.sh: Check the current version of trino set in the Dockerfile against release tags from thetrinodb/trinorepo.get_trino_version.sh: Get the current trino version from theDockerfile.get_latest_repo_release_tag.sh: Get the latest release tag from thetrinodb/trino repo.docker-build-dev.sh: Executes a local test build of the docker image.get_image_tag.sh: Return the image tag made from the hive version and the build number fromimage_build_num.txt
pr_check.sh: PR check script (You should not need to modify this)build_deploy.sh: Build and deploy to Red Hat cloudservices quay org. (You should not need to modify this script)