diff --git a/.github/workflows/Binder.yml b/.github/workflows/Binder.yml deleted file mode 100644 index f35c80fa..00000000 --- a/.github/workflows/Binder.yml +++ /dev/null @@ -1,19 +0,0 @@ -# Trigger build on mybinder.org for faster startup -# https://github.com/jupyterhub/repo2docker-action#cache-builds-on-mybinderorg -name: Binder -on: [push] - -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true - -jobs: - # NOTE: look into doing this for pangeo-binders too! - Create-MyBinderOrg-Cache: - runs-on: ubuntu-latest - steps: - - name: cache binder build on mybinder.org - uses: jupyterhub/repo2docker-action@master - with: - NO_PUSH: true - MYBINDERORG_TAG: ${{ github.event.ref }} diff --git a/.github/workflows/BinderPR.yml b/.github/workflows/BinderPR.yml index 236c211f..9001ae52 100644 --- a/.github/workflows/BinderPR.yml +++ b/.github/workflows/BinderPR.yml @@ -20,5 +20,3 @@ jobs: reactions: rocket body: | [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/${{env.PR_HEAD_USERREPO}}/${{env.PR_HEAD_REF}}) :point_left: Try on Mybinder.org! - [![Binder](https://img.shields.io/static/v1.svg?logo=Jupyter&label=Pangeo+Binder&message=GCE+us-central1&color=blue)](https://binder.pangeo.io/v2/gh/${{env.PR_HEAD_USERREPO}}/${{env.PR_HEAD_REF}}) :point_left: Try on Pangeo GCP Binder! - [![Binder](https://img.shields.io/static/v1.svg?logo=Jupyter&label=Pangeo+Binder&message=AWS+us-west-2&color=orange)](https://aws-uswest2-binder.pangeo.io/v2/gh/${{env.PR_HEAD_USERREPO}}/${{env.PR_HEAD_REF}}) :point_left: Try on Pangeo AWS Binder! diff --git a/.github/workflows/CondaLock.yml b/.github/workflows/CondaLock.yml index 5540d8c3..65baf435 100644 --- a/.github/workflows/CondaLock.yml +++ b/.github/workflows/CondaLock.yml @@ -29,9 +29,9 @@ jobs: ref: ${{ github.event.client_payload.pull_request.head.ref }} - name: Install Conda environment with Micromamba - uses: mamba-org/provision-with-micromamba@v15 + uses: mamba-org/setup-micromamba@v1 with: - cache-env: true + cache-environment: true environment-file: environment-condalock.yml # Could run as single step in parallel, but would complicate logs... diff --git a/.github/workflows/Test.yml b/.github/workflows/Test.yml index 6bc6d4fe..471732d8 100644 --- a/.github/workflows/Test.yml +++ b/.github/workflows/Test.yml @@ -43,12 +43,12 @@ jobs: df -h - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 with: driver-opts: network=host - name: Build base-image - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: base-image tags: localhost:5000/pangeo/base-image:PR @@ -57,7 +57,7 @@ jobs: cache-to: type=gha,mode=max - name: Build Only - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: ${{ matrix.IMAGE }} push: true @@ -66,10 +66,13 @@ jobs: build-contexts: | pangeo/base-image:PR=docker-image://localhost:5000/pangeo/base-image:PR - - name: Report Image Size and Conda Packages + - name: List Conda Packages run: | docker run localhost:5000/${DOCKER_ORG}/${{ matrix.IMAGE }}:PR conda list --export - docker images ls + + - name: Report Image Size + run: | + docker image ls - name: Test Image run: |