restart kushy when updating rpm #5987
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: KCLI-CI | |
on: [push, pull_request] | |
env: | |
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }} | |
QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }} | |
PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }} | |
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }} | |
CLOUDSMITH_API_KEY: ${{ secrets.CLOUDSMITH_API_KEY }} | |
COPR_BASE64: ${{ secrets.COPR_BASE64 }} | |
PYTHONUNBUFFERED: true | |
jobs: | |
run-workflow: | |
name: Workflow | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v2 | |
- name: Install Dependencies | |
run: sudo .github/prep.sh | |
shell: bash | |
- name: Lint Code | |
run: .github/linting.sh | |
shell: bash | |
- name: Test code | |
run: .github/testing.sh | |
shell: bash | |
- if: github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository_owner == 'karmab' | |
name: Release RPM | |
run: .github/copr.sh | |
shell: bash | |
- if: github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository_owner == 'karmab' | |
name: Release DEB | |
run: .github/cloudsmith.sh | |
shell: bash | |
- if: github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository_owner == 'karmab' | |
name: Release PYPI | |
run: .github/pypi.sh | |
shell: bash | |
- if: github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository_owner == 'karmab' | |
name: Build And Push Container | |
run: .github/container.sh | |
shell: bash | |
- if: github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository_owner == 'karmab' | |
name: Build And Push Controller Container | |
run: .github/container_controller.sh | |
shell: bash | |
- name: Push helper redfish library | |
if: github.event_name == 'push' && github.ref == 'refs/heads/main' | |
run: ./.github/kfish.sh | |
shell: bash |