only wait 1mn for isos in onprem #844
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: 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 }} | |
jobs: | |
run-workflow: | |
name: CI workflow | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
- name: Install Dependencies | |
run: sudo .github/prep.sh | |
shell: bash | |
- name: Lint Code | |
run: ./.github/linting.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 | |
env: | |
COPR_BASE64: ${{ secrets.COPR_BASE64 }} | |
- name: Build Container | |
if: github.event_name == 'push' && github.ref == 'refs/heads/main' | |
run: ./.github/build.sh | |
shell: bash | |
- name: Push assets | |
if: github.event_name == 'push' && github.ref == 'refs/heads/main' | |
run: ./.github/release.sh | |
shell: bash | |
- name: Build And Push Controller Container | |
if: github.event_name == 'push' && github.ref == 'refs/heads/main' | |
run: ./.github/container_controller.sh | |
shell: bash |