forked from ibuildthecloud/os2
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Vicente Cheng <[email protected]> (cherry picked from commit f493bb7) # Conflicts: # .github/workflows/installer-pr.yml
- Loading branch information
1 parent
161f22f
commit 806f5cf
Showing
1 changed file
with
12 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,6 +44,10 @@ jobs: | |
ref: ${{ env.targetVersion }} | ||
- name: Update os image | ||
run: sed -i "s,^BASE_OS_IMAGE=.*,BASE_OS_IMAGE=\"${{ env.IMAGE_NAME }}\"," scripts/package-harvester-os | ||
- name: Config PR committer | ||
run: | | ||
git config --global user.email "<[email protected]>" | ||
git config --global user.name "Github" | ||
- name: Create PR Content | ||
run: | | ||
echo "prContent<<EOF" >> $GITHUB_ENV | ||
|
@@ -89,6 +93,10 @@ jobs: | |
- name: Update nvidia driver toolkit tag | ||
run: | | ||
sed -i "/tag:/ {N; /harvester-nvidia-driver-toolkit/ s/tag:.*\n/tag: ${{ inputs.tag }}\n/}" pkg/templates/rancherd-22-addons.yaml | ||
- name: Config PR committer | ||
run: | | ||
git config --global user.email "<[email protected]>" | ||
git config --global user.name "Github" | ||
- name: create PR content | ||
run: | | ||
echo "prContent<<EOF" >> $GITHUB_ENV | ||
|
@@ -115,4 +123,8 @@ jobs: | |
--head bump-nv-driver-${{ inputs.tag }} \ | ||
--reviewer "harvester/os" \ | ||
--title "Bump nvidia-driver-toolkit ${{ inputs.tag }}" \ | ||
<<<<<<< HEAD | ||
--body ${{ env.prContent }} \ | ||
======= | ||
--body ${{ env.prContent }} | ||
>>>>>>> f493bb7 (GHA: config git committer) |