Skip to content

Commit

Permalink
Merge pull request #40 from sgibson91/debugging-r2d-workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sgibson91 authored Nov 22, 2023
2 parents e105a88 + 0a1b3a2 commit 77854fa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/build-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ on:
- main
paths:
- "images/**"
pull_request:
branches:
- main
paths:
- "images/**"

# When multiple PRs triggering this workflow are merged, queue them instead
# of running them in parallel in case of clashes when pushing
Expand Down Expand Up @@ -64,8 +59,6 @@ jobs:
matrix:
jobs: ${{ fromJson(needs.generate-build-matrix.outputs.images-to-build) }}
steps:
- run: echo "${{ github.event_name == 'pull_request' }}"

# For biggish images, github actions runs out of disk space.
# So we cleanup some unwanted things in the disk image, and reclaim that space for our docker use
# https://github.com/actions/virtual-environments/issues/2606#issuecomment-772683150
Expand Down Expand Up @@ -98,11 +91,7 @@ jobs:
# Tell repo2docker which subdirectory to examine
# ref: https://repo2docker.readthedocs.io/en/latest/usage.html#cmdoption-jupyter-repo2docker-subdir
REPO2DOCKER_EXTRA_ARGS: "--subdir images/${{ matrix.jobs.image-name }}"

# If the event that triggered this workflow was a pull request, the image
# will be built but not pushed to the registry
NO_PUSH: ${{ github.event_name == 'pull_request' }}


# Lets us monitor disks getting full as images get bigger over time
- name: Show how much disk space is left
run: df -h
3 changes: 0 additions & 3 deletions images/test-image/requirements.txt

This file was deleted.

0 comments on commit 77854fa

Please sign in to comment.