2021-01-16 02:13:36 +08:00
|
|
|
name: virtual-env
|
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
schedule:
|
2021-11-16 14:19:27 +08:00
|
|
|
- cron: '0 10 * * *'
|
2021-01-16 02:13:36 +08:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
os:
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
os:
|
|
|
|
- ubuntu-latest
|
|
|
|
- ubuntu-20.04
|
|
|
|
- ubuntu-18.04
|
|
|
|
steps:
|
2021-12-03 02:45:34 +08:00
|
|
|
-
|
|
|
|
name: File system
|
|
|
|
run: df -ah
|
2022-03-19 17:44:24 +08:00
|
|
|
-
|
|
|
|
name: Mounts
|
|
|
|
run: mount
|
|
|
|
-
|
|
|
|
name: Node info
|
|
|
|
run: node -p process
|
|
|
|
-
|
|
|
|
name: NPM version
|
|
|
|
run: npm version
|
2021-02-16 03:39:15 +08:00
|
|
|
-
|
|
|
|
name: List install packages
|
|
|
|
run: apt list --installed
|
2022-03-19 17:44:24 +08:00
|
|
|
-
|
|
|
|
name: Docker daemon conf
|
|
|
|
run: |
|
|
|
|
cat /etc/docker/daemon.json
|
2021-01-16 02:13:36 +08:00
|
|
|
-
|
|
|
|
name: Docker info
|
|
|
|
run: docker info
|
|
|
|
-
|
2021-02-16 03:39:15 +08:00
|
|
|
name: Docker version
|
|
|
|
run: docker version
|
2022-03-19 17:44:24 +08:00
|
|
|
-
|
|
|
|
name: Cgroups
|
|
|
|
run: |
|
|
|
|
sudo apt-get install -y cgroup-tools
|
|
|
|
lscgroup
|
2021-02-16 03:39:15 +08:00
|
|
|
-
|
|
|
|
name: buildx version
|
2021-01-16 02:13:36 +08:00
|
|
|
run: docker buildx version
|
|
|
|
-
|
|
|
|
name: containerd version
|
|
|
|
run: containerd --version
|
2021-11-10 19:04:28 +08:00
|
|
|
-
|
|
|
|
name: Docker images
|
|
|
|
run: docker image ls
|
2021-01-16 02:13:36 +08:00
|
|
|
-
|
|
|
|
name: Dump context
|
|
|
|
if: always()
|
|
|
|
uses: crazy-max/ghaction-dump-context@v1
|