-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
17a6023
commit 3e1f9e8
Showing
3 changed files
with
12 additions
and
6 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 |
---|---|---|
|
@@ -25,9 +25,7 @@ jobs: | |
sudo snap install snapcraft --classic | ||
- name: Apply strict patch | ||
run: | | ||
git config --global user.email [email protected] | ||
git config --global user.name k8s-bot | ||
git am ./build-scripts/patches/strict/*.patch | ||
./build-scripts/patches/strict/apply | ||
- name: Build snap | ||
run: | | ||
sg lxd -c 'snapcraft --use-lxd' | ||
|
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 |
---|---|---|
|
@@ -39,9 +39,7 @@ jobs: | |
- name: Apply strict patch | ||
run: | | ||
git checkout -b ${{ needs.prepare.outputs.strict }} | ||
git config --global user.email [email protected] | ||
git config --global user.name k8s-bot | ||
git am ./build-scripts/patches/strict/*.patch | ||
./build-scripts/patches/strict/apply | ||
- name: Push to ${{ needs.prepare.outputs.strict }} | ||
run: | | ||
git push origin --force ${{ needs.prepare.outputs.strict }} |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash -xe | ||
|
||
DIR="$(realpath "$(dirname "${0}")")" | ||
|
||
# Configure git author | ||
git config user.email [email protected] | ||
git config user.name k8s-bot | ||
|
||
# Apply strict patch | ||
git am "${DIR}/0001-Strict-patch.patch" |