Skip to content

Commit

Permalink
restart kushy when updating rpm
Browse files Browse the repository at this point in the history
  • Loading branch information
karmab committed Nov 27, 2024
1 parent 3ce18d0 commit 2607d35
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 10 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/hypershift-assisted-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ jobs:
run: |
curl https://raw.githubusercontent.com/karmab/kcli/main/install.sh | bash
kcli create sushy-service
systemctl daemon-reload
systemctl restart ksushy
- name: Delete old install
run: |
kcli delete cluster --yes $CLUSTER || true
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/hypershift-assisted-nightly-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ jobs:
run: |
curl https://raw.githubusercontent.com/karmab/kcli/main/install.sh | bash
kcli create sushy-service
systemctl daemon-reload
systemctl restart ksushy
- name: Delete old install
run: |
kcli delete cluster --yes $CLUSTER || true
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/sno-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ jobs:
run: |
curl https://raw.githubusercontent.com/karmab/kcli/main/install.sh | bash
kcli create sushy-service
systemctl daemon-reload
systemctl restart ksushy
- name: Delete old install
run: kcli delete cluster --yes $CLUSTER || true

Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/sno-nightly-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ jobs:
run: |
curl https://raw.githubusercontent.com/karmab/kcli/main/install.sh | bash
kcli create sushy-service
systemctl daemon-reload
systemctl restart ksushy
- name: Delete old install
run: kcli -C local delete cluster --yes $CLUSTER || true

Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/snoplus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ jobs:
run: |
curl https://raw.githubusercontent.com/karmab/kcli/main/install.sh | bash
kcli create sushy-service
systemctl daemon-reload
systemctl restart ksushy
- name: Delete old install
run: kcli delete cluster --yes $CLUSTER || true

Expand Down
3 changes: 3 additions & 0 deletions kcli.spec
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,7 @@ rm -rf %{buildroot}
%attr(0755,root,root) %{_bindir}/ekstoken
%attr(0755,root,root) %{_bindir}/gketoken

%post
systemctl is-active --quiet ksushy.service && systemctl daemon-reload && systemctl restart ksushy.service

%changelog

0 comments on commit 2607d35

Please sign in to comment.