Compare commits
24 Commits
snyk-fix-0
...
v1.6.0
Author | SHA1 | Date | |
---|---|---|---|
69f5dfaf20 | |||
82bcffc498 | |||
f3b4b61f45 | |||
c60494ce60 | |||
d9b815b664 | |||
50d8f81c63 | |||
6985f4dbe8 | |||
a314379091 | |||
6e4d78cfcd | |||
6832c03f8d | |||
2cf102db5d | |||
cfdc7311d2 | |||
b22363a87f | |||
6674fccb6a | |||
eb4f19ee3f | |||
014085f693 | |||
3f318d6d70 | |||
43696f16e1 | |||
3cf66ab503 | |||
a808a51c6d | |||
4ff8f90225 | |||
e8d8058278 | |||
9714080a5d | |||
0e70b9c959 |
2
.github/renovate.json
vendored
2
.github/renovate.json
vendored
@ -5,7 +5,7 @@
|
|||||||
":semanticCommitTypeAll(fix)"
|
":semanticCommitTypeAll(fix)"
|
||||||
],
|
],
|
||||||
"baseBranches": [
|
"baseBranches": [
|
||||||
"next"
|
"main"
|
||||||
],
|
],
|
||||||
"platformCommit": true,
|
"platformCommit": true,
|
||||||
"dependencyDashboardAutoclose": true,
|
"dependencyDashboardAutoclose": true,
|
||||||
|
64
.github/workflows-old/release.yml
vendored
Normal file
64
.github/workflows-old/release.yml
vendored
Normal file
@ -0,0 +1,64 @@
|
|||||||
|
name: Build
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
|
||||||
|
env:
|
||||||
|
REGISTRY: ghcr.io
|
||||||
|
IMAGE_NAME: ${{ github.repository }}
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release:
|
||||||
|
name: Release
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
outputs:
|
||||||
|
new_tag: ${{ steps.tag_version.outputs.new_tag }}
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Bump version and push tag
|
||||||
|
id: tag_version
|
||||||
|
uses: mathieudutour/github-tag-action@v6.2
|
||||||
|
with:
|
||||||
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
default_bump: minor
|
||||||
|
- name: Create a GitHub release
|
||||||
|
uses: ncipollo/release-action@v1
|
||||||
|
with:
|
||||||
|
tag: ${{ steps.tag_version.outputs.new_tag }}
|
||||||
|
name: ${{ steps.tag_version.outputs.new_tag }}
|
||||||
|
body: ${{ steps.tag_version.outputs.changelog }}
|
||||||
|
generateReleaseNotes: true
|
||||||
|
|
||||||
|
publish:
|
||||||
|
name: GitHub Container Registry
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: release
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
packages: write
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Login to GitHub Container Registry
|
||||||
|
run: echo ${{ secrets.GITHUB_TOKEN }} | docker login ${{ env.REGISTRY }} -u ${{ github.actor }} --password-stdin
|
||||||
|
- name: Build image for GitHub Package Registry
|
||||||
|
run: |
|
||||||
|
docker build . --file Dockerfile \
|
||||||
|
--build-arg "version=${{ needs.release.outputs.new_tag }}" \
|
||||||
|
--tag ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ needs.release.outputs.new_tag }} \
|
||||||
|
--tag ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
|
||||||
|
- name: Push image to GitHub Package Registry
|
||||||
|
run: |
|
||||||
|
docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
|
||||||
|
docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ needs.release.outputs.new_tag }}
|
||||||
|
|
||||||
|
# deploy:
|
||||||
|
# name: Update Portainer Deployment
|
||||||
|
# runs-on: ubuntu-latest
|
||||||
|
# needs: publish
|
||||||
|
# steps:
|
||||||
|
# - uses: fjogeleit/http-request-action@v1
|
||||||
|
# with:
|
||||||
|
# url: ${{ secrets.PORTAINER_WEBHOOK_URL }}
|
||||||
|
# method: POST
|
||||||
|
# timeout: 60000
|
||||||
|
# preventFailureOnNoResponse: "true"
|
66
.github/workflows/release.yml
vendored
66
.github/workflows/release.yml
vendored
@ -1,57 +1,17 @@
|
|||||||
name: Build
|
name: Release
|
||||||
on:
|
on:
|
||||||
push:
|
workflow_dispatch:
|
||||||
branches: [main]
|
schedule:
|
||||||
|
- cron: "0 9 * * *"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
create_release:
|
||||||
name: Release
|
name: Create Release
|
||||||
runs-on: ubuntu-latest
|
uses: luketainton/gha-workflows/.github/workflows/create-release.yml@main
|
||||||
outputs:
|
|
||||||
new_tag: ${{ steps.tag_version.outputs.new_tag }}
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: Bump version and push tag
|
|
||||||
id: tag_version
|
|
||||||
uses: mathieudutour/github-tag-action@v6.2
|
|
||||||
with:
|
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
default_bump: minor
|
|
||||||
- name: Create a GitHub release
|
|
||||||
uses: ncipollo/release-action@v1
|
|
||||||
with:
|
|
||||||
tag: ${{ steps.tag_version.outputs.new_tag }}
|
|
||||||
name: ${{ steps.tag_version.outputs.new_tag }}
|
|
||||||
body: ${{ steps.tag_version.outputs.changelog }}
|
|
||||||
generateReleaseNotes: true
|
|
||||||
|
|
||||||
publish:
|
create_docker:
|
||||||
name: GitHub Container Registry
|
name: Create Docker Image
|
||||||
runs-on: ubuntu-latest
|
needs: create_release
|
||||||
needs: release
|
uses: luketainton/gha-workflows/.github/workflows/build-push-attest-docker.yml@main
|
||||||
steps:
|
with:
|
||||||
- uses: actions/checkout@v4
|
release: ${{ needs.create_release.outputs.release_name }}
|
||||||
- name: Login to GitHub Container Registry
|
|
||||||
run: echo ${{ secrets.GHCR_ACCESS_TOKEN }} | docker login ghcr.io -u luketainton --password-stdin
|
|
||||||
- name: Build image for GitHub Package Registry
|
|
||||||
run: |
|
|
||||||
docker build . --file Dockerfile \
|
|
||||||
--build-arg "version=${{ needs.release.outputs.new_tag }}" \
|
|
||||||
--tag ghcr.io/luketainton/roboluke-tasks:${{ needs.release.outputs.new_tag }} \
|
|
||||||
--tag ghcr.io/luketainton/roboluke-tasks:latest
|
|
||||||
- name: Push image to GitHub Package Registry
|
|
||||||
run: |
|
|
||||||
docker push ghcr.io/luketainton/roboluke-tasks:latest
|
|
||||||
docker push ghcr.io/luketainton/roboluke-tasks:${{ needs.release.outputs.new_tag }}
|
|
||||||
|
|
||||||
deploy:
|
|
||||||
name: Update Portainer Deployment
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
needs: publish
|
|
||||||
steps:
|
|
||||||
- uses: fjogeleit/http-request-action@v1
|
|
||||||
with:
|
|
||||||
url: ${{ secrets.PORTAINER_WEBHOOK_URL }}
|
|
||||||
method: POST
|
|
||||||
timeout: 60000
|
|
||||||
preventFailureOnNoResponse: "true"
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
appdirs==1.4.4
|
appdirs==1.4.4
|
||||||
astroid==3.2.2
|
astroid==3.2.3
|
||||||
attrs==23.2.0
|
attrs==23.2.0
|
||||||
autopep8==2.3.1
|
autopep8==2.3.1
|
||||||
backoff==2.2.1
|
backoff==2.2.1
|
||||||
@ -33,11 +33,11 @@ python-dotenv==1.0.1
|
|||||||
PyYAML==6.0.1
|
PyYAML==6.0.1
|
||||||
requests==2.32.3
|
requests==2.32.3
|
||||||
requests-toolbelt==1.0.0
|
requests-toolbelt==1.0.0
|
||||||
sentry-sdk==2.7.1
|
sentry-sdk==2.10.0
|
||||||
six==1.16.0
|
six==1.16.0
|
||||||
toml==0.10.2
|
toml==0.10.2
|
||||||
tomli==2.0.1
|
tomli==2.0.1
|
||||||
tomlkit==0.12.5
|
tomlkit==0.13.0
|
||||||
urllib3==2.2.2
|
urllib3==2.2.2
|
||||||
virtualenv==20.26.3
|
virtualenv==20.26.3
|
||||||
webex-bot==0.5.1
|
webex-bot==0.5.1
|
||||||
@ -45,3 +45,4 @@ webexteamssdk==1.6.1
|
|||||||
websockets==11.0.3
|
websockets==11.0.3
|
||||||
wrapt==1.16.0
|
wrapt==1.16.0
|
||||||
xmltodict==0.13.0
|
xmltodict==0.13.0
|
||||||
|
zipp>=3.19.1 # not directly required, pinned by Snyk to avoid a vulnerability
|
||||||
|
Reference in New Issue
Block a user