Skip to content

Commit

Permalink
fix path to kubernetes operator script
Browse files Browse the repository at this point in the history
Signed-off-by: anandrkskd <[email protected]>
  • Loading branch information
anandrkskd committed Jan 18, 2023
1 parent 3263e74 commit dd46a0c
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 9 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/infra-test-kubernetes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,13 @@ jobs:
CLUSTER=`ibmcloud ks cluster get -c odo-test-kubernetes-cluster --output json `
ID=$(echo $CLUSTER | jq -r '.id')
ibmcloud ks cluster config --cluster $ID --admin
pip3 install kubernetes
- name: install operators
uses: dawidd6/action-ansible-playbook@v2
env:
IC_API_KEY: ${{ secrets.IC_API_KEY }}
IC_REGION: 'eu-de'
with:
playbook: scripts/ansible/Cluster/kubernetes-cluster/operator-kubernetes.yml
playbook: scripts/ansible/Cluster/kubernetes-cluster/operators-kubernetes.yml
requirements: scripts/ansible/Cluster/kubernetes-cluster/requirements.yml
3 changes: 2 additions & 1 deletion .github/workflows/infra-test-openshift.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,13 @@ jobs:
ID=$(echo $CLUSTER | jq -r '.id')
URL=$(echo $CLUSTER| jq -r '.serviceEndpoints.publicServiceEndpointURL')
ibmcloud oc cluster config --cluster $ID --admin
pip3 install kubernetes
- name: install operators
uses: dawidd6/action-ansible-playbook@v2
env:
IC_API_KEY: ${{ secrets.IC_API_KEY }}
IC_REGION: 'eu-de'
with:
playbook: scripts/ansible/Cluster/openshift-cluster/operator-openshift.yml
playbook: scripts/ansible/Cluster/openshift-cluster/operators-openshift.yml
requirements: scripts/ansible/Cluster/openshift-cluster/requirements.yml
3 changes: 2 additions & 1 deletion .github/workflows/infra-test-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,13 @@ jobs:
ID=$(echo $CLUSTER | jq -r '.id')
URL=$(echo $CLUSTER| jq -r '.serviceEndpoints.publicServiceEndpointURL')
ibmcloud oc cluster config --cluster $ID --admin
pip3 install kubernetes
- name: install operators
uses: dawidd6/action-ansible-playbook@v2
env:
IC_API_KEY: ${{ secrets.IC_API_KEY }}
IC_REGION: 'eu-de'
with:
playbook: scripts/ansible/Cluster/windows-openshift-cluster/operator-kubernetes.yml
playbook: scripts/ansible/Cluster/windows-openshift-cluster/operators-openshift.yml
requirements: scripts/ansible/Cluster/windows-openshift-cluster/requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- name: Install Operators on Kubernetes Cluster
hosts: localhost
collections:
- community.kubernetes
- kubernetes.core
tasks:

- name: Create a Subscription for Service Binding Operator
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
collections:
- ibm.cloudcollection
- name: community.kubernetes
- name: kubernetes.core
version: 2.0.0
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- name: Install Operators on Kubernetes Cluster
hosts: localhost
collections:
- community.kubernetes
- kubernetes.core
tasks:

- name: Create a Subscription for Service Binding Operator
Expand Down
2 changes: 1 addition & 1 deletion scripts/ansible/Cluster/openshift-cluster/requirements.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
collections:
- ibm.cloudcollection
- name: community.kubernetes
- name: kubernetes.core
version: 2.0.0
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- name: Install Operators on Kubernetes Cluster
hosts: localhost
collections:
- community.kubernetes
- kubernetes.core
tasks:

- name: Create a Subscription for Service Binding Operator
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
collections:
- ibm.cloudcollection
- name: community.kubernetes
- name: kubernetes.core
version: 2.0.0

0 comments on commit dd46a0c

Please sign in to comment.