This commit is contained in:
@@ -30,7 +30,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
registry: git.vpn.cusano.net
|
registry: git.vpn.cusano.net
|
||||||
username: ${{ gitea.actor }}
|
username: ${{ gitea.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ gitea.token }}
|
||||||
|
|
||||||
- name: Get version
|
- name: Get version
|
||||||
id: meta
|
id: meta
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
registry: git.vpn.cusano.net
|
registry: git.vpn.cusano.net
|
||||||
username: ${{ gitea.actor }}
|
username: ${{ gitea.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ gitea.token }}
|
||||||
|
|
||||||
- name: Get version
|
- name: Get version
|
||||||
id: meta
|
id: meta
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
registry: git.vpn.cusano.net
|
registry: git.vpn.cusano.net
|
||||||
username: ${{ gitea.actor }}
|
username: ${{ gitea.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ gitea.token }}
|
||||||
|
|
||||||
- name: Validate build configuration
|
- name: Validate build configuration
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: python3 -m pip install -r requirements.txt pytest
|
run: python3 -m pip install --break-system-packages -r requirements.txt pytest
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: python3 -m pytest tests -v
|
run: python3 -m pytest tests -v
|
||||||
@@ -26,5 +26,5 @@ jobs:
|
|||||||
|
|
||||||
- name: Lint
|
- name: Lint
|
||||||
run: |
|
run: |
|
||||||
python3 -m pip install flake8
|
python3 -m pip install --break-system-packages flake8
|
||||||
python3 -m flake8 drb-edge-node/app --max-line-length=120
|
python3 -m flake8 drb-edge-node/app --max-line-length=120
|
||||||
|
|||||||
Reference in New Issue
Block a user