From 53b6eeb7774aaeef6933ec138a5562070d349bfe Mon Sep 17 00:00:00 2001 From: Chris Johnson Date: Sat, 6 Feb 2021 10:06:31 -0800 Subject: [PATCH 01/13] refactor: Removing deprecated reference to wrapper.sh, in favor of wrapper.py --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 6081227..a06a802 100644 --- a/app.py +++ b/app.py @@ -174,7 +174,7 @@ def create_job_object(job_name, input_filename, output_filename, encoding_profil name=job_name, image="chrisjohnson00/handbrakecli:{}".format(get_container_version()), image_pull_policy=get_job_container_pull_policy(), - command=["./wrapper.sh", "{}".format(input_filename), "{}".format(output_filename), + command=["./wrapper.py", "{}".format(input_filename), "{}".format(output_filename), "{}".format(encoding_profile)], volume_mounts=[ client.V1VolumeMount( From dc1dd82ec3ba002648b3f0d16ae47e632059cca5 Mon Sep 17 00:00:00 2001 From: Chris Johnson Date: Sat, 6 Feb 2021 10:21:03 -0800 Subject: [PATCH 02/13] ci: Updating dependabot.yml to pr to develop instead of main --- .github/dependabot.yml | 2 ++ app.py | 2 +- requirements.txt | 3 +++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 2ebf445..7f3f30a 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -7,6 +7,7 @@ updates: pull-request-branch-name: separator: "-" open-pull-requests-limit: 99 + target-branch: 'develop' - package-ecosystem: pip directory: "/" schedule: @@ -14,3 +15,4 @@ updates: pull-request-branch-name: separator: "-" open-pull-requests-limit: 99 + target-branch: 'develop' diff --git a/app.py b/app.py index a06a802..d2a4ba5 100644 --- a/app.py +++ b/app.py @@ -174,7 +174,7 @@ def create_job_object(job_name, input_filename, output_filename, encoding_profil name=job_name, image="chrisjohnson00/handbrakecli:{}".format(get_container_version()), image_pull_policy=get_job_container_pull_policy(), - command=["./wrapper.py", "{}".format(input_filename), "{}".format(output_filename), + command=["python3", "/wrapper.py", "{}".format(input_filename), "{}".format(output_filename), "{}".format(encoding_profile)], volume_mounts=[ client.V1VolumeMount( diff --git a/requirements.txt b/requirements.txt index 15b7842..769f94f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,6 +6,7 @@ flake8==3.8.4 google-auth==1.24.0 idna==2.10 importlib-metadata==3.3.0 +iniconfig==1.1.1 kubernetes==12.0.1 mccabe==0.6.1 more-itertools==8.6.0 @@ -27,6 +28,8 @@ requests==2.25.1 requests-oauthlib==1.3.0 rsa==4.6 six==1.15.0 +toml==0.10.2 +typing-extensions==3.7.4.3 urllib3==1.26.2 wcwidth==0.2.5 websocket-client==0.57.0 From 32366e65557de48164ef37c857b109859138514b Mon Sep 17 00:00:00 2001 From: Chris Johnson Date: Sun, 7 Feb 2021 11:48:07 -0800 Subject: [PATCH 03/13] feat: Adding env variable for Consul integration with handbrake-job creation --- app.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app.py b/app.py index d2a4ba5..8369d92 100644 --- a/app.py +++ b/app.py @@ -62,6 +62,7 @@ def main(): batch_v1 = client.BatchV1Api() if job_exists(batch_v1, generate_job_name(file), namespace): print("INFO: Done with {} did not create any new job".format(filename), flush=True) + # @TODO remove the file from encoding_queue! else: output_filename = filename # (with 1080p in the name), it will rename it to 720p @@ -194,6 +195,10 @@ def create_job_object(job_name, input_filename, output_filename, encoding_profil client.V1EnvVar( name="JOB_TYPE", value=get_job_type() + ), + client.V1EnvVar( + name="CONSUL_HTTP_ADDR", + value=get_config('CONSUL_HTTP_ADDR') ) ] ) From 79f48feff9fb79b5a64b2bba9f9e22352edb44d5 Mon Sep 17 00:00:00 2001 From: Chris Johnson Date: Mon, 8 Feb 2021 23:47:47 -0800 Subject: [PATCH 04/13] feat: making watch and move path configurable --- app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index 8369d92..243b9c1 100644 --- a/app.py +++ b/app.py @@ -95,11 +95,11 @@ def get_container_version(): def get_watch_path(): - return "/watch" + return get_config("WATCH_PATH") def get_move_path(): - return "/move" + return get_config("MOVE_PATH") def get_nfs_server(): From 0291a4ffaa346b2baafdde4a2502c0fee04e63b1 Mon Sep 17 00:00:00 2001 From: Chris Johnson Date: Thu, 11 Feb 2021 16:25:56 -0800 Subject: [PATCH 05/13] fix: Job names fail if they have _ in them --- app/tests/test_utils.py | 7 +++++++ app/utils.py | 1 + 2 files changed, 8 insertions(+) diff --git a/app/tests/test_utils.py b/app/tests/test_utils.py index 45bac99..9c58583 100644 --- a/app/tests/test_utils.py +++ b/app/tests/test_utils.py @@ -13,3 +13,10 @@ def test_cleanup_job_suffix_period(): expected_result = "thepantypiatapolarizationhdtv1080p" result = cleanup_job_suffix(input_with_period_character) assert result == expected_result + + +def test_cleanup_job_suffix_underscore(): + input_with_bad_character = "The_Panty_Piata_Polarization_HDTV-1080p" + expected_result = "thepantypiatapolarizationhdtv1080p" + result = cleanup_job_suffix(input_with_bad_character) + assert result == expected_result diff --git a/app/utils.py b/app/utils.py index 037e6ea..4033fb1 100644 --- a/app/utils.py +++ b/app/utils.py @@ -5,4 +5,5 @@ def cleanup_job_suffix(input_string): # keep only word character, removing all non-word chars job_suffix = re.sub(r"\W", "", input_string.lower(), flags=re.I) job_suffix = re.sub(r"[à-ú]|[À-Ú]", "", job_suffix, flags=re.I) + job_suffix = job_suffix.replace("_", "") return job_suffix From be48ac186669382bdb5240182d2a76981ce7b669 Mon Sep 17 00:00:00 2001 From: Chris Johnson Date: Sat, 20 Feb 2021 21:46:35 -0800 Subject: [PATCH 06/13] chore: Removed the encoding profile name --- app.py | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/app.py b/app.py index 243b9c1..af23254 100644 --- a/app.py +++ b/app.py @@ -21,7 +21,6 @@ def main(): directory = get_watch_path() move_path = get_move_path() namespace = get_namespace() - encoding_profile = get_encoding_profile() file_discovered_metrics = Gauge('handbrake_job_creator_files_in_process', 'Job Creator Found A File', labelnames=["type", "quality"]) files_to_process_metrics = Gauge('handbrake_job_creator_files_to_process', 'Job Creator Found Some Files', @@ -70,8 +69,7 @@ def main(): replace_value = get_file_name_replace_value() if find_value and replace_value: output_filename = filename.replace(find_value, replace_value) - job = create_job_object(generate_job_name(file), filename, output_filename, encoding_profile, - file_size) + job = create_job_object(generate_job_name(file), filename, output_filename, file_size) create_job(batch_v1, job, namespace) # @TODO move the file back if the create_job call fails print("INFO: Done with {}".format(filename), flush=True) @@ -130,10 +128,6 @@ def get_namespace(): return get_config("JOB_NAMESPACE") # expected as an env value only -def get_encoding_profile(): - return get_config("JOB_PROFILE") # expected as an env value only - - def get_quality_level(): quality = get_config("QUALITY") # expected as an env value only if quality not in ['720p', '1080p', '4k']: @@ -169,14 +163,13 @@ def get_config(key, config_path=CONFIG_PATH): return data['Value'].decode("utf-8") -def create_job_object(job_name, input_filename, output_filename, encoding_profile, file_size): +def create_job_object(job_name, input_filename, output_filename, file_size): # Configureate Pod template container container = client.V1Container( name=job_name, image="chrisjohnson00/handbrakecli:{}".format(get_container_version()), image_pull_policy=get_job_container_pull_policy(), - command=["python3", "/wrapper.py", "{}".format(input_filename), "{}".format(output_filename), - "{}".format(encoding_profile)], + command=["python3", "/wrapper.py", "{}".format(input_filename), "{}".format(output_filename)], volume_mounts=[ client.V1VolumeMount( mount_path="/input", From c61360c79e318f67300675be877b9cf031bf4bcd Mon Sep 17 00:00:00 2001 From: Chris Johnson Date: Wed, 3 Mar 2021 21:07:33 -0800 Subject: [PATCH 07/13] ci: migrating to github actions --- .github/dependabot.yml | 45 +++++++----- .github/herald_rule_label_pr_breaking.json | 5 ++ .github/herald_rule_label_pr_bug.json | 5 ++ .../herald_rule_label_pr_documentation.json | 5 ++ .github/herald_rule_label_pr_enhancement.json | 5 ++ .github/workflows/auto-release.yaml | 54 ++++++++++++++ .github/workflows/ci.yml | 70 +++++++++++++++++++ .github/workflows/pr_checks.yaml | 42 +++++++++++ .github/workflows/push_latest.yaml | 21 ++++++ .github/workflows/push_release_container.yaml | 20 ++++++ 10 files changed, 256 insertions(+), 16 deletions(-) create mode 100644 .github/herald_rule_label_pr_breaking.json create mode 100644 .github/herald_rule_label_pr_bug.json create mode 100644 .github/herald_rule_label_pr_documentation.json create mode 100644 .github/herald_rule_label_pr_enhancement.json create mode 100644 .github/workflows/auto-release.yaml create mode 100644 .github/workflows/ci.yml create mode 100644 .github/workflows/pr_checks.yaml create mode 100644 .github/workflows/push_latest.yaml create mode 100644 .github/workflows/push_release_container.yaml diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 7f3f30a..f3eedc9 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,18 +1,31 @@ version: 2 updates: -- package-ecosystem: docker - directory: "/" - schedule: - interval: daily - pull-request-branch-name: - separator: "-" - open-pull-requests-limit: 99 - target-branch: 'develop' -- package-ecosystem: pip - directory: "/" - schedule: - interval: daily - pull-request-branch-name: - separator: "-" - open-pull-requests-limit: 99 - target-branch: 'develop' + - package-ecosystem: pip + directory: '/' + schedule: + interval: 'daily' + pull-request-branch-name: + separator: '-' + open-pull-requests-limit: 99 + target-branch: 'develop' + commit-message: + prefix: 'chore' + - package-ecosystem: 'docker' + directory: '/' + schedule: + interval: 'daily' + pull-request-branch-name: + separator: '-' + open-pull-requests-limit: 99 + commit-message: + prefix: 'chore' + target-branch: 'develop' + - package-ecosystem: 'github-actions' + directory: '/' + schedule: + interval: 'daily' + commit-message: + prefix: 'chore' + pull-request-branch-name: + separator: '-' + target-branch: 'develop' diff --git a/.github/herald_rule_label_pr_breaking.json b/.github/herald_rule_label_pr_breaking.json new file mode 100644 index 0000000..708a45b --- /dev/null +++ b/.github/herald_rule_label_pr_breaking.json @@ -0,0 +1,5 @@ +{ + "action": "label", + "eventJsonPath": "$..[?(@.body.match(/BREAKING.*?/))].body", + "labels": "breaking" +} diff --git a/.github/herald_rule_label_pr_bug.json b/.github/herald_rule_label_pr_bug.json new file mode 100644 index 0000000..9462093 --- /dev/null +++ b/.github/herald_rule_label_pr_bug.json @@ -0,0 +1,5 @@ +{ + "action": "label", + "eventJsonPath": "$..[?(@.title.match(/^fix.*?/))].title", + "labels": "bug" +} diff --git a/.github/herald_rule_label_pr_documentation.json b/.github/herald_rule_label_pr_documentation.json new file mode 100644 index 0000000..dcaacfe --- /dev/null +++ b/.github/herald_rule_label_pr_documentation.json @@ -0,0 +1,5 @@ +{ + "action": "label", + "eventJsonPath": "$..[?(@.title.match(/^docs.*?/))].title", + "labels": "documentation" +} diff --git a/.github/herald_rule_label_pr_enhancement.json b/.github/herald_rule_label_pr_enhancement.json new file mode 100644 index 0000000..ad0d611 --- /dev/null +++ b/.github/herald_rule_label_pr_enhancement.json @@ -0,0 +1,5 @@ +{ + "action": "label", + "eventJsonPath": "$..[?(@.title.match(/^feat.*?/))].title", + "labels": "enhancement" +} diff --git a/.github/workflows/auto-release.yaml b/.github/workflows/auto-release.yaml new file mode 100644 index 0000000..7d77e64 --- /dev/null +++ b/.github/workflows/auto-release.yaml @@ -0,0 +1,54 @@ +name: 'Create Release' + +on: + push: + branches: ['main'] + +jobs: + create_release: + runs-on: 'ubuntu-18.04' + name: 'Create Release' + steps: + - name: 'Checkout' + uses: 'actions/checkout@v2' + with: + fetch-depth: 0 + - name: 'Get Latest Tag' + id: 'previoustag' + uses: 'WyriHaximus/github-action-get-previous-tag@1.0.0' + - name: 'Bump version and push tag' + id: 'tag_version' + uses: 'mathieudutour/github-tag-action@v5' + with: + github_token: '${{ secrets.PAT_REPO_ONLY }}' + release_branches: 'main' + default_bump: 'patch' + - name: 'Generate incremental changelog' + uses: 'charmixer/auto-changelog-action@v1.1' + with: + token: '${{ secrets.GITHUB_TOKEN }}' + release_branch: 'main' + since_tag: '${{ steps.previoustag.outputs.tag }}' + output: 'release.md' + - name: 'Read incremental changelog' + id: 'changelog' + uses: 'juliangruber/read-file-action@v1' + with: + path: './release.md' + - name: 'Create a GitHub release' + uses: 'actions/create-release@v1' + env: + GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}' + with: + tag_name: '${{ steps.tag_version.outputs.new_tag }}' + release_name: '${{ steps.tag_version.outputs.new_tag }}' + body: '${{ steps.changelog.outputs.content }}' + - name: 'Generate changelog' + uses: 'charmixer/auto-changelog-action@v1.1' + with: + token: '${{ secrets.GITHUB_TOKEN }}' + release_branch: 'main' + - uses: 'stefanzweifel/git-auto-commit-action@v4' + with: + commit_message: 'chore: Generating CHANGELOG.md for ${{ steps.tag_version.outputs.new_tag }}' + file_pattern: 'CHANGELOG.md' diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..022c13d --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,70 @@ +name: 'CI' + +on: + push: + branches: ['**'] + +env: + CONTAINER_NAME: 'handbrake-job-creator' + +jobs: + lint: + runs-on: 'ubuntu-20.04' + name: 'Python Lint' + steps: + - uses: 'actions/checkout@v2' + - uses: 'actions/setup-python@v2' + with: + python-version: '3.9' + - name: 'Install dependencies' + run: | + echo "Installing CI requirements" + pip install --upgrade --user pip flake8 + echo "Installing project requirements" + pip install -r requirements.txt + - name: 'Flake8 :allthethings:' + run: 'python -m flake8' + test: + runs-on: 'ubuntu-20.04' + name: 'Python Tests' + steps: + - uses: 'actions/checkout@v2' + - uses: 'actions/setup-python@v2' + with: + python-version: '3.9' + - name: 'Install dependencies' + run: | + echo "Installing CI requirements" + pip install --upgrade --user pip pytest coverage + echo "Installing project requirements" + pip install -r requirements.txt + - name: 'Run tests' + run: 'python -m coverage run --branch --source=app -m pytest' + - name: 'Display coverage report' + run: 'python -m coverage report --fail-under 80 -m' + container_build: + needs: ['lint', 'test'] + name: 'Build and Push Docker Container' + runs-on: 'ubuntu-20.04' + steps: + - uses: 'actions/checkout@v2' + - name: 'Build the Docker image' + run: 'docker build . -t chrisjohnson00/${CONTAINER_NAME}:${GITHUB_REF##*/}' + - name: 'Login to docker hub' + run: 'docker login --username=chrisjohnson00 --password=${{ secrets.DOCKER_HUB_PASSWORD }}' + - name: 'Push the Docker image' + run: 'docker push chrisjohnson00/${CONTAINER_NAME}:${GITHUB_REF##*/}' + actionslint: + name: 'Actions Yaml Lint' + runs-on: 'ubuntu-20.04' + steps: + - name: 'Checkout' + uses: 'actions/checkout@v2' + - name: 'Actions Yaml Lint' + uses: 'karancode/yamllint-github-action@v2.0.0' + with: + yamllint_file_or_dir: '.github/workflows' + yamllint_comment: 'true' + yamllint_config_datapath: '{"extends":"default","rules":{"line-length":{"max":360,"level":"warning"},"quoted-strings":{"quote-type":"single","required":true,"level":"error"},"truthy":{"check-keys":false},"document-start":{"present":false}}}' + env: + GITHUB_ACCESS_TOKEN: '${{ secrets.GITHUB_TOKEN }}' diff --git a/.github/workflows/pr_checks.yaml b/.github/workflows/pr_checks.yaml new file mode 100644 index 0000000..4ff3afd --- /dev/null +++ b/.github/workflows/pr_checks.yaml @@ -0,0 +1,42 @@ +name: 'PR Standards Check' +on: + pull_request: + types: + - 'opened' + - 'edited' + - 'reopened' + - 'synchronize' + +jobs: + check-pr-title: + name: 'PR Title' + runs-on: 'ubuntu-18.04' + steps: + - uses: 'actions/checkout@v2' + - name: 'Install Dependencies' + run: | + npm install @commitlint/config-conventional + echo "module.exports = {extends: ['@commitlint/config-conventional'], rules: { 'subject-case': [2, 'always', ['sentence-case','lower-case', 'start-case']], 'header-max-length': [2, 'always', 120], 'body-max-line-length': [0, 'always', 120] }};" > commitlint.config.js + - uses: 'JulienKode/pull-request-name-linter-action@v0.2.0' + check-pr-commits: + name: 'PR Commit Messages' + runs-on: 'ubuntu-18.04' + steps: + - uses: 'actions/checkout@v2' + with: + fetch-depth: 0 + - name: 'Configure commit lint' + run: | + echo "module.exports = {extends: ['@commitlint/config-conventional'], rules: { 'subject-case': [2, 'always', ['sentence-case','lower-case', 'start-case']], 'header-max-length': [2, 'always', 120], 'body-max-line-length': [0, 'always', 120] }};" > commitlint.config.js + - uses: 'wagoid/commitlint-github-action@v2' + apply-labels: + name: 'PR Labels' + runs-on: 'ubuntu-18.04' + steps: + - uses: 'actions/checkout@v2' + - name: 'Apply Herald rules' + uses: 'gagoar/use-herald-action@v2.3.0' + with: + GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}' + rulesLocation: '.github/herald_rule_*.json' + base: 'main' diff --git a/.github/workflows/push_latest.yaml b/.github/workflows/push_latest.yaml new file mode 100644 index 0000000..3658bcd --- /dev/null +++ b/.github/workflows/push_latest.yaml @@ -0,0 +1,21 @@ +name: 'Push Latest Tag' + +on: + push: + tags: + - 'v**' + +env: + CONTAINER_NAME: 'handbrake-job-creator' + +jobs: + push_latest: + runs-on: 'ubuntu-18.04' + steps: + - uses: 'actions/checkout@v2' + - name: 'Build the Docker image' + run: 'docker build . -t chrisjohnson00/${CONTAINER_NAME}:latest' + - name: 'Login to docker hub' + run: 'docker login --username=chrisjohnson00 --password=${{ secrets.DOCKER_HUB_PASSWORD }}' + - name: 'Push the Docker image' + run: 'docker push chrisjohnson00/${CONTAINER_NAME}:latest' diff --git a/.github/workflows/push_release_container.yaml b/.github/workflows/push_release_container.yaml new file mode 100644 index 0000000..0b71f77 --- /dev/null +++ b/.github/workflows/push_release_container.yaml @@ -0,0 +1,20 @@ +name: 'Push release version tag' + +on: + push: + tags: ['**'] + +env: + CONTAINER_NAME: 'handbrake-job-creator' + +jobs: + build_container: + runs-on: 'ubuntu-18.04' + steps: + - uses: 'actions/checkout@v2' + - name: 'Build the Docker image' + run: 'docker build . -t chrisjohnson00/${CONTAINER_NAME}:${GITHUB_REF##*/}' + - name: 'Login to docker hub' + run: 'docker login --username=chrisjohnson00 --password=${{ secrets.DOCKER_HUB_PASSWORD }}' + - name: 'Push the Docker image' + run: 'docker push chrisjohnson00/${CONTAINER_NAME}:${GITHUB_REF##*/}' From 64a206ced319aaab614c67c36ebc0462dc05d3b1 Mon Sep 17 00:00:00 2001 From: Chris Johnson Date: Wed, 3 Mar 2021 21:20:36 -0800 Subject: [PATCH 08/13] ci: removing travis ci --- .travis.yml | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 0ad59b7..0000000 --- a/.travis.yml +++ /dev/null @@ -1,26 +0,0 @@ -language: bash -arch: - - amd64 -services: - - docker -jobs: - include: - - stage: build branch - script: - - set -e - - docker build -t chrisjohnson00/handbrake-job-creator -f Dockerfile . - - docker run chrisjohnson00/handbrake-job-creator python -m flake8 - - docker run chrisjohnson00/handbrake-job-creator python -m pytest - - docker login --username=chrisjohnson00 --password=$DOCKER_HUB_PASSWORD - - docker tag chrisjohnson00/handbrake-job-creator chrisjohnson00/handbrake-job-creator:$TRAVIS_BRANCH - - docker push chrisjohnson00/handbrake-job-creator:$TRAVIS_BRANCH - if: tag is blank - - stage: build tag - script: - - set -e - - docker build -t chrisjohnson00/handbrake-job-creator -f Dockerfile . - - docker login --username=chrisjohnson00 --password=$DOCKER_HUB_PASSWORD - - docker tag chrisjohnson00/handbrake-job-creator chrisjohnson00/handbrake-job-creator:$TRAVIS_TAG - - docker push chrisjohnson00/handbrake-job-creator:$TRAVIS_TAG - - docker push chrisjohnson00/handbrake-job-creator - if: tag IS present From dee555c8b584cd4a5dbbbfef505c65a9678f89b1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 4 Mar 2021 07:33:11 +0000 Subject: [PATCH 09/13] chore: bump WyriHaximus/github-action-get-previous-tag Bumps [WyriHaximus/github-action-get-previous-tag](https://github.com/WyriHaximus/github-action-get-previous-tag) from 1.0.0 to v1.0.1. - [Release notes](https://github.com/WyriHaximus/github-action-get-previous-tag/releases) - [Commits](https://github.com/WyriHaximus/github-action-get-previous-tag/compare/1.0.0...7cf31075d206b1a0341e09ef4305949a73ab599b) Signed-off-by: dependabot[bot] --- .github/workflows/auto-release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto-release.yaml b/.github/workflows/auto-release.yaml index 7d77e64..e0b8d47 100644 --- a/.github/workflows/auto-release.yaml +++ b/.github/workflows/auto-release.yaml @@ -15,7 +15,7 @@ jobs: fetch-depth: 0 - name: 'Get Latest Tag' id: 'previoustag' - uses: 'WyriHaximus/github-action-get-previous-tag@1.0.0' + uses: 'WyriHaximus/github-action-get-previous-tag@v1.0.1' - name: 'Bump version and push tag' id: 'tag_version' uses: 'mathieudutour/github-tag-action@v5' From 711bd21fa1dc84fda7c1a02bbefa1be2e6cf8fdf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 4 Mar 2021 07:33:09 +0000 Subject: [PATCH 10/13] chore: bump charmixer/auto-changelog-action from v1.1 to v1.2 Bumps [charmixer/auto-changelog-action](https://github.com/charmixer/auto-changelog-action) from v1.1 to v1.2. - [Release notes](https://github.com/charmixer/auto-changelog-action/releases) - [Commits](https://github.com/charmixer/auto-changelog-action/compare/v1.1...907f47986341079f902652be52ae2eae470b4818) Signed-off-by: dependabot[bot] --- .github/workflows/auto-release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/auto-release.yaml b/.github/workflows/auto-release.yaml index e0b8d47..c139e0d 100644 --- a/.github/workflows/auto-release.yaml +++ b/.github/workflows/auto-release.yaml @@ -24,7 +24,7 @@ jobs: release_branches: 'main' default_bump: 'patch' - name: 'Generate incremental changelog' - uses: 'charmixer/auto-changelog-action@v1.1' + uses: 'charmixer/auto-changelog-action@v1.2' with: token: '${{ secrets.GITHUB_TOKEN }}' release_branch: 'main' @@ -44,7 +44,7 @@ jobs: release_name: '${{ steps.tag_version.outputs.new_tag }}' body: '${{ steps.changelog.outputs.content }}' - name: 'Generate changelog' - uses: 'charmixer/auto-changelog-action@v1.1' + uses: 'charmixer/auto-changelog-action@v1.2' with: token: '${{ secrets.GITHUB_TOKEN }}' release_branch: 'main' From 603bce776149b5b6689483b19c8e4b8793f15654 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 4 Mar 2021 07:33:10 +0000 Subject: [PATCH 11/13] chore: bump wagoid/commitlint-github-action from v2 to v3.0.6 Bumps [wagoid/commitlint-github-action](https://github.com/wagoid/commitlint-github-action) from v2 to v3.0.6. - [Release notes](https://github.com/wagoid/commitlint-github-action/releases) - [Changelog](https://github.com/wagoid/commitlint-github-action/blob/master/CHANGELOG.md) - [Commits](https://github.com/wagoid/commitlint-github-action/compare/v2...b50220da863dbe1b08a91be6abbab41446ae5833) Signed-off-by: dependabot[bot] --- .github/workflows/pr_checks.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr_checks.yaml b/.github/workflows/pr_checks.yaml index 4ff3afd..dc43c0f 100644 --- a/.github/workflows/pr_checks.yaml +++ b/.github/workflows/pr_checks.yaml @@ -28,7 +28,7 @@ jobs: - name: 'Configure commit lint' run: | echo "module.exports = {extends: ['@commitlint/config-conventional'], rules: { 'subject-case': [2, 'always', ['sentence-case','lower-case', 'start-case']], 'header-max-length': [2, 'always', 120], 'body-max-line-length': [0, 'always', 120] }};" > commitlint.config.js - - uses: 'wagoid/commitlint-github-action@v2' + - uses: 'wagoid/commitlint-github-action@v3.0.6' apply-labels: name: 'PR Labels' runs-on: 'ubuntu-18.04' From a9062e6257f1bd3141589696fca4417bcdb30d14 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 5 Mar 2021 00:44:44 +0000 Subject: [PATCH 12/13] chore: bump mathieudutour/github-tag-action from v5 to v5.2 Bumps [mathieudutour/github-tag-action](https://github.com/mathieudutour/github-tag-action) from v5 to v5.2. - [Release notes](https://github.com/mathieudutour/github-tag-action/releases) - [Commits](https://github.com/mathieudutour/github-tag-action/compare/v5...a2505118dd9b4797d9f8d45747f562db67e2aa6c) Signed-off-by: dependabot[bot] --- .github/workflows/auto-release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto-release.yaml b/.github/workflows/auto-release.yaml index c139e0d..202e754 100644 --- a/.github/workflows/auto-release.yaml +++ b/.github/workflows/auto-release.yaml @@ -18,7 +18,7 @@ jobs: uses: 'WyriHaximus/github-action-get-previous-tag@v1.0.1' - name: 'Bump version and push tag' id: 'tag_version' - uses: 'mathieudutour/github-tag-action@v5' + uses: 'mathieudutour/github-tag-action@v5.2' with: github_token: '${{ secrets.PAT_REPO_ONLY }}' release_branches: 'main' From 940bc81fddc5a6df070cda47638783e0e78cef59 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 16 Mar 2021 06:23:12 +0000 Subject: [PATCH 13/13] chore: bump urllib3 from 1.26.2 to 1.26.4 Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.2 to 1.26.4. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/1.26.4/CHANGES.rst) - [Commits](https://github.com/urllib3/urllib3/compare/1.26.2...1.26.4) Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 769f94f..bd881ba 100644 --- a/requirements.txt +++ b/requirements.txt @@ -30,7 +30,7 @@ rsa==4.6 six==1.15.0 toml==0.10.2 typing-extensions==3.7.4.3 -urllib3==1.26.2 +urllib3==1.26.4 wcwidth==0.2.5 websocket-client==0.57.0 zipp==3.4.0