Skip to content

Commit bdbfeef

Browse files
author
Lucas Yoon
committed
Fix breaking yq install
Signed-off-by: Lucas Yoon <[email protected]>
1 parent 061114d commit bdbfeef

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

.ci/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ ARG TARGETARCH=amd64
2525
# Install yq and jq
2626
ENV YQ_VERSION=v4.44.1
2727
ENV JQ_VERSION=1.6
28-
RUN curl -sL -O https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/yq_linux_${TARGETARCH} -o /usr/local/bin/yq && mv ./yq_linux_${TARGETARCH} /usr/local/bin/yq && chmod +x /usr/local/bin/yq
28+
RUN curl -sL https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/yq_linux_${TARGETARCH} -o /usr/local/bin/yq && chmod +x /usr/local/bin/yq
2929
RUN yum install -y jq-${JQ_VERSION}
3030

3131
COPY . /registry

.ci/Dockerfile.offline

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ ARG TARGETARCH=amd64
2525
# Install yq and jq
2626
ENV YQ_VERSION=v4.44.1
2727
ENV JQ_VERSION=1.6
28-
RUN curl -sL -O https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/yq_linux_${TARGETARCH} -o /usr/local/bin/yq && mv ./yq_linux_${TARGETARCH} /usr/local/bin/yq && chmod +x /usr/local/bin/yq
28+
RUN curl -sL https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/yq_linux_${TARGETARCH} -o /usr/local/bin/yq && chmod +x /usr/local/bin/yq
2929
RUN yum install -y jq-${JQ_VERSION}
3030
COPY . /registry
3131

.ci/openshift_integration.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ curl -sL https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift
5151
export GLOBALODOCONFIG=$(pwd)/preferences.yaml
5252

5353
# Download & Install Ginkgo
54-
GINKGO_VERSION=${GINKGO_VERSION:-v2.13.0}
55-
go install github.com/onsi/ginkgo/v2/ginkgo@${GINKGO_VERSION}
54+
GINKGO_VERSION="$(cd $BASE_DIR/tests/odov3 && go list -m -mod=readonly -json all | ${YQ_PATH} 'select(.Path == "github.com/onsi/ginkgo/v2") | .Version' -Mr -p=json)"
55+
go install -mod=readonly github.com/onsi/ginkgo/v2/ginkgo@${GINKGO_VERSION}
5656

5757
# Install the devfile registry
5858
oc process -f $BASE_DIR/.ci/deploy/devfile-registry.yaml -p DEVFILE_INDEX_IMAGE=$IMG -p IMAGE_TAG=$TAG -p REPLICAS=3 -p ANALYTICS_WRITE_KEY= | \

extraDevfileEntries.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ samples:
111111
- name: dotnet-basic
112112
displayName: Basic .NET
113113
description: MVC .NET 6.0 application
114-
icon: https://github.com/dotnet/brand/raw/main/logo/dotnet-logo.png
114+
icon: https://raw.githubusercontent.com/dotnet/brand/main/logo/dotnet-logo.png
115115
tags:
116116
- .NET
117117
projectType: dotnet

stacks/dotnet50/devfile.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ metadata:
33
name: dotnet50
44
displayName: .NET 5.0
55
description: .NET 5.0 application
6-
icon: https://github.com/dotnet/brand/raw/main/logo/dotnet-logo.png
6+
icon: https://raw.githubusercontent.com/dotnet/brand/main/logo/dotnet-logo.png
77
tags:
88
- .NET
99
- .NET 5.0

stacks/dotnet60/devfile.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ metadata:
33
name: dotnet60
44
displayName: .NET 6.0
55
description: .NET 6.0 application
6-
icon: https://github.com/dotnet/brand/raw/main/logo/dotnet-logo.png
6+
icon: https://raw.githubusercontent.com/dotnet/brand/main/logo/dotnet-logo.png
77
tags:
88
- .NET
99
- .NET 6.0

stacks/dotnet80/devfile.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ metadata:
33
name: dotnet80
44
displayName: .NET 8.0
55
description: .NET 8.0 application
6-
icon: https://github.com/dotnet/brand/raw/main/logo/dotnet-logo.png
6+
icon: https://raw.githubusercontent.com/dotnet/brand/main/logo/dotnet-logo.png
77
tags:
88
- .NET
99
- .NET 8.0

stacks/dotnetcore31/devfile.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ metadata:
33
name: dotnetcore31
44
displayName: .NET Core 3.1
55
description: .NET Core 3.1 application
6-
icon: https://github.com/dotnet/brand/raw/main/logo/dotnet-logo.png
6+
icon: https://raw.githubusercontent.com/dotnet/brand/main/logo/dotnet-logo.png
77
tags:
88
- .NET
99
- .NET Core App 3.1

0 commit comments

Comments
 (0)