3.8.4 #1242
Workflow file for this run
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
--- | |
name: Deploy | |
# yamllint disable-line rule:truthy | |
on: | |
release: | |
types: | |
- published | |
# schedule: | |
# - cron: "0 2 * * *" | |
workflow_dispatch: | |
jobs: | |
build-frontend-node: | |
uses: timmo001/workflows/.github/workflows/build-node-linux.yml@master | |
with: | |
additional-build-commands: | | |
yarn export | |
artifact-name: frontend-out | |
artifact-path: frontend/out | |
code-path: frontend | |
build-windowssensors-dotnet: | |
uses: timmo001/workflows/.github/workflows/build-msbuild-windows.yml@master | |
with: | |
code-path: windowssensors/WindowsSensors | |
output-name: windowssensors-build | |
output-path: windowssensors/WindowsSensors/bin | |
package: SystemBridgeWindowsSensors.sln | |
deploy-connector: | |
uses: timmo001/workflows/.github/workflows/deploy-python-linux.yml@master | |
secrets: | |
PUSH_TOKEN: ${{ secrets.PUSH_TOKEN }} | |
PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }} | |
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }} | |
with: | |
code-path: connector | |
module-name: systembridgeconnector | |
use-incremental: true | |
deploy-shared: | |
uses: timmo001/workflows/.github/workflows/deploy-python-linux.yml@master | |
secrets: | |
PUSH_TOKEN: ${{ secrets.PUSH_TOKEN }} | |
PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }} | |
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }} | |
with: | |
code-path: shared | |
module-name: systembridgeshared | |
use-incremental: true | |
deploy-backend: | |
needs: | |
- deploy-shared | |
uses: timmo001/workflows/.github/workflows/deploy-python-linux.yml@master | |
secrets: | |
PUSH_TOKEN: ${{ secrets.PUSH_TOKEN }} | |
PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }} | |
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }} | |
with: | |
code-path: backend | |
module-name: systembridgebackend | |
pre-install-command: | | |
pip install --upgrade --pre systembridgeshared | |
pip install . | |
use-incremental: true | |
deploy-cli: | |
needs: | |
- deploy-shared | |
uses: timmo001/workflows/.github/workflows/deploy-python-linux.yml@master | |
secrets: | |
PUSH_TOKEN: ${{ secrets.PUSH_TOKEN }} | |
PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }} | |
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }} | |
with: | |
code-path: cli | |
module-name: systembridgecli | |
pre-install-command: | | |
pip install --upgrade --pre systembridgeshared | |
pip install . | |
use-incremental: true | |
deploy-frontend: | |
needs: | |
- deploy-shared | |
- build-frontend-node | |
uses: timmo001/workflows/.github/workflows/deploy-python-linux.yml@master | |
secrets: | |
PUSH_TOKEN: ${{ secrets.PUSH_TOKEN }} | |
PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }} | |
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }} | |
with: | |
additional-artifacts-name: frontend-out | |
additional-artifacts-path: frontend/out | |
code-path: frontend | |
module-name: systembridgefrontend | |
pre-install-command: | | |
pip install --upgrade --pre systembridgeshared | |
pip install . | |
use-incremental: true | |
deploy-gui: | |
needs: | |
- deploy-shared | |
uses: timmo001/workflows/.github/workflows/deploy-python-linux.yml@master | |
secrets: | |
PUSH_TOKEN: ${{ secrets.PUSH_TOKEN }} | |
PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }} | |
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }} | |
with: | |
code-path: gui | |
module-name: systembridgegui | |
pre-install-command: | | |
sudo apt update | |
sudo apt install libegl-dev libpulse0 | |
pip install --upgrade --pre systembridgeshared | |
pip install . | |
use-incremental: true | |
deploy-windowssensors: | |
needs: | |
- deploy-shared | |
- build-windowssensors-dotnet | |
uses: timmo001/workflows/.github/workflows/deploy-python-linux.yml@master | |
secrets: | |
PUSH_TOKEN: ${{ secrets.PUSH_TOKEN }} | |
PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }} | |
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }} | |
with: | |
additional-artifacts-name: windowssensors-build | |
additional-artifacts-path: windowssensors/WindowsSensors/bin | |
code-path: windowssensors | |
module-name: systembridgewindowssensors | |
pre-install-command: | | |
ls WindowsSensors/bin/net7.0-windows | |
pip install --upgrade --pre systembridgeshared | |
pip install . | |
use-incremental: true | |
deploy-container: | |
needs: | |
- deploy-shared | |
- deploy-backend | |
- deploy-cli | |
- deploy-frontend | |
uses: ./.github/workflows/deploy-container.yml | |
package: | |
needs: | |
- deploy-shared | |
- deploy-backend | |
- deploy-cli | |
- deploy-frontend | |
- deploy-gui | |
- deploy-windowssensors | |
uses: ./.github/workflows/package.yml |