blob: 9840e35062aac7279754c42d7565ef2f67de2ac3 [file] [log] [blame]
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: OAP-E2E
on:
pull_request:
schedule:
- cron: '0 18 * * *'
env:
SW_AGENT_JDK_VERSION: 8
concurrency:
group: e2e-storages-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
StoragePlugins:
if: (github.event_name == 'schedule' && github.repository == 'apache/skywalking-banyandb') || (github.event_name != 'schedule')
name: Storage E2E
runs-on: ubuntu-latest
timeout-minutes: 90
strategy:
fail-fast: false
matrix:
test:
- name: BanyanDB
config: test/e2e-v2/cases/storage/banyandb/e2e.yaml
- name: Trace Profiling BanyanDB
config: test/e2e-v2/cases/profiling/trace/banyandb/e2e.yaml
- name: eBPF Profiling BanyanDB
config: test/e2e-v2/cases/profiling/ebpf/banyandb/e2e.yaml
- name: Event BanyanDB
config: test/e2e-v2/cases/event/banyandb/e2e.yaml
env:
TAG: ${{ github.sha }}
steps:
- uses: actions/setup-node@v3
with:
node-version: 16.15
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.19
- name: Check out code into the Go module directory
uses: actions/checkout@v2
with:
submodules: true
- name: Update dependencies
run: GOPROXY=https://proxy.golang.org go mod download
- name: Generate codes
run: make generate
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Build docker image
run: |
make docker || make docker
docker image ls
- name: ${{ matrix.test.name }}
uses: apache/skywalking-infra-e2e@1e522c30ea4467d34dcfe34f14829a7b990932ea
with:
e2e-file: $GITHUB_WORKSPACE/${{ matrix.test.config }}
Storage:
if: (github.event_name == 'schedule' && github.repository == 'apache/skywalking-banyandb') || (github.event_name != 'schedule')
runs-on: ubuntu-latest
timeout-minutes: 90
needs: [StoragePlugins]
steps:
- name: To pass or not pass
run: echo "Just to make the GitHub merge button green"