Skip to content

Bump distro/tool to 0.20230120 #8014

Bump distro/tool to 0.20230120

Bump distro/tool to 0.20230120 #8014

name: Examples-teal-x86_64
on:
pull_request:
paths:
- conf/**
- packages/**
- make/**
- .github/**
- Makefile
- tests/**
- examples/**
push:
branches:
- main
concurrency:
group: ci-Examples-teal-x86_64-${{ github.head_ref || github.ref }}-${{ github.repository }}
cancel-in-progress: true
jobs:
docker-build-example-cos-official:
runs-on: ubuntu-latest
steps:
- name: Release space from worker ♻
if: always()
run: |
du -hcs /var/lib/snapd/snaps/*
# from https://github.com/apache/flink/blob/master/tools/azure-pipelines/free_disk_space.sh
df -h
sudo apt-get remove -y '^dotnet-.*' || true
sudo apt-get remove -y '^llvm-.*' || true
sudo apt-get remove -y 'php.*' || true
sudo apt-get remove -y '^mongodb-.*' || true
sudo apt-get remove -y '^mysql-.*' || true
sudo apt-get remove -y '^temurin-.*' || true
sudo apt-get remove -y azure-cli google-cloud-sdk microsoft-edge-stable google-chrome-stable firefox powershell mono-devel libgl1-mesa-dri || true
sudo apt-get autoremove -y
sudo apt-get clean
# https://github.com/actions/virtual-environments/issues/2840
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 rm -rf /opt/ghc # removes haskell
sudo rm -rf "$AGENT_TOOLSDIRECTORY" # removes all pre-cached tools (node, go, python, ruby) to free around 6Gb
sudo rm -rf /usr/local/graalvm/
sudo rm -rf /usr/local/.ghcup/
sudo rm -rf /usr/local/share/powershell
sudo rm -rf /usr/local/share/chromium
sudo rm -rf /usr/local/lib/node_modules
df -h
- uses: actions/checkout@v3
- run: |
git fetch --prune --unshallow
- name: Install CI plugins
run: |
sudo cp -rfv .github/plugins/* /usr/bin/
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: '1.18.8'
- name: Run make deps_ci
run: |
export DOCKER_INSTALL=true
sudo -E make deps_ci
- name: Build cos-official 🔧
shell: 'script -q -e -c "bash {0}"'
run: |
cd examples/cos-official
docker build . -t cos-official:latest
- name: Dump cos-official image
shell: 'script -q -e -c "bash {0}"'
run: |
docker save cos-official:latest -o cos-official.tar
- uses: actions/upload-artifact@v3
with:
name: cos-official.tar
path: |
cos-official.tar
docker-build-example-scratch:
runs-on: ubuntu-latest
steps:
- name: Release space from worker ♻
if: always()
run: |
du -hcs /var/lib/snapd/snaps/*
# from https://github.com/apache/flink/blob/master/tools/azure-pipelines/free_disk_space.sh
df -h
sudo apt-get remove -y '^dotnet-.*' || true
sudo apt-get remove -y '^llvm-.*' || true
sudo apt-get remove -y 'php.*' || true
sudo apt-get remove -y '^mongodb-.*' || true
sudo apt-get remove -y '^mysql-.*' || true
sudo apt-get remove -y '^temurin-.*' || true
sudo apt-get remove -y azure-cli google-cloud-sdk microsoft-edge-stable google-chrome-stable firefox powershell mono-devel libgl1-mesa-dri || true
sudo apt-get autoremove -y
sudo apt-get clean
# https://github.com/actions/virtual-environments/issues/2840
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 rm -rf /opt/ghc # removes haskell
sudo rm -rf "$AGENT_TOOLSDIRECTORY" # removes all pre-cached tools (node, go, python, ruby) to free around 6Gb
sudo rm -rf /usr/local/graalvm/
sudo rm -rf /usr/local/.ghcup/
sudo rm -rf /usr/local/share/powershell
sudo rm -rf /usr/local/share/chromium
sudo rm -rf /usr/local/lib/node_modules
df -h
- uses: actions/checkout@v3
- run: |
git fetch --prune --unshallow
- name: Install CI plugins
run: |
sudo cp -rfv .github/plugins/* /usr/bin/
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: '1.18.8'
- name: Run make deps_ci
run: |
export DOCKER_INSTALL=true
sudo -E make deps_ci
- name: Build scratch 🔧
shell: 'script -q -e -c "bash {0}"'
run: |
cd examples/scratch
docker build . -t scratch:latest
- name: Dump scratch image
shell: 'script -q -e -c "bash {0}"'
run: |
docker save scratch:latest -o scratch.tar
- uses: actions/upload-artifact@v3
with:
name: scratch.tar
path: |
scratch.tar
docker-build-example-standard:
runs-on: ubuntu-latest
steps:
- name: Release space from worker ♻
if: always()
run: |
du -hcs /var/lib/snapd/snaps/*
# from https://github.com/apache/flink/blob/master/tools/azure-pipelines/free_disk_space.sh
df -h
sudo apt-get remove -y '^dotnet-.*' || true
sudo apt-get remove -y '^llvm-.*' || true
sudo apt-get remove -y 'php.*' || true
sudo apt-get remove -y '^mongodb-.*' || true
sudo apt-get remove -y '^mysql-.*' || true
sudo apt-get remove -y '^temurin-.*' || true
sudo apt-get remove -y azure-cli google-cloud-sdk microsoft-edge-stable google-chrome-stable firefox powershell mono-devel libgl1-mesa-dri || true
sudo apt-get autoremove -y
sudo apt-get clean
# https://github.com/actions/virtual-environments/issues/2840
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 rm -rf /opt/ghc # removes haskell
sudo rm -rf "$AGENT_TOOLSDIRECTORY" # removes all pre-cached tools (node, go, python, ruby) to free around 6Gb
sudo rm -rf /usr/local/graalvm/
sudo rm -rf /usr/local/.ghcup/
sudo rm -rf /usr/local/share/powershell
sudo rm -rf /usr/local/share/chromium
sudo rm -rf /usr/local/lib/node_modules
df -h
- uses: actions/checkout@v3
- run: |
git fetch --prune --unshallow
- name: Install CI plugins
run: |
sudo cp -rfv .github/plugins/* /usr/bin/
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: '1.18.8'
- name: Run make deps_ci
run: |
export DOCKER_INSTALL=true
sudo -E make deps_ci
- name: Build standard 🔧
shell: 'script -q -e -c "bash {0}"'
run: |
cd examples/standard
docker build . -t standard:latest
- name: Dump standard image
shell: 'script -q -e -c "bash {0}"'
run: |
docker save standard:latest -o standard.tar
- uses: actions/upload-artifact@v3
with:
name: standard.tar
path: |
standard.tar