Skip to content

Add agent and northbound api codebase. #23

Add agent and northbound api codebase.

Add agent and northbound api codebase. #23

Workflow file for this run

name: CI
on:
pull_request:
branches: ["main"]
types: [synchronize, labeled, unlabeled]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
permissions:
pull-requests: read
contents: read
jobs:
validate-files-and-commits:
name: Lint Files & commits
if: |
contains(github.event.pull_request.labels.*.name, 'ok-to-test') &&
!contains(github.event.pull_request.labels.*.name, 'skip-lint')
uses: ./.github/workflows/validate-files-and-commits.yml
secrets: inherit
build-agent-pkg:
#needs: [validate-files-and-commits, lint]
name: Build python pkg
if: |
contains(github.event.pull_request.labels.*.name, 'ok-to-test') &&
!contains(github.event.pull_request.labels.*.name, 'skip-build')
uses: ./.github/workflows/build-mlsysops-pkg.yml
secrets: inherit
build-agent-containers:
needs: [build-agent-pkg]
name: Build containers
if: |
contains(github.event.pull_request.labels.*.name, 'ok-to-test') &&
!contains(github.event.pull_request.labels.*.name, 'skip-build')
strategy:
matrix:
agent: ["node", "cluster", "continuum"]
uses: ./.github/workflows/build-containers.yml

Check failure on line 45 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. In .github/workflows/ci.yml (Line: 45, Col: 11): Error from called workflow mlsysops-eu/mlsysops-framework/.github/workflows/build-containers.yml@bc4fe8e67b5cb3bbda2f24ec46de831518a13c81 (Line: 7, Col: 9): Required property is missing: type In .github/workflows/ci.yml (Line: 45, Col: 11): Error from called workflow mlsysops-eu/mlsysops-framework/.github/workflows/build-containers.yml@bc4fe8e67b5cb3bbda2f24ec46de831518a13c81 (Line: 10, Col: 9): Required property is missing: type
secrets: inherit
with:
agent: ${{ matrix.agent }}
# lint:
# name: Lint code
# if: |
# contains(github.event.pull_request.labels.*.name, 'ok-to-test') &&
# !contains(github.event.pull_request.labels.*.name, 'skip-lint')
# uses: ./.github/workflows/lint.yml
# secrets: inherit
# build:
# #needs: [validate-files-and-commits, lint]
# name: Build
# if: |
# contains(github.event.pull_request.labels.*.name, 'ok-to-test') &&
# !contains(github.event.pull_request.labels.*.name, 'skip-build')
# uses: ./.github/workflows/build.yml
# secrets: inherit
#
# unit_test:
# #needs: [validate-files-and-commits, lint]
# name: Unit tests
# if: |
# contains(github.event.pull_request.labels.*.name, 'ok-to-test') &&
# !contains(github.event.pull_request.labels.*.name, 'skip-build')
# uses: ./.github/workflows/unit_test.yml
# secrets: inherit
#
# #FIXME: run for arm64
# vm_test:
# needs: [build,unit_test]
# name: E2E test
# if: |
# contains(github.event.pull_request.labels.*.name, 'ok-to-test') &&
# !contains(github.event.pull_request.labels.*.name, 'skip-build')
# uses: ./.github/workflows/vm_test.yml
# secrets: inherit
#