Skip to content

Commit b2e92f4

Browse files
authored
Merge pull request #199 from joelsmith/kedamain
Properly run OLM install script
2 parents 178bafb + 3c750ed commit b2e92f4

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/main-build.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@ jobs:
113113
kind create cluster
114114
OLM_VERSION=$(curl -s https://api.github.com/repos/operator-framework/operator-lifecycle-manager/releases/latest | jq -r .tag_name)
115115
curl -L https://github.com/operator-framework/operator-lifecycle-manager/releases/download/$OLM_VERSION/install.sh -o install.sh
116-
sh install.sh $OLM_VERSION
116+
chmod +x install.sh
117+
./install.sh $OLM_VERSION
117118
118119
- name: Build and deploy KEDA olm operator index for deployment testing
119120
run: |
@@ -179,7 +180,8 @@ jobs:
179180
kind create cluster
180181
OLM_VERSION=$(curl -s https://api.github.com/repos/operator-framework/operator-lifecycle-manager/releases/latest | jq -r .tag_name)
181182
curl -L https://github.com/operator-framework/operator-lifecycle-manager/releases/download/$OLM_VERSION/install.sh -o install.sh
182-
sh install.sh $OLM_VERSION
183+
chmod +x install.sh
184+
./install.sh $OLM_VERSION
183185
184186
- name: Disable 'replaces' field, as the testing bundle doesn't replace anything
185187
run: |

.github/workflows/nightly-tests.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ jobs:
5656
kind create cluster
5757
OLM_VERSION=$(curl -s https://api.github.com/repos/operator-framework/operator-lifecycle-manager/releases/latest | jq -r .tag_name)
5858
curl -L https://github.com/operator-framework/operator-lifecycle-manager/releases/download/$OLM_VERSION/install.sh -o install.sh
59-
sh install.sh $OLM_VERSION
59+
chmod +x install.sh
60+
./install.sh $OLM_VERSION
6061
6162
- name: Build and deploy KEDA olm operator index for deployment testing
6263
run: |

0 commit comments

Comments
 (0)