Skip to content

Commit 34f9715

Browse files
committed
made yq butifule
1 parent 1e6d6be commit 34f9715

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

scripts/ci/setup_ci_dependencies.sh

+10-2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22
set +o pipefail
33

44
python -m pip install --upgrade pip docker-hub==2.2.0
5-
echo yq > dev-requirements.txt
5+
echo docker-hub > dev-requirements.txt
66

7-
echo $'yq() {\n docker run --rm -e operator_image_for_test=$operator_image_for_test -e controller_repository_for_test=$controller_repository_for_test -e node_repository_for_test=$node_repository_for_test -e driver_images_tag=$driver_images_tag -i -v "${PWD}":/workdir mikefarah/yq:4 "$@"\n}' >> /home/runner/.bash_profile
7+
cat >>/tmp/myconfig.conf <<'EOL'
8+
yq() {
9+
docker run --rm -e operator_image_for_test=$operator_image_for_test\
10+
-e controller_repository_for_test=$controller_repository_for_test\
11+
-e node_repository_for_test=$node_repository_for_test\
12+
-e driver_images_tag=$driver_images_tag\
13+
-i -v "${PWD}":/workdir mikefarah/yq "$@"
14+
}
15+
EOL

0 commit comments

Comments
 (0)