Update a file in backend to trigger pr build #585
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
# Please refer to ./readme.md for how to build single pull request | |
# Update this workflow name per pull request | |
name: Build PR on Dev | |
on: | |
pull_request: | |
types: [opened, edited, synchronize, reopened] | |
branches: | |
- 'release-*' | |
jobs: | |
# call-unit-test: | |
# uses: ./.github/workflows/unit-test-template.yaml | |
# with: | |
# pr-number: ${{ github.event.pull_request.number }} | |
call-pr-build: | |
if: endsWith( github.event.pull_request.title, 'build-on-dev' ) | |
# needs: call-unit-test | |
uses: ./.github/workflows/pr-build-template.yaml | |
with: | |
pr-number: ${{ github.event.pull_request.number }} | |
version: ${{ github.event.pull_request.base.ref }} | |
secrets: | |
tools-namespace: ${{ secrets.OPENSHIFT_NAMESPACE_PLATE }}-tools | |
dev-namespace: ${{ secrets.OPENSHIFT_NAMESPACE_PLATE }}-dev | |
zeva-dev-username: ${{ secrets.ZEVA_DEV_USERNAME }} | |
zeva-dev-password: ${{ secrets.ZEVA_DEV_PASSWORD }} | |
openshift-server: ${{ secrets.OPENSHIFT_SERVER }} | |
openshift-token: ${{ secrets.OPENSHIFT_TOKEN }} | |
openshiftLicensePlate: ${{ secrets.OPENSHIFT_NAMESPACE_PLATE }} |