Skip to content

Add configurable pagure issue aliases #65

Add configurable pagure issue aliases

Add configurable pagure issue aliases #65

Workflow file for this run

# SPDX-FileCopyrightText: Contributors to the Fedora Project
#
# SPDX-License-Identifier: MIT
name: CI & Deployment
on: [push, pull_request, workflow_dispatch]
jobs:
ci:
name: CI
strategy:
fail-fast: false
runs-on: ubuntu-latest
container: fedorapython/fedora-python-tox:latest
steps:
- uses: actions/checkout@v4
- name: Mark the directory as safe for git
run: git config --global --add safe.directory $PWD
- name: Install RPM dependencies
run: |
dnf install -y krb5-devel libpq-devel gettext python-tox
- name: execute tox
run: tox -- -v
deployment:
name: Deployment
if: github.ref_name == 'staging' || github.ref_name == 'stable'
needs: ci
runs-on: ubuntu-latest
environment:
name: ${{ github.ref_name }}
steps:
- name: Send generic webhook
run: |
curl -f -X POST -k https://${{vars.OPENSHIFT_API_HOSTNAME}}:6443/apis/build.openshift.io/v1/namespaces/maubot/buildconfigs/maubot-build/webhooks/${{secrets.MAUBOT_WEBHOOK_SECRET}}/generic