From 57ba9958db494a3d33f6d832533c31fc395c9e40 Mon Sep 17 00:00:00 2001 From: Jake Awe <50372925+AyodeAwe@users.noreply.github.com> Date: Wed, 28 Feb 2024 10:13:24 -0600 Subject: [PATCH 1/8] Configure regex manager for unreachable dependencies (#108) --- README.md | 14 ++++++++++++++ ci-conda.Dockerfile | 24 ++++++++++++++++-------- ci-wheel.Dockerfile | 24 ++++++++++++++---------- ci/compute-build-args.sh | 25 ++++++++++++++----------- citestwheel.Dockerfile | 8 ++++++-- renovate.json | 11 +++++++++++ versions.yaml | 12 ++++++++++++ 7 files changed, 87 insertions(+), 31 deletions(-) create mode 100644 versions.yaml diff --git a/README.md b/README.md index bb65579..4bdde05 100644 --- a/README.md +++ b/README.md @@ -9,3 +9,17 @@ This repository includes the following CI images for RAPIDS: ## `latest` tag The `latest` image tags are controlled by the values in `latest.yaml`. + +## Building the dockerfiles locally + +To easily build the dockerfiles locally, you may use the following snippets: + +```sh +export LINUX_VER=ubuntu22.04 +export CUDA_VER=12.2.2 +export PYTHON_VER=3.11 +export ARCH=amd64 +docker build $(ci/compute-build-args.sh) -f ci-conda.Dockerfile context/ +docker build $(ci/compute-build-args.sh) -f ci-wheel.Dockerfile context/ +docker build $(ci/compute-build-args.sh) -f citestwheel.Dockerfile context/ +``` diff --git a/ci-conda.Dockerfile b/ci-conda.Dockerfile index 7eed28e..c89df6f 100644 --- a/ci-conda.Dockerfile +++ b/ci-conda.Dockerfile @@ -1,6 +1,13 @@ ARG CUDA_VER=notset ARG LINUX_VER=notset ARG PYTHON_VER=notset +ARG YQ_VER +ARG AWS_CLI_VER + +FROM mikefarah/yq:${YQ_VER} as yq + +FROM amazon/aws-cli:${AWS_CLI_VER} as aws-cli + FROM rapidsai/miniforge-cuda:cuda${CUDA_VER}-base-${LINUX_VER}-py${PYTHON_VER} ARG TARGETPLATFORM @@ -93,6 +100,7 @@ esac EOF # Install gha-tools +ARG SCCACHE_VER RUN wget https://github.com/rapidsai/gha-tools/releases/latest/download/tools.tar.gz -O - \ | tar -xz -C /usr/local/bin @@ -105,21 +113,21 @@ rapids-mamba-retry install -y \ gh \ git \ jq \ - "sccache==0.7.6" \ + "sccache==${SCCACHE_VER}" \ "python=${PYTHON_VERSION}.*=*_cpython" conda clean -aipty EOF # Install codecov binary +ARG CODECOV_VER RUN < "${GITHUB_OUTPUT:-/dev/stdout}" ARGS<[^ ]+) depName=(?[^\\n]+)(?: versioning=(?[^\\n]+))?\\n(?[^:]+): (?[^\\n]+)" + ], + "depNameTemplate": "{{depName}}", + "datasourceTemplate": "{{datasource}}", + "versioningTemplate": "{{#if versioning}}{{versioning}}{{else}}semver{{/if}}" + } ] } diff --git a/versions.yaml b/versions.yaml new file mode 100644 index 0000000..65ecb37 --- /dev/null +++ b/versions.yaml @@ -0,0 +1,12 @@ +# renovate: datasource=github-releases depName=mozilla/sccache +SCCACHE_VER: 0.7.6 +# renovate: datasource=github-releases depName=cli/cli +GH_CLI_VER: 2.32.0 +# renovate: datasource=github-releases depName=codecov/uploader +CODECOV_VER: 0.3.2 +# renovate: datasource=docker depName=mikefarah/yq +YQ_VER: 4.41.1 +# renovate: datasource=github-releases depName=openucx/ucx +UCX_VER: 1.14.1 +# renovate: datasource=docker depName=amazon/aws-cli versioning=docker +AWS_CLI_VER: 2.15.9 From 2ae14fdbf1092d4a61abe50386cc9da6bebcce89 Mon Sep 17 00:00:00 2001 From: Jake Awe <50372925+AyodeAwe@users.noreply.github.com> Date: Wed, 28 Feb 2024 11:52:36 -0600 Subject: [PATCH 2/8] fix wrong fileMatch target (#117) [skip ci] --- renovate.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renovate.json b/renovate.json index 3c2e727..d399c67 100644 --- a/renovate.json +++ b/renovate.json @@ -5,7 +5,7 @@ ], "regexManagers": [ { - "fileMatch": "renovate.yaml", + "fileMatch": "versions.yaml", "matchStrings": [ "# renovate: datasource=(?[^ ]+) depName=(?[^\\n]+)(?: versioning=(?[^\\n]+))?\\n(?[^:]+): (?[^\\n]+)" ], From e0eb684c21822a5cb88a11daca1c8539588f293a Mon Sep 17 00:00:00 2001 From: Jake Awe <50372925+AyodeAwe@users.noreply.github.com> Date: Wed, 28 Feb 2024 12:23:28 -0600 Subject: [PATCH 3/8] remove versioning specification in regex (#120) [skip ci] --- versions.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versions.yaml b/versions.yaml index 65ecb37..1d8c94e 100644 --- a/versions.yaml +++ b/versions.yaml @@ -8,5 +8,5 @@ CODECOV_VER: 0.3.2 YQ_VER: 4.41.1 # renovate: datasource=github-releases depName=openucx/ucx UCX_VER: 1.14.1 -# renovate: datasource=docker depName=amazon/aws-cli versioning=docker +# renovate: datasource=docker depName=amazon/aws-cli AWS_CLI_VER: 2.15.9 From 920eb7897a94957e5a11b94184471469df49ab75 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 28 Feb 2024 13:23:44 -0500 Subject: [PATCH 4/8] Update mikefarah/yq Docker tag to v4.42.1 (#115) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- versions.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versions.yaml b/versions.yaml index 1d8c94e..106b6f6 100644 --- a/versions.yaml +++ b/versions.yaml @@ -5,7 +5,7 @@ GH_CLI_VER: 2.32.0 # renovate: datasource=github-releases depName=codecov/uploader CODECOV_VER: 0.3.2 # renovate: datasource=docker depName=mikefarah/yq -YQ_VER: 4.41.1 +YQ_VER: 4.42.1 # renovate: datasource=github-releases depName=openucx/ucx UCX_VER: 1.14.1 # renovate: datasource=docker depName=amazon/aws-cli From a1aa349086475bacda24abe54820631bbfad2816 Mon Sep 17 00:00:00 2001 From: Jake Awe <50372925+AyodeAwe@users.noreply.github.com> Date: Wed, 28 Feb 2024 13:08:36 -0600 Subject: [PATCH 5/8] fix versioning capture (#123) [skip ci] --- renovate.json | 2 +- versions.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/renovate.json b/renovate.json index d399c67..d912893 100644 --- a/renovate.json +++ b/renovate.json @@ -7,7 +7,7 @@ { "fileMatch": "versions.yaml", "matchStrings": [ - "# renovate: datasource=(?[^ ]+) depName=(?[^\\n]+)(?: versioning=(?[^\\n]+))?\\n(?[^:]+): (?[^\\n]+)" + "# renovate: datasource=(?[^ ]+) depName=(?[^\\s]+)(?:\\s+versioning=(?[^\\n]+))?\\n(?[^:]+): (?[^\\n]+)" ], "depNameTemplate": "{{depName}}", "datasourceTemplate": "{{datasource}}", diff --git a/versions.yaml b/versions.yaml index 106b6f6..56b3d4a 100644 --- a/versions.yaml +++ b/versions.yaml @@ -4,9 +4,9 @@ SCCACHE_VER: 0.7.6 GH_CLI_VER: 2.32.0 # renovate: datasource=github-releases depName=codecov/uploader CODECOV_VER: 0.3.2 -# renovate: datasource=docker depName=mikefarah/yq +# renovate: datasource=docker depName=mikefarah/yq versioning=docker YQ_VER: 4.42.1 # renovate: datasource=github-releases depName=openucx/ucx UCX_VER: 1.14.1 -# renovate: datasource=docker depName=amazon/aws-cli +# renovate: datasource=docker depName=amazon/aws-cli versioning=docker AWS_CLI_VER: 2.15.9 From 6cae9e7eea0887a7a1616260cb20001069d54c4a Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Fri, 1 Mar 2024 13:54:09 -0800 Subject: [PATCH 6/8] Use Python 3.11 in latest tag. (#125) --- latest.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/latest.yaml b/latest.yaml index b8fb9f9..18c6b90 100644 --- a/latest.yaml +++ b/latest.yaml @@ -1,9 +1,9 @@ # Define the values used for the "latest" tag conda: CUDA_VER: "12.0.1" - PYTHON_VER: "3.10" + PYTHON_VER: "3.11" LINUX_VER: "ubuntu22.04" wheels: CUDA_VER: "12.0.1" - PYTHON_VER: "3.10" + PYTHON_VER: "3.11" LINUX_VER: "ubuntu20.04" From 50ea751fc692ff658ad9ccd3857221373994949f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 4 Mar 2024 15:33:12 -0600 Subject: [PATCH 7/8] Update amazon/aws-cli Docker tag to v2.15.25 (#121) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- versions.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versions.yaml b/versions.yaml index 56b3d4a..070ab17 100644 --- a/versions.yaml +++ b/versions.yaml @@ -9,4 +9,4 @@ YQ_VER: 4.42.1 # renovate: datasource=github-releases depName=openucx/ucx UCX_VER: 1.14.1 # renovate: datasource=docker depName=amazon/aws-cli versioning=docker -AWS_CLI_VER: 2.15.9 +AWS_CLI_VER: 2.15.25 From d1b5b7865351075b20f9882a5878e245b905c081 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 4 Mar 2024 15:37:17 -0600 Subject: [PATCH 8/8] Update dependency cli/cli to v2.45.0 (#119) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- versions.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versions.yaml b/versions.yaml index 070ab17..6930d97 100644 --- a/versions.yaml +++ b/versions.yaml @@ -1,7 +1,7 @@ # renovate: datasource=github-releases depName=mozilla/sccache SCCACHE_VER: 0.7.6 # renovate: datasource=github-releases depName=cli/cli -GH_CLI_VER: 2.32.0 +GH_CLI_VER: 2.45.0 # renovate: datasource=github-releases depName=codecov/uploader CODECOV_VER: 0.3.2 # renovate: datasource=docker depName=mikefarah/yq versioning=docker