-
Notifications
You must be signed in to change notification settings - Fork 2
36 lines (36 loc) · 1.06 KB
/
deploy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Deploy modules
on:
push:
branches:
- ghactions
jobs:
build-modules:
runs-on: ubuntu-latest
environment: trial-572dca111144a5196a6b1
env:
CDF_CLUSTER: ${{ secrets.CDF_CLUSTER }}
CDF_PROJECT: ${{ secrets.CDF_PROJECT }}
IDP_CLIENT_ID: ${{ secrets.IDP_CLIENT_ID }}
IDP_CLIENT_SECRET: ${{ secrets.IDP_CLIENT_SECRET }}
IDP_TOKEN_URL: ${{ secrets.IDP_TOKEN_URL }}
IDP_SCOPES: ${{ secrets.IDP_SCOPES }}
IDP_AUDIENCE: ${{ secrets.IDP_AUDIENCE }}
CDF_URL: ${{ secrets.CDF_URL }}
name: Loadmaster
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.9
- uses: snok/install-poetry@v1
with:
version: 1.6.1
virtualenvs-create: false
- name: Install dependencies
run: poetry install
- name: "Build the package"
run: |
poetry run python build.py --package
- name: "Deploy the package"
run: |
poetry run python deploy.py --package