Skip to content

Commit

Permalink
CI/CD: bug fixes for 2021.1 branch (#8391)
Browse files Browse the repository at this point in the history
* enabling packages download for 2021.1 master pipeline

* removing dependency on apu_package and windows

* bug fixes in pipleine for 2021.1 branch

---------

Co-authored-by: msubram <[email protected]>
  • Loading branch information
manikandan-xilinx and msubram authored Sep 4, 2024
1 parent 933345f commit 00a701a
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/xrt_master_2021.1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,8 @@ jobs:
token: ${{ secrets.ACCESS_TOKEN }}
github-server-url: ${{ secrets.SERVER_URL }}
path: composite-workflows
ref: main
ref: '2021.1'


- name: Use composite action package download
uses: ./composite-workflows/package-download
Expand Down Expand Up @@ -402,7 +403,7 @@ jobs:
# echo '### [tests logs summary](${{ steps.summary.outputs.url }})' >> $GITHUB_STEP_SUMMARY

setenv-download:
needs: build
needs: package-download
runs-on: [self-hosted, Ubuntu-22.04]
steps:
- name: Set env variables
Expand All @@ -427,7 +428,7 @@ jobs:
token: ${{ secrets.ACCESS_TOKEN }}
github-server-url: ${{ secrets.SERVER_URL }}
path: composite-workflows
ref: main
ref: '2021.1'

- name: Use composite action package download
uses: ./composite-workflows/setenv
Expand Down Expand Up @@ -471,15 +472,15 @@ jobs:
token: ${{ secrets.ACCESS_TOKEN }}
github-server-url: ${{ secrets.SERVER_URL }}
path: composite-workflows
ref: main
ref: '2021.1'

- name: Use composite action release-all-sites download
uses: ./composite-workflows/release-all-sites
with:
isProd: 'true'
site: ${{ matrix.site }}
pipeline: 'xrt'
release: '2024.1'
release: '2021.1'
sshKey: ${{ secrets.CI_PRIVATE_SSH_KEY }}
runNumber: ${{ env.XRT_VERSION_PATCH }}
accessToken: ${{ secrets.ACCESS_TOKEN }}
Expand Down Expand Up @@ -513,15 +514,15 @@ jobs:
token: ${{ secrets.ACCESS_TOKEN }}
github-server-url: ${{ secrets.SERVER_URL }}
path: composite-workflows
ref: main
ref: '2021.1'

- name: Use composite action release-all-sites download
uses: ./composite-workflows/release-all-sites
with:
isProd: 'true'
site: ${{ matrix.site }}
pipeline: 'xrt'
release: '2024.1'
release: '2021.1'
sshKey: ${{ secrets.CI_PRIVATE_SSH_KEY }}
runNumber: ${{ env.XRT_VERSION_PATCH }}
accessToken: ${{ secrets.ACCESS_TOKEN }}
Expand All @@ -548,14 +549,14 @@ jobs:
token: ${{ secrets.ACCESS_TOKEN }}
github-server-url: ${{ secrets.SERVER_URL }}
path: composite-workflows
ref: main
ref: '2021.1'

- name: Use composite action artifactory upload
uses: ./composite-workflows/artifactory-upload
with:
isProd: 'true'
pipeline: 'xrt'
release: '2024.1'
release: '2021.1'
runNumber: ${{ env.XRT_VERSION_PATCH }}
accessToken: ${{ secrets.ACCESS_TOKEN }}
github-server-url: ${{ secrets.SERVER_URL }}
Expand Down Expand Up @@ -590,7 +591,7 @@ jobs:
token: ${{ secrets.ACCESS_TOKEN }}
github-server-url: ${{ secrets.SERVER_URL }}
path: composite-workflows
ref: main
ref: '2021.1'

- name: Use composite action package download
uses: ./composite-workflows/gradle-artifactory-upload
Expand Down Expand Up @@ -626,7 +627,7 @@ jobs:
token: ${{ secrets.ACCESS_TOKEN }}
github-server-url: ${{ secrets.SERVER_URL }}
path: composite-workflows
ref: main
ref: '2021.1'

- name: Use composite action package download
uses: ./composite-workflows/cleanup
Expand Down

0 comments on commit 00a701a

Please sign in to comment.