Skip to content

Commit

Permalink
CI workflow maintenance (#484)
Browse files Browse the repository at this point in the history
  • Loading branch information
scottyhq authored Sep 18, 2023
1 parent f6c380c commit d54c6e7
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 28 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/Binder.yml

This file was deleted.

2 changes: 0 additions & 2 deletions .github/workflows/BinderPR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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!
4 changes: 2 additions & 2 deletions .github/workflows/CondaLock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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...
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/Test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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: |
Expand Down

0 comments on commit d54c6e7

Please sign in to comment.