From 9d1a9afe2f34b33da7eabb76a40baa6acdbf322f Mon Sep 17 00:00:00 2001 From: Michael Valdron Date: Fri, 8 Mar 2024 13:28:45 -0500 Subject: [PATCH] freeze index/generator at https://github.com/devfile/registry-support/releases/tag/v1.1.0 (#317) Signed-off-by: Michael Valdron --- .ci/Dockerfile | 4 +++- .ci/Dockerfile.offline | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.ci/Dockerfile b/.ci/Dockerfile index df34232c..1574e810 100644 --- a/.ci/Dockerfile +++ b/.ci/Dockerfile @@ -23,7 +23,9 @@ RUN curl -sL -O https://github.com/mikefarah/yq/releases/download/v4.9.5/yq_linu COPY . /registry # Download the registry build tools -RUN git clone https://github.com/devfile/registry-support.git /registry-support +# Freeze index/generator version at v1.1.0 until Go 1.19 is supported, +# see https://github.com/devfile/api/issues/1473 +RUN git clone https://github.com/devfile/registry-support.git -b v1.1.0 /registry-support # Run the registry build tools RUN bash /registry-support/build-tools/build.sh /registry /build diff --git a/.ci/Dockerfile.offline b/.ci/Dockerfile.offline index 944f3459..d243da73 100644 --- a/.ci/Dockerfile.offline +++ b/.ci/Dockerfile.offline @@ -23,7 +23,9 @@ RUN curl -sL -O https://github.com/mikefarah/yq/releases/download/v4.9.5/yq_linu COPY . /registry # Download the registry build tools -RUN git clone https://github.com/devfile/registry-support.git /registry-support +# Freeze index/generator version at v1.1.0 until Go 1.19 is supported, +# see https://github.com/devfile/api/issues/1473 +RUN git clone https://github.com/devfile/registry-support.git -b v1.1.0 /registry-support # Download all the offline parent devfiles RUN bash /registry-support/build-tools/dl_parent_devfiles.sh