istio-mixer-ci.yaml 1.5 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
# 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: istio-mixer-ci

19
on: [pull_request]
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
env:
  SCRIPTS_DIR: ./test/scripts
  LOG_DIR: /tmp/skywalking
jobs:
  build:
    runs-on: ubuntu-16.04
    steps:
      - uses: actions/checkout@v1
      - name: Prepare enviroment
        run: |
          bash ./test/scripts/pre.sh
          mkdir -p ${LOG_DIR}
      - name: Start minikube
        run: bash ${SCRIPTS_DIR}/minikube.sh start > ${LOG_DIR}/minikube-start-log.txt 2>&1 &
      - name: Wating minikube ready
        run: bash ${SCRIPTS_DIR}/minikube.sh wait
      - name: Setup tunnel
        run: minikube tunnel --log_dir=${LOG_DIR} &
      - uses: actions/upload-artifact@v1.0.0
        with:
          name: logs
          path: /tmp/skywalking