overprovision #11
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
name: integration-tests | |
on: | |
push: | |
#branches: [main,next,next2next] | |
pull_request: | |
jobs: | |
build: | |
name: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Maximize build disk space | |
uses: easimon/maximize-build-space@v10 | |
with: | |
root-reserve-mb: 50000 # Reserve 30 GBs for docker cache on / location | |
overprovision-lvm: true | |
remove-dotnet: true | |
remove-android: true | |
remove-haskell: true | |
remove-codeql: true | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Get Repo Owner | |
id: get_repo_owner | |
run: echo name=repo_owner::$(echo ${{ github.repository_owner }} | tr '[:upper:]' '[:lower:]') >> $GITHUB_OUTPUT | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.DOCKER_TOKEN }} | |
# - name: Log in to registry | |
# run: echo "${{ secrets.DOCKER_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin | |
# - name: Delete huge unnecessary tools folder and large packages | |
# run: | | |
# rm -rf /opt/hostedtoolcache && | |
# curl -fsSL https://raw.githubusercontent.com/apache/flink/02d30ace69dc18555a5085eccf70ee884e73a16e/tools/azure-pipelines/free_disk_space.sh | bash | |
- name: Integration Test | |
uses: dagger/dagger-for-github@v6 | |
with: | |
workdir: ci | |
verb: call | |
args: build-container --context=.. --dockerfile=../env-files/torch/Dockerfile publish | |
cloud-token: ${{ secrets.DAGGER_CLOUD_TOKEN }} | |
version: "latest" |