remove tf tests #79
Workflow file for this run
This file contains 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
# -------------------------------------------------------------------------------------- | |
# Part of the interTwin Project: https://www.intertwin.eu/ | |
# | |
# Created by: Matteo Bunino | |
# | |
# Credit: | |
# - Matteo Bunino <[email protected]> - CERN | |
# -------------------------------------------------------------------------------------- | |
name: Container CI | |
on: | |
push: | |
# branches: [main] | |
# If not triggered on push, but on PR, the commit hash is a bit weird | |
# pull_request: | |
release: | |
types: [created] | |
jobs: | |
integration-test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
config: | |
# Note: in the tag template we replace '$' with '@' as otherwise the GH action will | |
# try to interpolate the values, breaking the template | |
- base-img-name: "nvcr.io/nvidia/pytorch:24.05-py3" | |
dockerfile: "../env-files/torch/Dockerfile" | |
flavour-name: "torch" | |
tag-template: "@{itwinai_version}-torch@{framework_version}-@{os_version}" | |
skip-hpc: true | |
- base-img-name: "python:3.10-slim" | |
dockerfile: "../env-files/torch/slim.Dockerfile" | |
flavour-name: "torch-slim" | |
tag-template: "@{itwinai_version}-slim-torch@{framework_version}-@{os_version}" | |
skip-hpc: true | |
- base-img-name: "jupyter/scipy-notebook:python-3.10.11" | |
dockerfile: "../env-files/torch/jupyter/slim.Dockerfile" | |
flavour-name: "jlab-slim" | |
tag-template: "jlab-slim-@{itwinai_version}-torch@{framework_version}-@{os_version}" | |
skip-hpc: true | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Build and Test with Custom Action | |
uses: ./.github/actions/build-container | |
with: | |
base-img-name: ${{ matrix.config.base-img-name }} | |
dockerfile: ${{ matrix.config.dockerfile }} | |
flavour-name: ${{ matrix.config.flavour-name }} | |
tag-template: ${{ matrix.config.tag-template }} | |
skip-hpc: ${{ matrix.config.skip-hpc }} | |
docker-token: ${{ secrets.DOCKER_TOKEN }} | |
dagger-cloud-token: ${{ secrets.DAGGER_CLOUD_TOKEN }} | |
kubeconfig-str: ${{ secrets.KUBECONFIG_INFN }} | |
stage: ${{ github.event_name == 'release' && github.event.action == 'created' && 'PRODUCTION' || 'DEV' }} |