-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NordVPN support + Plex on host + Github Actions (Release + semver) (#16)
* Added backup entries to .gitignore Added certs to the backup Rearranging Github files Automate semantic versioning through Github Actions Automate release generation through Github Actions Adding devContainers to the repository to facilitate development Plex network changed to for better performance Added support for NordVPN (untested) * Moving to right folder * Changing variables * Changing variables * Pre-commit fixes * Adding pre-commit CI and removing Docker validation for now * Rename * Remove dry-run
- Loading branch information
1 parent
57f4e52
commit cdfd561
Showing
38 changed files
with
1,665 additions
and
1,565 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 |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"name": "Ubuntu", | ||
"image": "mcr.microsoft.com/devcontainers/base:jammy", | ||
"features": { | ||
"ghcr.io/devcontainers/features/python:1": {}, | ||
"ghcr.io/jungaretti/features/make:1": {}, | ||
"ghcr.io/devcontainers-contrib/features/pre-commit:2": {}, | ||
"ghcr.io/devcontainers/features/github-cli:1": {}, | ||
"ghcr.io/devcontainers/features/docker-in-docker:2": {} | ||
}, | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"adpyke.codesnap", | ||
"alefragnani.Bookmarks", | ||
"bierner.emojisense", | ||
"codezombiech.gitignore", | ||
"DavidAnson.vscode-markdownlint", | ||
"donjayamanne.githistory", | ||
"DotJoshJohnson.xml", | ||
"elagil.pre-commit-helper", | ||
"esbenp.prettier-vscode", | ||
"mhutchie.git-graph", | ||
"mikestead.dotenv", | ||
"moshfeu.compare-folders", | ||
"ms-azuretools.vscode-docker", | ||
"ms-vscode-remote.remote-containers", | ||
"naumovs.color-highlight", | ||
"oderwat.indent-rainbow", | ||
"PKief.material-icon-theme", | ||
"qwtel.sqlite-viewer", | ||
"redhat.vscode-yaml", | ||
"streetsidesoftware.code-spell-checker", | ||
"vscode-icons-team.vscode-icons", | ||
"waderyan.gitblame", | ||
"yzhang.markdown-all-in-one", | ||
"ms-vscode.makefile-tools" | ||
] | ||
} | ||
}, | ||
"mounts": [ | ||
"source=${localEnv:HOME}/.bash_profile,target=/home/vscode/.bash_profile,type=bind,consistency=cached", | ||
"source=${localEnv:HOME}/.bash_aliases,target=/home/vscode/.bash_aliases,type=bind,consistency=cached", | ||
"source=${localEnv:HOME}/.bashrc,target=/home/vscode/.bashrc,type=bind,consistency=cached", | ||
"source=${localEnv:HOME}/.gitconfig,target=/home/vscode/.gitconfig,type=bind,consistency=cached", | ||
"source=${localEnv:HOME}/.ssh/,target=/home/vscode/.ssh/,type=bind,consistency=cached" | ||
] | ||
} |
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
File renamed without changes.
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,37 @@ | ||
name: Merge | ||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
create_tag: | ||
name: Create Tag | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 5 | ||
outputs: | ||
previous_tag: ${{ steps.tag_version.outputs.previous_tag }} | ||
previous_version: ${{ steps.tag_version.outputs.previous_version }} | ||
new_tag: ${{ steps.tag_version.outputs.new_tag }} | ||
new_version: ${{ steps.tag_version.outputs.new_version }} | ||
changelog: ${{ steps.tag_version.outputs.changelog }} | ||
steps: | ||
- name: Checkout | ||
id: checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Create Tag | ||
id: tag_version | ||
uses: mathieudutour/github-tag-action@v5.5 | ||
with: | ||
dry_run: false | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
release_branches: .* | ||
|
||
- name: Create a GitHub release | ||
id: create_release | ||
uses: ncipollo/release-action@v1.12.0 | ||
with: | ||
tag: ${{ steps.tag_version.outputs.new_tag }} | ||
name: Release ${{ steps.tag_version.outputs.new_tag }} | ||
body: ${{ steps.tag_version.outputs.changelog }} |
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,26 @@ | ||
name: PR Validation | ||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
pr_check: | ||
name: Code Check | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 3 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Python Setup | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.11.3 | ||
|
||
- name: Pre-commit Run | ||
uses: pre-commit/action@v3.0.0 | ||
|
||
- name: Pre-commit CI | ||
uses: pre-commit-ci/lite-action@v1.0.1 | ||
if: always() |
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
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
Oops, something went wrong.