Skip to content

Commit 959bbce

Browse files
use yq v4.44.1
Signed-off-by: Michael Valdron <[email protected]>
1 parent f45e89d commit 959bbce

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.ci/Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ FROM registry.access.redhat.com/ubi8/go-toolset:1.19 AS builder
1818
USER root
1919

2020
# Install yq
21-
RUN curl -sL -O https://github.com/mikefarah/yq/releases/download/v4.9.5/yq_linux_amd64 -o /usr/local/bin/yq && mv ./yq_linux_amd64 /usr/local/bin/yq && chmod +x /usr/local/bin/yq
21+
ENV YQ_VERSION=v4.44.1
22+
RUN curl -sL -O https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/yq_linux_amd64 -o /usr/local/bin/yq && mv ./yq_linux_amd64 /usr/local/bin/yq && chmod +x /usr/local/bin/yq
2223

2324
COPY . /registry
2425

.ci/Dockerfile.offline

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ FROM registry.access.redhat.com/ubi8/go-toolset:1.19 AS builder
1818
USER root
1919

2020
# Install yq
21-
RUN curl -sL -O https://github.com/mikefarah/yq/releases/download/v4.9.5/yq_linux_amd64 -o /usr/local/bin/yq && mv ./yq_linux_amd64 /usr/local/bin/yq && chmod +x /usr/local/bin/yq
21+
ENV YQ_VERSION=v4.44.1
22+
RUN curl -sL -O https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/yq_linux_amd64 -o /usr/local/bin/yq && mv ./yq_linux_amd64 /usr/local/bin/yq && chmod +x /usr/local/bin/yq
2223

2324
COPY . /registry
2425

.github/workflows/validate-samples.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ concurrency:
2929

3030
env:
3131
MINIKUBE_VERSION: "v1.29.0"
32+
MINIKUBE_RESOURCES: "--memory 14gb --cpus 4"
3233
KUBERNETES_VERSION: "v1.25.2"
34+
YQ_VERSION: "v4.44.1"
3335
TEST_DELTA: false
3436

3537
jobs:
@@ -50,6 +52,9 @@ jobs:
5052
- name: Install Ginkgo
5153
run: go install -mod=mod github.com/onsi/ginkgo/v2/[email protected]
5254

55+
- name: Install yq
56+
run: curl -sL -O https://github.com/mikefarah/yq/releases/download/${{ env.YQ_VERSION }}/yq_linux_amd64 -o /usr/local/bin/yq && mv ./yq_linux_amd64 /usr/local/bin/yq && chmod +x /usr/local/bin/yq
57+
5358
- name: Test delta if on a pull request
5459
if: ${{ github.event_name == 'pull_request' }}
5560
run: echo "TEST_DELTA=true" >> $GITHUB_ENV

0 commit comments

Comments
 (0)