8000 fix: bullseye to bookworm (#4689) · chaos-mesh/chaos-mesh@2a7d0b4 · GitHub
[go: up one dir, main page]

Skip to content

fix: bullseye to bookworm (#4689) #565

fix: bullseye to bookworm (#4689)

fix: bullseye to bookworm (#4689) #565

name: E2E Test Upload Cache
on:
workflow_dispatch: {}
push:
branches:
- master
- release-*
paths-ignore:
- .gitignore
- "**.md"
# Not available for frontend code for now.
- "ui/**"
- .github/workflows/**
- "!.github/workflows/e2e_test_upload_cache.yml"
permissions: read-all
jobs:
build-image:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: build e2e images
env:
DOCKER_CACHE: 1
DOCKER_CACHE_DIR: ${{github.workspace}}/cache
GO_BUILD_CACHE: ${{github.workspace}}/cache
DOCKER_CLI_EXPERIMENTAL: enabled
run: |
docker buildx create --use --name chaos-mesh-builder
make -j4 image e2e-image
- name: upload build cache
uses: martijnhols/actions-cache/save@main
with:
path: cache
key: e2e-image-build-cache-${{ runner.os }}
build-e2e-binary:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: build e2e binary
env:
DOCKER_CACHE: 1
DOCKER_CACHE_DIR: ${{github.workspace}}/cache
GO_BUILD_CACHE: ${{github.workspace}}/cache
run: |
make e2e-build
- name: upload build cache
uses: martijnhols/actions-cache/save@main
with:
path: cache
key: e2e-binary-build-cache-${{ runner.os }}
0