-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
43 changed files
with
945 additions
and
41 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 |
---|---|---|
|
@@ -5,6 +5,43 @@ on: | |
pull_request: | ||
branches: [main] | ||
jobs: | ||
# see: https://github.com/marketplace?type=actions | ||
# see: https://github.com/google/yamlfmt | ||
yamlfmt: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
# - name: yamllint | ||
# uses: reviewdog/action-yamllint@v1 | ||
# with: | ||
# github_token: ${{ secrets.github_token }} | ||
# fail_on_error: true | ||
- name: yamlfmt | ||
uses: yk-lab/[email protected] | ||
# see: https://github.com/google/autoyapf | ||
pyfmt: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
with: | ||
ref: ${{ github.head_ref }} | ||
- name: autoyapf | ||
id: autoyapf | ||
uses: mritunjaysharma394/autoyapf@v2 | ||
with: | ||
args: --style pep8 --recursive --in-place . | ||
fail_on_error: true | ||
- name: Check for modified files | ||
id: git-check | ||
run: echo ::set-output name=modified::$(if git diff-index --quiet HEAD --; then echo "false"; else echo "true"; fi) | ||
- name: Push changes | ||
if: steps.git-check.outputs.modified == 'true' | ||
run: | | ||
git config --local user.email "<githubusername>@users.noreply.github.com" | ||
git config --local user.name "Python formatterBot" | ||
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} | ||
git commit -am "Automated autoyapf fixes" | ||
git push | ||
ci: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
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 @@ | ||
backstage* |
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,18 @@ | ||
## backstage | ||
|
||
### Deployment | ||
``` | ||
helm pull --untar backstage --repo https://backstage.github.io/charts | ||
``` | ||
|
||
``` | ||
helm upgrade -i --create-namespace backstage backstage -f values.yaml --namespace backstage | ||
``` | ||
|
||
### Upgrade | ||
``` | ||
helm diff backstage backstage -f values.yaml --namespace backstage | ||
``` | ||
|
||
### References | ||
- https://github.com/backstage/charts |
Oops, something went wrong.