-
-
Notifications
You must be signed in to change notification settings - Fork 596
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
Develop #8581
Merged
Develop #8581
Changes from 250 commits
Commits
Show all changes
425 commits
Select commit
Hold shift + click to select a range
761f8e0
Update poetry (python) and yarn (npm) dependencies
miigotu 97fec73
Update poetry (python) and yarn (npm) dependencies
miigotu d7c7872
massEditUpdate locations (#8522)
BKSteve 65c04fb
Update poethepoet requirement from >=0.16,<0.22 to >=0.16,<0.23 (#8524)
dependabot[bot] 4f677ed
Bump xo from 0.55.1 to 0.56.0 (#8521)
dependabot[bot] 564a7cb
Update poetry (python) and yarn (npm) dependencies
miigotu 6704d5a
Update poetry (python) and yarn (npm) dependencies
miigotu a512e11
Update poetry (python) and yarn (npm) dependencies
miigotu 476622c
Update poetry (python) and yarn (npm) dependencies
miigotu c701b03
Update poetry (python) and yarn (npm) dependencies
miigotu 09443f4
Bump snyk from 1.1205.0 to 1.1206.0 (#8546)
dependabot[bot] a331e4d
Update poetry (python) and yarn (npm) dependencies
miigotu 3981876
Update poetry (python) and yarn (npm) dependencies
miigotu 285ad9f
Update poetry (python) and yarn (npm) dependencies
miigotu 23641b5
Update poetry (python) and yarn (npm) dependencies
miigotu 845acbb
Bump snyk from 1.1206.0 to 1.1207.0 (#8549)
dependabot[bot] 88e0322
Update poetry (python) and yarn (npm) dependencies
miigotu 11fc7e3
Update poetry (python) and yarn (npm) dependencies
miigotu da3a3a1
Update poetry (python) and yarn (npm) dependencies
miigotu d1e3171
Update poetry (python) and yarn (npm) dependencies
miigotu 2ca4a44
Update poetry (python) and yarn (npm) dependencies
miigotu ff5109e
Update poetry (python) and yarn (npm) dependencies
miigotu 5a2ae51
Update poetry (python) and yarn (npm) dependencies
miigotu da4a064
Update poetry (python) and yarn (npm) dependencies
miigotu 261079d
Update poetry (python) and yarn (npm) dependencies
miigotu bedb64b
Update validators requirement from >=0.18.2,<0.22.0 to >=0.18.2,<0.23.0
dependabot[bot] e71569c
Bump actions/checkout from 3 to 4
dependabot[bot] 87dc893
Update poetry (python) and yarn (npm) dependencies
miigotu d66fe30
Update poetry (python) and yarn (npm) dependencies
miigotu db17a7d
Update poetry (python) and yarn (npm) dependencies
miigotu da30c38
Update poetry (python) and yarn (npm) dependencies
miigotu 5692b22
Update poetry (python) and yarn (npm) dependencies
miigotu 20cccf1
Update poetry (python) and yarn (npm) dependencies
miigotu a0b2ee7
Update poetry (python) and yarn (npm) dependencies
miigotu e08e7a7
Update poetry (python) and yarn (npm) dependencies
miigotu 510f8ce
Update poetry (python) and yarn (npm) dependencies
miigotu 0b05389
Update poetry (python) and yarn (npm) dependencies
miigotu 79a1c66
Update poetry (python) and yarn (npm) dependencies
miigotu cd882d9
Bump docker/setup-buildx-action from 2 to 3
dependabot[bot] ac342e4
Bump docker/setup-qemu-action from 2 to 3
dependabot[bot] 4943a09
Bump docker/login-action from 2 to 3
dependabot[bot] a9a7217
Bump docker/metadata-action from 4 to 5
dependabot[bot] 933cc55
Bump docker/build-push-action from 4 to 5
dependabot[bot] b95c0dc
Bump snyk from 1.1221.0 to 1.1223.0
dependabot[bot] 3dc01bc
Fix Transmission's arguments (like seed ratio)
publiccontrib 3ef884d
Update poetry (python) and yarn (npm) dependencies
miigotu dabb66f
Update poetry (python) and yarn (npm) dependencies
miigotu ba78ec4
Update poetry (python) and yarn (npm) dependencies
miigotu 0cca743
Update poetry (python) and yarn (npm) dependencies
miigotu 70396f8
Fix seeder/leecher count extraction for BTN
offbyone 91f464b
manage index args
BKSteve 4bbb4eb
manage index args
BKSteve abd0cc9
index comments
BKSteve 06d3632
Update core.js
miigotu 47abf16
Update general.py
miigotu 815d251
Update index.py
miigotu e7b2fd3
Update general.py
miigotu 44cb3e3
Update general.py
miigotu 9bcab3d
save config defaults
BKSteve 9a86f25
Use array directly for submitting forms, no join/split (#8547)
miigotu 4edc85a
setStatus changes for get_arguments list
miigotu d256ab2
massEdit get_arguments array
miigotu a0b7767
massUpdate and failedDownloads get_arguments array
miigotu e1facfd
Update general.py
miigotu 1e41a17
save qualities 1st only
BKSteve 6ed4a07
Array usage fixes
BKSteve 1c4a0cf
setStatus clean
BKSteve 10884ac
setStatus adjust
BKSteve d984535
Update core.js
miigotu f141835
Update core.js eslint
miigotu 9bebb5b
BW list
BKSteve 16d27cf
Use jquery generated form with properly added inputs for massEdit rat…
miigotu 1754a46
fix js formatting
miigotu 0dacdb8
bring edit_shows back to list
BKSteve a54bc17
fix massEdit, but massUpdate is still broken
miigotu 71da0b0
font+var tweak, massUpdate tested working
BKSteve cbec937
remove unneeded code
BKSteve caa5131
Update core.js
miigotu efe7bc0
Update index.py
miigotu 3d510c0
Remove edit button on massUpdate page, handled now but the submit but…
miigotu b672206
grunt
miigotu c9f1547
Fix core.js formatting
miigotu 38d4c97
cleaner manage.mako before adding ability to set sports/scene/anime/f…
miigotu 97b296c
Drastically improve the power of the massUpdate page:
miigotu e4eb929
fix js formatting
miigotu 5b9e4fc
shrink up the mass update table width a bit
miigotu e08266b
fix navbar sickchill brand image size, clean up css
miigotu 4e9df0e
Update poetry (python) and yarn (npm) dependencies
miigotu 8594f26
Update poetry (python) and yarn (npm) dependencies
miigotu 413646a
Update poetry (python) and yarn (npm) dependencies
miigotu 777d370
speed up torznab/newznab xml item parsing
miigotu 7032fd3
Update poetry (python) and yarn (npm) dependencies
miigotu b322a4d
Update poetry (python) and yarn (npm) dependencies
miigotu c19f498
Update poetry (python) and yarn (npm) dependencies
miigotu e2c9790
Update poetry (python) and yarn (npm) dependencies
miigotu 17089e7
toDelete combos
BKSteve 9596394
fix mass update. Can now delete and do many other actions at once, bu…
miigotu fb17381
fix class text alignment typo
miigotu 7953117
fix js formatting
miigotu eb042dd
Update poethepoet requirement from >=0.16,<0.23 to >=0.16,<0.24
dependabot[bot] 81062d4
Update poetry (python) and yarn (npm) dependencies
miigotu 0db899f
Update poetry (python) and yarn (npm) dependencies
miigotu 135602d
fix problem when selecting jackett results from manual snatch list
miigotu 9c11beb
Update poetry (python) and yarn (npm) dependencies
miigotu 82cfd14
Update pygithub requirement from ^1.54.1 to >=1.54.1,<3.0.0
dependabot[bot] 32a0c90
Update poethepoet requirement from >=0.16,<0.24 to >=0.16,<0.25
dependabot[bot] 018a1a5
Bump snyk from 1.1228.0 to 1.1229.0
dependabot[bot] 4bc8b8f
Update poetry (python) and yarn (npm) dependencies
miigotu fd13b0c
Update poetry (python) and yarn (npm) dependencies
miigotu 1a92ee7
Update poetry (python) and yarn (npm) dependencies
miigotu 2a801c5
Update poetry (python) and yarn (npm) dependencies
miigotu 857e64e
Update poetry (python) and yarn (npm) dependencies
miigotu f0f1eef
Update poetry (python) and yarn (npm) dependencies
miigotu 455edbf
Update poetry (python) and yarn (npm) dependencies
miigotu e5a11ff
Update poetry (python) and yarn (npm) dependencies
miigotu d34d4dc
Bump stefanzweifel/git-auto-commit-action from 4 to 5
dependabot[bot] c205c0e
Update poetry (python) and yarn (npm) dependencies
miigotu 01fcce4
Update poetry (python) and yarn (npm) dependencies
miigotu 19c8460
fix manual snatch of jackett results mistakenly being sent using sab/…
miigotu 0486c76
show list mako fix
BKSteve 6713715
History Log Failed
BKSteve 0493acd
fix some formatting, use event.preventDefault rather than on the curr…
miigotu fb0f600
hide/show setting options that are checked or not
miigotu 9a36405
show/hide/disable/check using python when the page is rendered rather…
miigotu 2a76893
use a function filter for selected in mako ala checked/disabled/hidden
miigotu a5f1040
work around displaying shows with start year pre-1970 on windows
miigotu b33df4e
Create check_release.yml
miigotu 35daf7c
Update check_release.yml
miigotu 75d6cfb
Update check_release.yml
miigotu beeaf42
Update viewlogs.mako
miigotu 2b65847
Update check_release.yml
miigotu 6c08a85
Update check_release.yml
miigotu 319af10
Update check_release.yml
miigotu bb9afff
Update flask requirement from ^2.2.2 to >=2.2.2,<4.0.0
dependabot[bot] 96d4f19
Update poetry (python) and yarn (npm) dependencies
miigotu 5d05c67
apply fixes suggested by coderabbitai
miigotu ea56aa3
remove push trigger for check_release workflow
miigotu afbd90c
add back pyproject.toml as dependency path for setup-python caching
miigotu 5ec07fe
Merge branch 'master' into develop
miigotu 68d6778
fix formatting and bash test
miigotu 9d22305
cleaner download stat code
miigotu 706aba5
add all value for log limit
miigotu 6901ead
Bump actions/checkout from 3 to 4
dependabot[bot] 1028443
Bump mem-fs from 3.0.0 to 4.0.0
dependabot[bot] a79e7f5
double brackets for matching wildcards with bash
miigotu bad2896
Bump mem-fs-editor from 10.0.2 to 10.0.3 (#8583)
dependabot[bot] d0e4c59
Update pythonpackage.yml
miigotu b8abe0a
try microsoft tests, fix docker test
miigotu 3d05287
Update microsoft.yml
miigotu d171970
Update microsoft.yml
miigotu 88cc06c
remove microsoft workflow
miigotu 187af36
Update pythonpackage.yml
miigotu 2ead535
add completed job in workflow for status checks
miigotu 4232bad
add concurrency check for codeql workflow
miigotu 5773635
Bump mem-fs-editor from 10.0.3 to 11.0.0
dependabot[bot] 7936e48
Bump stylelint from 15.10.3 to 15.11.0
dependabot[bot] 1375f71
Bump snyk from 1.1234.0 to 1.1235.0
dependabot[bot] 98cbfca
[ImgBot] Optimize images
ImgBotApp e959199
Update upgrade_dependencies.yml
miigotu 85e0b25
Update pythonpackage.yml
miigotu f6c675f
Update addShows_addExistingShow.mako
miigotu 7a00d6a
Update addShows_newShow.mako
miigotu fc4f43d
Update home_massAddTable.mako
miigotu fd8abff
Bump sass from 1.69.3 to 1.69.4
dependabot[bot] 5a08281
Bump snyk from 1.1235.0 to 1.1236.0
dependabot[bot] 83581b2
try calver output
miigotu af12810
Bump actions/checkout from 2 to 4
dependabot[bot] e9bed30
Update config_postProcessing.mako (#8594)
BKSteve 17f65f3
Update config_postProcessing.mako (#8595)
BKSteve bb93f03
repair some rabbitai damage
BKSteve 20a1725
repair history.mako
BKSteve a5f135f
revert inc_qual to develop
BKSteve a697ee1
revert inc_qual to develop
BKSteve 439caea
fix: error on inc_quaity_chooser.mako
miigotu 4fb9abc
try with chmod in install-poetry
miigotu 177a3e3
pin poetry to 1.2.0 in github actions because later versions don't wo…
miigotu 81dff15
try activating the venv
miigotu 9b909de
switch to Gr1N/setup-poetry to test
miigotu b8bc466
try 5yutan5/setup-poetry-env
miigotu 3c30a16
set python-cache-dependency-path for setup-poetry-env
miigotu 23b6bba
add ko-fi and opencollective, disable gitguardian until we have a way…
miigotu 4d36815
skip importing js2py on python 3.12, due to keyerror
miigotu 7524114
Update history.mako (#8602)
BKSteve 3de110d
Bump actions/setup-node from 3 to 4
dependabot[bot] 480966e
Bump snyk from 1.1236.0 to 1.1237.0
dependabot[bot] 1de26bc
Bump eslint-plugin-import from 2.28.1 to 2.29.0
dependabot[bot] fb3adf9
update dependabot config
miigotu 0a9b6d0
added provider for Zamunda
joncevski e0ae83f
feature: add ability to use custom urls with zamunda
miigotu 56ab451
remove legacy age parameter from provider search method signatures
miigotu 3f16f77
Bump eslint from 8.51.0 to 8.52.0
dependabot[bot] d64f1a2
[ImgBot] Optimize images
ImgBotApp e782230
hidden reversal
BKSteve 8936e19
disable logic reversal
BKSteve e2af6cc
no provider disable
BKSteve aa3cd56
Bump eslint-plugin-unicorn from 48.0.1 to 49.0.0
dependabot[bot] afdc566
Bump snyk from 1.1237.0 to 1.1238.0
dependabot[bot] 2b1c341
Bump sass from 1.69.4 to 1.69.5
dependabot[bot] f8fd025
Providers cleanup (#8604)
miigotu 5e0c9a6
Update Gruntfile.js
miigotu 102c152
Update check_release.yml
miigotu b116251
Update config_providers.mako (#8610)
BKSteve f2672a5
chore: clean up formatting
miigotu 2f55ab9
refactor(frontend): structure into flask blueprints (#8569)
miigotu 391ad25
chore: remove unused validators import, use urlparse over deprecated …
BKSteve 834f3ae
fix: only set up logging in frontend when running flask server directly
miigotu 0d77a18
chore: fix python formatting
miigotu f714d50
Network Logo - Add Prime Video
jacroe cf656b8
Bump snyk from 1.1238.0 to 1.1241.0
dependabot[bot] 11f911c
Bump eslint from 8.52.0 to 8.53.0
dependabot[bot] 0b5cd03
Bump @babel/preset-env from 7.23.2 to 7.23.3
dependabot[bot] 006558b
Bump snyk from 1.1241.0 to 1.1242.0
dependabot[bot] 7b7980a
Bump @babel/core from 7.23.2 to 7.23.3
dependabot[bot] 9662a52
Bump snyk from 1.1242.0 to 1.1243.0
dependabot[bot] b9b2bfc
Directories setting
BKSteve 57ebf17
Directories not existing
BKSteve 8971984
Add existing skip
BKSteve 77a9851
chore: fix python formatting in add_shows.py
miigotu f646f34
Bump snyk from 1.1243.0 to 1.1246.0
dependabot[bot] 50d590b
feat: add seed time, ratio, incomplete dir and additional trackers to…
BKSteve 4b6022d
Bump snyk from 1.1246.0 to 1.1252.0
dependabot[bot] 4a1bdf8
Bump eslint from 8.53.0 to 8.54.0
dependabot[bot] ffad6e7
Bump snyk from 1.1252.0 to 1.1253.0
dependabot[bot] 01a1f6a
Bump snyk from 1.1253.0 to 1.1264.0
dependabot[bot] eefd804
Bump actions/upload-artifact from 3 to 4
dependabot[bot] bebe0ec
Bump github/codeql-action from 2 to 3
dependabot[bot] dfc9f0a
Bump @babel/preset-env from 7.23.3 to 7.23.6
dependabot[bot] ecd04c9
Bump ava from 5.3.1 to 6.0.1
dependabot[bot] 0544789
fix: remote anonym.to as default redirect
cdnninja 0a3c224
Update settings.py
cdnninja 55ccdb7
Bump @babel/core from 7.23.3 to 7.23.6
dependabot[bot] f5fd808
Bump actions/stale from 8 to 9
dependabot[bot] 143a478
Update types-setuptools requirement from >=65.3,<69.0 to >=65.3,<70.0
dependabot[bot] 5d5014f
Bump eslint from 8.54.0 to 8.56.0
dependabot[bot] 3460fbd
Adds Gotify (new notifier) (#8651)
DmitrySandalov 4a2653b
Bump eslint-plugin-import from 2.29.0 to 2.29.1 (#8659)
dependabot[bot] d4a1165
Bump stylelint from 15.11.0 to 16.1.0 (#8665)
dependabot[bot] f42b11a
Bump html-webpack-plugin from 5.5.3 to 5.6.0 (#8662)
dependabot[bot] b86c92f
Bump snyk from 1.1264.0 to 1.1266.0 (#8664)
dependabot[bot] 12c1c02
Bump stylelint-config-idiomatic-order from 9.0.0 to 10.0.0 (#8660)
dependabot[bot] 826df9d
Update __init__.py
miigotu 113d778
Update gotify.py
miigotu e123060
Update core.js
miigotu c2d0313
Update lxml requirement from ^4.9.1 to >=4.9.1,<6.0.0 (#8672)
dependabot[bot] acd6316
Bump @babel/preset-env from 7.23.6 to 7.23.7 (#8671)
dependabot[bot] 84917ea
Bump sass-loader from 13.3.2 to 13.3.3 (#8670)
dependabot[bot] e7210a2
Bump sass from 1.69.5 to 1.69.7 (#8673)
dependabot[bot] 1f8b595
Bump eslint-plugin-unicorn from 49.0.0 to 50.0.1 (#8667)
dependabot[bot] a081cda
Bump @babel/core from 7.23.6 to 7.23.7 (#8669)
dependabot[bot] 53576d7
fix(tests): remove esm to fix ava test and update python/javascript d…
miigotu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
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
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,42 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: pip | ||
directory: "/" | ||
target-branch: develop | ||
schedule: | ||
interval: daily | ||
allow: | ||
dependency-type: all | ||
- package-ecosystem: github-actions | ||
directory: "/" | ||
target-branch: develop | ||
schedule: | ||
interval: daily | ||
allow: | ||
dependency-type: all | ||
- package-ecosystem: docker | ||
directory: "/" | ||
target-branch: develop | ||
schedule: | ||
interval: daily | ||
allow: | ||
dependency-type: all | ||
- package-ecosystem: npm | ||
directory: "/" | ||
target-branch: develop | ||
schedule: | ||
interval: daily | ||
allow: | ||
dependency-type: all | ||
- package-ecosystem: pip | ||
directory: "/" | ||
target-branch: develop | ||
open-pull-requests-limit: 10 | ||
pull-request-branch-name: | ||
separator: "-" | ||
schedule: | ||
interval: weekly | ||
assignees: | ||
- "miigotu" | ||
- package-ecosystem: github-actions | ||
directory: "/" | ||
target-branch: develop | ||
open-pull-requests-limit: 10 | ||
pull-request-branch-name: | ||
separator: "-" | ||
schedule: | ||
interval: weekly | ||
assignees: | ||
- "miigotu" | ||
- package-ecosystem: docker | ||
directory: "/" | ||
target-branch: develop | ||
open-pull-requests-limit: 10 | ||
pull-request-branch-name: | ||
separator: "-" | ||
schedule: | ||
interval: weekly | ||
assignees: | ||
- "miigotu" | ||
- package-ecosystem: npm | ||
directory: "/" | ||
target-branch: develop | ||
open-pull-requests-limit: 10 | ||
pull-request-branch-name: | ||
separator: "-" | ||
schedule: | ||
interval: weekly | ||
assignees: | ||
- "miigotu" |
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,45 @@ | ||
name: Test release string | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
name: | ||
description: "string to check" | ||
type: string | ||
default: "Show.Name.S01E01.HDTV.h265-SICKCHILL" | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} | ||
cancel-in-progress: true | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
env: | ||
TEST_STRING: ${{ github.event.inputs.name || 'Show.Name.S01E01.HDTV.h265-SICKCHILL' }} | ||
|
||
jobs: | ||
Parse: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 1 | ||
persist-credentials: false | ||
- name: Setup Poetry env | ||
uses: 5yutan5/[email protected] | ||
with: | ||
python-version: "3.11" | ||
python-cache-dependency-path: pyproject.toml | ||
- name: Install python dependency tools | ||
run: | | ||
poetry run pip install --upgrade setuptools wheel | ||
poetry run pip install --upgrade pytest-github-actions-annotate-failures | ||
- name: Install sickchill | ||
run: | | ||
poetry install --no-interaction | ||
- name: Test string | ||
run: | | ||
poetry run sickchill --test-name ${{ env.TEST_STRING }} |
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 |
---|---|---|
|
@@ -8,6 +8,10 @@ on: | |
schedule: | ||
- cron: "27 10 * * 4" | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
analyze: | ||
name: Analyze | ||
|
@@ -24,9 +28,7 @@ jobs: | |
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
uses: actions/checkout@v4 | ||
|
||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v2 | ||
|
@@ -42,3 +44,14 @@ jobs: | |
uses: github/codeql-action/analyze@v2 | ||
with: | ||
category: "/language:${{ matrix.language }}" | ||
# gitguardian: | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - name: GitGuardian scan | ||
# uses: GitGuardian/[email protected] | ||
# env: | ||
# GITHUB_PUSH_BEFORE_SHA: ${{ github.event.before }} | ||
# GITHUB_PUSH_BASE_SHA: ${{ github.event.base }} | ||
# GITHUB_PULL_BASE_SHA: ${{ github.event.pull_request.base.sha }} | ||
# GITHUB_DEFAULT_BRANCH: ${{ github.event.repository.default_branch }} | ||
# GITGUARDIAN_API_KEY: ${{ secrets.GITGUARDIAN_API_KEY }} | ||
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,78 @@ | ||
name: Docker | ||
|
||
on: | ||
workflow_call: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} | ||
cancel-in-progress: false | ||
|
||
env: | ||
SLEEP: 60 | ||
DOCKER_BUILDKIT: '1' | ||
DOCKER_TEST_TAG: sickchill/sickchill:test | ||
DOCKER_CONTAINER_NAME: sickchill_test | ||
TARGET_PLATFORMS: "linux/amd64,linux/arm64" | ||
CRYPTOGRAPHY_DONT_BUILD_RUST: 1 | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
setup: | ||
name: Set up Docker Environment | ||
runs-on: ubuntu-latest | ||
outputs: | ||
docker_tags: ${{ steps.docker.outputs.tags }} | ||
docker_labels: ${{ steps.docker.outputs.labels }} | ||
steps: | ||
- name: Cache environment files | ||
uses: actions/cache@v3 | ||
with: | ||
path: /tmp/buildkitd.toml | ||
key: ${{ github.workflow }}-environment | ||
- name: Create buildkitd config | ||
run: | | ||
echo 'experimantal = true' > /tmp/buildkitd.toml | ||
echo 'debug = true' >> /tmp/buildkitd.toml | ||
echo 'insecure-entitlements = [ "security.insecure" ]' >> /tmp/buildkitd.toml | ||
# echo '[worker.oci]' >> /tmp/buildkitd.toml | ||
# echo 'max-parallelism = 1' >> /tmp/buildkitd.toml | ||
cat /tmp/buildkitd.toml | ||
- name: Docker meta | ||
id: docker | ||
uses: docker/metadata-action@v5 | ||
with: | ||
images: | | ||
${{ github.repository }} | ||
ghcr.io/${{ github.repository }} | ||
labels: | | ||
org.opencontainers.image.source=https://github.com/sickchill/sickchill | ||
org.opencontainers.image.url=https://sickchill.github.io | ||
org.opencontainers.image.licenses=GPL-3.0+ | ||
tags: | | ||
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }} | ||
type=schedule | ||
type=ref,event=branch | ||
type=ref,event=tag | ||
type=ref,event=pr | ||
type=raw,prefix=${{ github.ref_name }},suffix=,value=${{ github.run_id }},event=push | ||
type=raw,prefix=${{ github.ref_name }},suffix=,value=${{ github.sha }},event=push | ||
type=raw,prefix=,suffix=,value=${{ github.head_ref }},event=pr | ||
type=raw,prefix=,suffix=,value=${{ github.ref_name }},event=push,enable=${{ github.event_name != 'pull_request' }} | ||
type=edge,branch=develop | ||
type=semver,pattern={{version}},enable=${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }} | ||
type=semver,pattern={{major}}.{{minor}},enable=${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }} | ||
- name: Restore environment files | ||
uses: actions/cache@v3 | ||
with: | ||
path: /tmp/buildkitd.toml | ||
key: ${{ github.workflow }}-environment | ||
restore-keys: ${{ github.workflow }}-environment | ||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
with: | ||
config: /tmp/buildkitd.toml |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The GitGuardian scan has been commented out. If this is intentional and you no longer want to use GitGuardian, you might want to remove these lines entirely to keep the workflow file clean. If you plan to use it in the future, it's fine to leave it commented out, but you might want to add a comment explaining why it's currently disabled.