diff --git a/.github/workflows/build-vm-images.yml b/.github/workflows/build-vm-images.yml deleted file mode 100644 index dba4856..0000000 --- a/.github/workflows/build-vm-images.yml +++ /dev/null @@ -1,73 +0,0 @@ -name: Build VM Images - -on: workflow_dispatch - -env: - OUTPUT_IMAGE_PATH: /tmp/ubuntu-nvidia - ELEMENTS_PATH: /home/runnerx/actions-runner/_work/nvidia-openstack-image/nvidia-openstack-image/elements/ - # Workaround for upload-cloud-storage to work - OPENSSL_CONF: /dev/null - - -jobs: - build: - runs-on: "cirun-runner--${{ github.run_id }}" - - steps: - - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - - id: 'auth' - name: 'Authenticate to Google Cloud' - uses: google-github-actions/auth@7c6bc770dae815cd3e89ee6cdf493a5fab2cc093 # v3.0.0 - with: - credentials_json: '${{ secrets.GOOGLE_CREDENTIALS }}' - - - name: Setup Node.js environment - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0 - with: - node-version: 16 - - - name: Check NVIDIA SMI - run: nvidia-smi || true - - - name: Setup Miniconda - uses: conda-incubator/setup-miniconda@835234971496cad1653abb28a638a281cf32541f # v3.2.0 - with: - python-version: "3.10" - miniconda-version: "latest" - env: - CONDA: "/home/runnerx/miniconda3" - - name: Set output image path - run: | - cat .env >> $GITHUB_ENV - - - name: Create output image name - id: output-image - run: | - timestamp=$(date +%s) - output_image_name=nvidia-openstack-image-$timestamp - echo "OUTPUT_IMAGE=/tmp/output-image/$output_image_name" >> $GITHUB_ENV - echo "OUTPUT_IMAGE_NAME=$output_image_name" >> $GITHUB_OUTPUT - - - name: Add hostname to /etc/hosts - run: echo $(hostname -I | cut -d\ -f1) $(hostname) | sudo tee -a /etc/hosts - - - name: Install dependencies - shell: bash -el {0} - run: | - sudo apt update - sudo apt upgrade -y - sudo apt install qemu-utils python3-pip curl sudo -y - pip install -r requirements.txt - - - name: Run disk image builder - shell: bash -el {0} - run: | - echo "OUTPUT_IMAGE: $OUTPUT_IMAGE_NAME" - bash vm-images/build-image.sh - - - id: 'upload-file' - name: Upload built disk image to GCS - uses: google-github-actions/upload-cloud-storage@6397bd7208e18d13ba2619ee21b9873edc94427a # v3.0.0 - with: - path: '/tmp/output-image/${{ steps.output-image.outputs.OUTPUT_IMAGE_NAME}}.qcow2' - destination: 'cirun/images/' diff --git a/README.md b/README.md index e10e571..0beb2a3 100644 --- a/README.md +++ b/README.md @@ -41,8 +41,6 @@ The server can spin up VMs with the following configurations: | `gpu_2xlarge` | 8 | 32GB | 80GB | 1x NVIDIA Tesla V100 | | `gpu_4xlarge` | 8 | 64GB | 100GB | 1x NVIDIA Tesla V100 | -These runners use the `ubuntu-2204-nvidia-20230914` image. - ### CPU runners | Name | vCPUs | RAM | Disk | @@ -53,11 +51,9 @@ These runners use the `ubuntu-2204-nvidia-20230914` image. | `ci_2xlarge` | 8 | 32GB | 80GB | | `ci_4xlarge` | 8 | 64GB | 100GB | -These runners use the `ubuntu-2204-20231018` image. - ### Software -These runners run ISOs derived from Ubuntu 22.04. Images are built with the instructions provided in the [`images`](./images) folder. +See [`vm-images`](./vm-images) folder for details. ## Limitations