Skip to content

Merge branch 'ghactions' of https://github.com/cognitedata/cdf-projec… #20

Merge branch 'ghactions' of https://github.com/cognitedata/cdf-projec…

Merge branch 'ghactions' of https://github.com/cognitedata/cdf-projec… #20

Workflow file for this run

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