-
Notifications
You must be signed in to change notification settings - Fork 539
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #439 from aapatre/develop
Fix enrollment issues and bump library versions (#438)
- Loading branch information
Showing
12 changed files
with
294 additions
and
114 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,20 @@ | ||
changelog: | ||
exclude: | ||
labels: | ||
- ignore-for-release | ||
authors: | ||
- octocat | ||
- restyled-commits | ||
categories: | ||
- title: "Breaking Changes :hammer_and_wrench:" | ||
labels: | ||
- breaking-change | ||
- title: "New Features :tada:" | ||
labels: | ||
- enhancement | ||
- title: "Bug Fixes :bug:" | ||
labels: | ||
- bug | ||
- title: Other Changes | ||
labels: | ||
- "*" |
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,61 @@ | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
pypi_token: | ||
description: 'The pypi token to publish with' | ||
required: true | ||
pypi_url: | ||
description: 'The pypi url to publish to' | ||
required: true | ||
pypi_variable: | ||
description: 'The pypi variable' | ||
required: true | ||
# push: | ||
# tags: | ||
# - '[0-9]+.[0-9]+.[0-9]+' | ||
|
||
name: Publish Release | ||
|
||
jobs: | ||
publish-to-pypi: | ||
name: Publish to pypi | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: [ 3.11 ] | ||
poetry-version: [ 1.3.2 ] | ||
os: [ ubuntu-latest ] | ||
|
||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Run image | ||
uses: abatilo/actions-poetry@v2.0.0 | ||
with: | ||
poetry-version: ${{ matrix.poetry-version }} | ||
- name: Publish | ||
env: | ||
PYPI_TOKEN: ${{ inputs.pypi_token }} | ||
PYPI_URL: ${{ inputs.pypi_url }} | ||
PYPI_VARIABLE: ${{ inputs.pypi_variable }} | ||
run: | | ||
poetry config repositories.$PYPI_VARIABLE $PYPI_URL | ||
poetry config pypi-token.$PYPI_VARIABLE $PYPI_TOKEN | ||
poetry publish --build -r $PYPI_VARIABLE | ||
# create-github-release: | ||
# name: Create GitHub Release | ||
# runs-on: ubuntu-latest | ||
# needs: publish-to-pypi | ||
# permissions: | ||
# contents: write | ||
# steps: | ||
# - name: Checkout code | ||
# uses: actions/checkout@v3 | ||
# - name: Create Release | ||
# run: gh release create ${{ github.ref }} --generate-notes | ||
# env: | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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 |
---|---|---|
@@ -0,0 +1,58 @@ | ||
name: Start Release | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
version: | ||
description: 'Semver type of new version (major / minor / patch)' | ||
required: true | ||
type: choice | ||
options: | ||
- patch | ||
- minor | ||
- major | ||
environment: | ||
description: 'The environment to deploy for' | ||
required: true | ||
type: choice | ||
default: master | ||
options: | ||
- master | ||
- develop | ||
|
||
jobs: | ||
bump-version: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-latest | ||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Check out the content (source branch). Use a deploy key so that | ||
# when we push changes, it will trigger the release workflow | ||
# run that runs on: tag. (Using the GitHub token would | ||
# not run the workflow to prevent infinite recursion.) | ||
- name: Check out source | ||
uses: actions/checkout@v2 | ||
with: | ||
ssh-key: ${{ secrets.DEPLOY_KEY }} | ||
env_vars: | | ||
DEPLOYMENT_ENVIRONMENT=${{ github.event.inputs.environment }} | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Set up cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.cache/pypoetry/virtualenvs | ||
key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }} | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install poetry | ||
poetry install --only dev | ||
- name: Setup Git | ||
run: | | ||
git config user.name 'octocat' | ||
git config user.email '20401034+cullzie@users.noreply.github.com' | ||
- name: Bump version | ||
run: poetry run bumpver update --push --${{ github.event.inputs.version }} |
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
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,8 +1,8 @@ | ||
aiohttp[speedups]==3.8.1 | ||
aiohttp[speedups]==3.8.4 | ||
beautifulsoup4==4.11.1 | ||
ruamel.yaml==0.16.13 | ||
requests==2.27.1 | ||
cloudscraper==1.2.60 | ||
webdriver-manager==3.7.0 | ||
selenium==3.141.0 | ||
ruamel.yaml==0.17.32 | ||
requests==2.31.0 | ||
cloudscraper==1.2.71 | ||
price-parser==0.3.4 | ||
webdriver-manager==3.8.6 | ||
selenium==4.10.0 |
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.