Skip to content

Commit

Permalink
CI/CD: Adding workflow_dispatch and workflow_call for manual trigger (#…
Browse files Browse the repository at this point in the history
…8422)

* running ubuntu 1804 and amazonlinux for 2021.1 branch

* re-arranging the orders

* updating the patch number

* Adding RELEASED mount points to source vitis path

* Adding workflow call and dispatch for manual trigger

* Adding comments

* Using VITIS_PATH as per master

* Adding continue on error to get around unknown file creation problem

* changing vitis_path

---------

Co-authored-by: msubram <[email protected]>
  • Loading branch information
manikandan-xilinx and msubram authored Sep 25, 2024
1 parent 6ac18e6 commit 98f8063
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/xrt_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ jobs:
packageType: deb

runs-on: [self-hosted, Ubuntu-22.04]
continue-on-error: true
steps:
- name: Set env variables
run: |
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/xrt_master_2021.1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ env:
RELEASE: '2021.1'
PIPELINE: 'xrt'
ENV: 'prod'

# Adding workflow call and dispatch
on:
workflow_dispatch:
workflow_call:
push:
branches:
- '2021.1'
workflow_dispatch:


jobs:
build:
Expand Down Expand Up @@ -39,6 +41,7 @@ jobs:
os_ver: ubuntu_18.04

runs-on: [self-hosted, Ubuntu-22.04]
continue-on-error: true
steps:
- name: Set env variables
run: |
Expand Down Expand Up @@ -174,7 +177,8 @@ jobs:
# appConfig2: ${{ secrets.APP_CONFIG2 }}
# appConfig3: ${{ secrets.APP_CONFIG3 }}

package-download:
package-download:
if: always()
needs: [build]
runs-on: [self-hosted, Ubuntu-22.04]
steps:
Expand Down

0 comments on commit 98f8063

Please sign in to comment.