Skip to content

Commit

Permalink
Add oc and yq to dataplane pre-commit (openshift#50256)
Browse files Browse the repository at this point in the history
Signed-off-by: Fabricio Aguiar <[email protected]>
  • Loading branch information
fao89 authored and BradLugo committed Jun 13, 2024
1 parent 9825b75 commit 70fa6a1
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,14 @@ images:
FROM src
RUN dnf install -y rubygem-bundler
RUN pip3 install pre-commit
COPY oc /usr/bin/oc
RUN curl -o /usr/local/bin/yq https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 && chmod +x /usr/local/bin/yq
from: src
inputs:
cli:
paths:
- destination_dir: .
source_path: /usr/bin/oc
to: openstack-operator-ci-pre-commit
- dockerfile_literal: |
FROM src
Expand Down

0 comments on commit 70fa6a1

Please sign in to comment.