File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929 if : ${{ github.ref_name != 'main' }}
3030 runs-on : ubuntu-latest
3131 container :
32- image : quay.io/rhoai/rhoai-task-toolset:latest
32+ # defined here: https://github.com/red-hat-data-services/devops-images/tree/main/builds
33+ image : quay.io/rhoai-devops/olm-runner:latest
3334 steps :
3435 - name : Get Current branch name
3536 shell : bash
4849 path : utils
4950 - name : Install dependencies
5051 run : |
51- os="$(uname -s | tr '[:upper:]' '[:lower:]')"
52- arch="$(uname -m | sed 's/x86_64/amd64/')"
53- yq_version="v4.44.3"
54- yq_filename="yq-$yq_version"
55- echo "-> Downloading yq" >&2
56- curl -sSfLo "$yq_filename" "https://github.com/mikefarah/yq/releases/download/$yq_version/yq_${os}_${arch}"
57- chmod +x $yq_filename
58- ln -s $yq_filename yq
59- cp $yq_filename /usr/local/bin/yq
60-
61- echo "-> Installing findutils" >&2
62- microdnf install -y findutils
63-
6452 pip install --default-timeout=100 -r utils/utils/processors/requirements.txt
6553
6654 - name : Process Operator Bundle
Original file line number Diff line number Diff line change 2222 if : ${{ github.ref_name != 'main' }}
2323 runs-on : ubuntu-latest
2424 container :
25- image : quay.io/rhoai/rhoai-task-toolset:latest
25+ # defined here: https://github.com/red-hat-data-services/devops-images/tree/main/builds
26+ image : quay.io/rhoai-devops/olm-runner:latest
2627 steps :
2728 - name : Get Current branch name
2829 shell : bash
4142 path : utils
4243 - name : Install dependencies
4344 run : |
44- os="$(uname -s | tr '[:upper:]' '[:lower:]')"
45- arch="$(uname -m | sed 's/x86_64/amd64/')"
46- yq_version="v4.44.3"
47- yq_filename="yq-$yq_version"
48- echo "-> Downloading yq" >&2
49- curl -sSfLo "$yq_filename" "https://github.com/mikefarah/yq/releases/download/$yq_version/yq_${os}_${arch}"
50- chmod +x $yq_filename
51- ln -s $yq_filename yq
52- cp $yq_filename /usr/local/bin/yq
53-
5445 pip install --default-timeout=100 -r utils/utils/processors/requirements.txt
5546
5647 - name : Process Operator Bundle
@@ -144,4 +135,4 @@ jobs:
144135 git config user.name "Openshift-AI DevOps"
145136 git config user.email "openshift-ai-devops@redhat.com"
146137 git add -A
147- git diff --staged --quiet || (git commit -m "Updating the bundle-csv and helm chart values with latest images" && git push origin ${{ steps.get_branch.outputs.branch }})
138+ git diff --staged --quiet || (git commit -m "Updating the bundle-csv and helm chart values with latest images" && git push origin ${{ steps.get_branch.outputs.branch }})
You can’t perform that action at this time.
0 commit comments