Skip to content

Commit

Permalink
CI/CD: enabling packages download for 2021.1 master pipeline (#8390)
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

---------

Co-authored-by: msubram <[email protected]>
  • Loading branch information
manikandan-xilinx and msubram authored Sep 3, 2024
1 parent ec34079 commit 933345f
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions .github/workflows/xrt_master_2021.1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,38 +167,38 @@ jobs:
# appConfig2: ${{ secrets.APP_CONFIG2 }}
# appConfig3: ${{ secrets.APP_CONFIG3 }}

# package-download:
# needs: [build, apu-package-build, windows-build]
# runs-on: [self-hosted, Ubuntu-22.04]
# steps:
# - name: Set env variables
# run: |
# echo "Setting environment variables..."
# # echo "XRT_VERSION_PATCH=${GITHUB_RUN_NUMBER}" >> $GITHUB_ENV
# echo "XRT_VERSION_PATCH=$(($GITHUB_RUN_NUMBER+210))" >> $GITHUB_ENV
# echo "PATH=/usr/bin:$PATH" >> $GITHUB_ENV
package-download:
needs: [build]
runs-on: [self-hosted, Ubuntu-22.04]
steps:
- name: Set env variables
run: |
echo "Setting environment variables..."
# echo "XRT_VERSION_PATCH=${GITHUB_RUN_NUMBER}" >> $GITHUB_ENV
echo "XRT_VERSION_PATCH=$(($GITHUB_RUN_NUMBER+210))" >> $GITHUB_ENV
echo "PATH=/usr/bin:$PATH" >> $GITHUB_ENV
# - name: Checkout private repository
# uses: actions/checkout@v3
# with:
# repository: actions-int/composite-workflows
# token: ${{ secrets.ACCESS_TOKEN }}
# github-server-url: ${{ secrets.SERVER_URL }}
# path: composite-workflows
# ref: main
- name: Checkout private repository
uses: actions/checkout@v3
with:
repository: actions-int/composite-workflows
token: ${{ secrets.ACCESS_TOKEN }}
github-server-url: ${{ secrets.SERVER_URL }}
path: composite-workflows
ref: main

# - name: Use composite action package download
# uses: ./composite-workflows/package-download
# with:
# runNumber: ${{ env.XRT_VERSION_PATCH }}
# pipeline: ${{ env.PIPELINE }}
# env: ${{ env.ENV }}
# release: ${{ env.RELEASE }}
# sshKey: ${{ secrets.CI_PRIVATE_SSH_KEY }}
# accessToken: ${{ secrets.ACCESS_TOKEN }}
# NPATH: ${{ secrets.NPATH }}
# USER: ${{ secrets.USER }}
# github-server-url: ${{ secrets.SERVER_URL }}
- name: Use composite action package download
uses: ./composite-workflows/package-download
with:
runNumber: ${{ env.XRT_VERSION_PATCH }}
pipeline: ${{ env.PIPELINE }}
env: ${{ env.ENV }}
release: ${{ env.RELEASE }}
sshKey: ${{ secrets.CI_PRIVATE_SSH_KEY }}
accessToken: ${{ secrets.ACCESS_TOKEN }}
NPATH: ${{ secrets.NPATH }}
USER: ${{ secrets.USER }}
github-server-url: ${{ secrets.SERVER_URL }}

# extract-platforms:
# needs: package-download
Expand Down

0 comments on commit 933345f

Please sign in to comment.