From e154f417aef7ec27d8e1c5a1aa42b8085e9e29d5 Mon Sep 17 00:00:00 2001 From: Niels Bantilan Date: Fri, 8 Dec 2023 17:55:49 -0500 Subject: [PATCH 1/2] add monodocs build to ci in flytectl Signed-off-by: Niels Bantilan --- .github/workflows/monodocs_build.yml | 52 ++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 .github/workflows/monodocs_build.yml diff --git a/.github/workflows/monodocs_build.yml b/.github/workflows/monodocs_build.yml new file mode 100644 index 00000000..1ddb6e48 --- /dev/null +++ b/.github/workflows/monodocs_build.yml @@ -0,0 +1,52 @@ +name: Docs Build + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + +on: + push: + branches: + - master + pull_request: + branches: + - master +jobs: + docs: + name: Docs Build + runs-on: ubuntu-latest + steps: + - name: Fetch flytectl code + uses: actions/checkout@v4 + with: + path: "${{ github.workspace }}/flytectl" + - name: Fetch flyte code + uses: actions/checkout@v4 + with: + repository: flyteorg/flyte + path: "${{ github.workspace }}/flyte" + - uses: conda-incubator/setup-miniconda@v3 + with: + auto-update-conda: true + python-version: 3.9 + - shell: bash -el {0} + working-directory: ${{ github.workspace }}/flyte + run: | + conda install -c conda-forge conda-lock + conda-lock install -n monodocs-env monodocs-environment.lock.yaml + - shell: bash -el {0} + run: | + conda activate monodocs-env + conda info + conda list + conda config --show-sources + conda config --show + printenv | sort + - name: Build the documentation + working-directory: ${{ github.workspace }}/flyte + shell: bash -el {0} + env: + FLYTECTL_LOCAL_PATH: ${{ github.workspace }}/flytectl + run: | + conda activate monodocs-env + make docs From 5444787ca88704fbf40dfdddb6ae11bd6e23e742 Mon Sep 17 00:00:00 2001 From: Niels Bantilan Date: Mon, 11 Dec 2023 14:50:54 -0500 Subject: [PATCH 2/2] update name Signed-off-by: Niels Bantilan --- .github/workflows/monodocs_build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/monodocs_build.yml b/.github/workflows/monodocs_build.yml index 1ddb6e48..14818500 100644 --- a/.github/workflows/monodocs_build.yml +++ b/.github/workflows/monodocs_build.yml @@ -1,4 +1,4 @@ -name: Docs Build +name: Monodocs Build concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} @@ -13,7 +13,7 @@ on: - master jobs: docs: - name: Docs Build + name: Monodocs Build runs-on: ubuntu-latest steps: - name: Fetch flytectl code