Add support for Experiment tracking in Model Registry, fixes #1224 (#… #2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test async-upload Job | |
| on: | |
| push: | |
| branches: | |
| - "main" | |
| paths-ignore: | |
| - "LICENSE*" | |
| - "**.gitignore" | |
| - "**.md" | |
| - "**.txt" | |
| - ".github/ISSUE_TEMPLATE/**" | |
| - ".github/dependabot.yml" | |
| - "docs/**" | |
| pull_request: | |
| paths: | |
| - "jobs/async-upload/**" | |
| - ".github/workflows/**" | |
| env: | |
| # Async Job | |
| JOB_IMG_REGISTRY: ghcr.io | |
| JOB_IMG_ORG: kubeflow | |
| JOB_IMG_NAME: model-registry/job/async-upload | |
| JOB_IMG_VERSION: cicd | |
| # MR Server | |
| IMG_REGISTRY: ghcr.io | |
| IMG_ORG: kubeflow | |
| IMG_REPO: model-registry/server | |
| IMG_VERSION: cicd | |
| PUSH_IMAGE: false | |
| jobs: | |
| py-test: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: jobs/async-upload | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.10" # refers to the Container image | |
| - name: Install Poetry | |
| run: | | |
| pipx install poetry | |
| - name: Install dependencies | |
| run: | | |
| make install | |
| - name: Run tests | |
| run: | | |
| make test | |
| - name: Remove AppArmor profile for mysql in KinD on GHA # https://github.com/kubeflow/manifests/issues/2507 | |
| run: | | |
| set -x | |
| sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld | |
| - name: Run E2E tests | |
| run: | | |
| make test-e2e | |
| job-test: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: jobs/async-upload | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.10" # refers to the Container image | |
| - name: Install Poetry | |
| run: | | |
| pipx install poetry | |
| - name: Remove AppArmor profile for mysql in KinD on GHA # https://github.com/kubeflow/manifests/issues/2507 | |
| run: | | |
| set -x | |
| sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld | |
| - name: Execute Sample Job E2E test | |
| run: | | |
| make test-integration |