Skip to content

Commit 6898fd1

Browse files
use yq v4.44.1
Signed-off-by: Michael Valdron <mvaldron@redhat.com>
1 parent 3527b0b commit 6898fd1

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.ci/Dockerfile

Lines changed: 2 additions & 1 deletion
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

Lines changed: 2 additions & 1 deletion
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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ concurrency:
2929

3030
env:
3131
MINIKUBE_VERSION: "v1.29.0"
32+
MINIKUBE_RESOURCES: "--memory 14gb --cpus 4"
3233
KUBERNETES_VERSION: "v1.25.2"
3334
TEST_DELTA: false
3435

@@ -55,7 +56,9 @@ jobs:
5556
run: echo "TEST_DELTA=true" >> $GITHUB_ENV
5657

5758
- name: Build parents file and get child samples
58-
run: echo "STACKS=$(bash tests/build_parents_file.sh)" >> $GITHUB_ENV
59+
uses: mikefarah/yq@557dcb87b8efe786f89a12c09e9046b4753ab72e # v4.44.1
60+
with:
61+
cmd: echo "STACKS=$(bash tests/build_parents_file.sh)" >> $GITHUB_ENV
5962

6063
- name: Validate samples
6164
if: ${{ env.STACKS != '' }}

0 commit comments

Comments
 (0)