chore: remove placeholder Azure workflows (no Infomaniak VM yet)
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
21d84a099c
commit
8b2ac4d467
2 changed files with 0 additions and 122 deletions
|
|
@ -1,61 +0,0 @@
|
||||||
name: Deploy althaus-preprocessing
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [main]
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Set up Python
|
|
||||||
uses: actions/setup-python@v5
|
|
||||||
with:
|
|
||||||
python-version: "3.13"
|
|
||||||
|
|
||||||
- name: Install uv
|
|
||||||
uses: https://github.com/astral-sh/setup-uv@v5
|
|
||||||
|
|
||||||
- name: Upload artifact for deployment jobs
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: python-app
|
|
||||||
path: |
|
|
||||||
.
|
|
||||||
!venv/
|
|
||||||
!.venv/
|
|
||||||
!.git/
|
|
||||||
!.cache/
|
|
||||||
|
|
||||||
deploy:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
needs: build
|
|
||||||
permissions:
|
|
||||||
id-token: write
|
|
||||||
contents: read
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Download artifact from build job
|
|
||||||
uses: actions/download-artifact@v4
|
|
||||||
with:
|
|
||||||
name: python-app
|
|
||||||
|
|
||||||
- name: Login to Azure (OIDC)
|
|
||||||
uses: https://github.com/Azure/login@v2
|
|
||||||
with:
|
|
||||||
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_3720212D35D047C38CEE2F365F1D81C7 }}
|
|
||||||
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_AC3FDD6C7376466AA44A309428618439 }}
|
|
||||||
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_94A2088C685A46DFAE2BFBA50714B1DA }}
|
|
||||||
|
|
||||||
- name: Deploy to Azure Web App
|
|
||||||
uses: https://github.com/Azure/webapps-deploy@v3
|
|
||||||
with:
|
|
||||||
app-name: "poweron-althaus-preprocess-prod"
|
|
||||||
slot-name: "Production"
|
|
||||||
package: .
|
|
||||||
|
|
@ -1,61 +0,0 @@
|
||||||
name: Deploy poweron-preprocessing
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [main]
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Set up Python
|
|
||||||
uses: actions/setup-python@v5
|
|
||||||
with:
|
|
||||||
python-version: "3.13"
|
|
||||||
|
|
||||||
- name: Install uv
|
|
||||||
uses: https://github.com/astral-sh/setup-uv@v5
|
|
||||||
|
|
||||||
- name: Upload artifact for deployment jobs
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: python-app
|
|
||||||
path: |
|
|
||||||
.
|
|
||||||
!venv/
|
|
||||||
!.venv/
|
|
||||||
!.git/
|
|
||||||
!.cache/
|
|
||||||
|
|
||||||
deploy:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
needs: build
|
|
||||||
permissions:
|
|
||||||
id-token: write
|
|
||||||
contents: read
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Download artifact from build job
|
|
||||||
uses: actions/download-artifact@v4
|
|
||||||
with:
|
|
||||||
name: python-app
|
|
||||||
|
|
||||||
- name: Login to Azure (OIDC)
|
|
||||||
uses: https://github.com/Azure/login@v2
|
|
||||||
with:
|
|
||||||
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_AA4B9998A69E4C5C8FDF357E3FEAADD5 }}
|
|
||||||
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_CC57AD1F29D44DDA960AE3EAC6D2C27A }}
|
|
||||||
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_4CD1D97C506D403E8E284466DB4E7898 }}
|
|
||||||
|
|
||||||
- name: Deploy to Azure Web App
|
|
||||||
uses: https://github.com/Azure/webapps-deploy@v3
|
|
||||||
with:
|
|
||||||
app-name: "poweron-preprocessing"
|
|
||||||
slot-name: "Production"
|
|
||||||
package: .
|
|
||||||
Loading…
Reference in a new issue