-
Notifications
You must be signed in to change notification settings - Fork 293
[release/7.11] [CI] Adjust Linux release for rockrel #3055
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
cbd830b
1da6b02
3a699b5
6697d6d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -55,6 +55,12 @@ on: | |||
| description: The type of release to build ("dev", "nightly", or "prerelease"). All developer-triggered jobs should use "dev"! | ||||
| type: string | ||||
| default: "dev" | ||||
| repository: | ||||
| description: "Repository to checkout. Otherwise, defaults to `github.repository`." | ||||
| type: string | ||||
| ref: | ||||
| description: "Branch, tag or SHA to checkout. Defaults to the reference or SHA that triggered the workflow." | ||||
| type: string | ||||
|
HereThereBeDragons marked this conversation as resolved.
|
||||
|
|
||||
| permissions: | ||||
| id-token: write | ||||
|
|
@@ -78,10 +84,17 @@ jobs: | |||
| RELEASE_TYPE: ${{ inputs.release_type || '' }} | ||||
| S3_BUCKET_NATIVE: "therock-${{ inputs.release_type }}-packages" | ||||
| steps: | ||||
| - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | ||||
| - uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0 | ||||
| - name: "Checking out repository" | ||||
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | ||||
| with: | ||||
| repository: ${{ inputs.repository || github.repository }} | ||||
| ref: ${{ inputs.ref || '' }} | ||||
|
|
||||
| - name: Set up Python 3.12 | ||||
|
HereThereBeDragons marked this conversation as resolved.
Outdated
|
||||
| uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0 | ||||
| with: | ||||
| python-version: '3.12' | ||||
|
|
||||
| - name: Install Python requirements | ||||
| run: | | ||||
| pip install pyelftools boto3 jinja2 | ||||
|
|
@@ -100,7 +113,7 @@ jobs: | |||
| echo "Fetching artifacts for build ${{ inputs.artifact_run_id }}" | ||||
| python ./build_tools/fetch_artifacts.py \ | ||||
| --run-id=${{ env.ARTIFACT_RUN_ID }} \ | ||||
| --run-github-repo="ROCm/TheRock" \ | ||||
| --run-github-repo=${{ inputs.repository || 'ROCm/TheRock' }} \ | ||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not sure about the mechanism behind when passing
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. i will put it back to the hardcoded rocm/therock.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think this is going to work when glancing at
|
||||
| --artifact-group=${{ inputs.artifact_group }} \ | ||||
| --output-dir=${{ env.ARTIFACTS_DIR }} | ||||
|
|
||||
|
|
||||
Uh oh!
There was an error while loading. Please reload this page.