Skip to content

Add jdaviz to TIKEs' tess environment #18

Add jdaviz to TIKEs' tess environment

Add jdaviz to TIKEs' tess environment #18

Workflow file for this run

name: Build Frozen
on:
pull_request:
branches:
- main
workflow_dispatch:
jobs:
docker:
name: "${{ matrix.DEPLOYMENT_NAME }} -- Frozen Build"
runs-on: ubuntu-22.04
strategy:
max-parallel: 3
fail-fast: false
matrix:
DEPLOYMENT_NAME: [ tike, jwebbinar, roman ]
USE_FROZEN: [ frozen ]
FREEZE: [ 1 ]
OWNER: [ quay.io/jupyter ]
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Free Disk Space, Enlarge Swapfile
shell: bash
run: |
df -h
sudo apt clean
docker rmi $(docker image ls -aq)
docker container prune -f
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
sudo rm -rf /usr/local/lib/android # will release about 10 GB if you don't need Android
sudo rm -rf /usr/share/dotnet # will release about 20GB if you don't need .NET
sudo swapoff -a
sudo rm -f /swapfile
sudo fallocate -l 24G /swapfile
sudo chmod 0600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
cat /proc/meminfo
df -h
- name: Set Up Environment
shell: bash
run: |
scripts/image-configure ${{ matrix.DEPLOYMENT_NAME }} --use-frozen ${{ matrix.USE_FROZEN }} --freeze ${{ matrix.FREEZE }} --owner ${{ matrix.OWNER }}
df -h
- name: Image Build
shell: bash
run: |
echo "Running on branch ${{ github.head_ref }}"
source setup-env
scripts/image-build
df -h
docker system df
docker system prune
docker image ls
df -h
- name: Image Functional Tests
shell: bash
run: |
echo "Running on branch ${{ github.head_ref }}"
df -h
source setup-env
scripts/image-test
df -h
- name: Git Diffs (Frozen Specs)
shell: bash
run: |
echo "Running on branch ${{ github.head_ref }}"
git diff || true
- name: Clear setup-env
shell: bash
run: |
rm setup-env
# - name: Commit & Push
# uses: actions-js/push@master
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# author_email: [email protected]
# author_name: Mr. Freeze
# message: Automatic requirements update
# branch: update-frozen-${{ matrix.DEPLOYMENT_NAME }}
# directory: deployments/${{ matrix.DEPLOYMENT_NAME }}/image/env-frozen
# force: true
# tags: false