blob: f733f7b4071751a0ef079fa9605c44b204e2e71b [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: SkyWalking Infra E2E
description: End-to-End Tesing framework that help to set up, verify E2E tests.
author: Apache SkyWalking
inputs:
e2e-file:
description: File path of e2e file
required: true
runs:
using: "composite"
steps:
- shell: bash
run: |
mkdir -p /tmp/skywalking-infra-e2e/bin
- shell: bash
run: |
cd "$GITHUB_ACTION_PATH"
go mod download && make linux && mv bin/linux/e2e /tmp/skywalking-infra-e2e/bin/e2e
- shell: bash
run: |
cd /tmp/skywalking-infra-e2e
git clone https://github.com/apache/skywalking-cli.git
git -C skywalking-cli reset --hard a9d05e8684098884badcd08ae4ef2cc4516c3c26
cd skywalking-cli
make build && mv bin/swctl-*-linux-amd64 ../bin/swctl
- shell: bash
run: |
export PATH="$PATH:/tmp/skywalking-infra-e2e/bin"
e2e run -c "${{ inputs.e2e-file }}"