kezhenxu94 commented on a change in pull request #6190: URL: https://github.com/apache/dolphinscheduler/pull/6190#discussion_r733271694
########## File path: .github/workflows/ci_k8s.yml ########## @@ -0,0 +1,126 @@ +# +# 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: k8s Test + +on: + push: + paths: + - '.github/workflows/ci_k8s.yml' + - 'dolphinscheduler/docker/kubernetes/**' + pull_request: + paths: + - '.github/workflows/ci_k8s.yml' + - 'dolphinscheduler/docker/kubernetes/**' + +env: + DOCKER_DIR: ./docker + LOG_DIR: /tmp/dolphinscheduler + +jobs: + + build: + name: Build + runs-on: ubuntu-latest # runs-on 是必填字段 + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Check License Header + uses: apache/skywalking-eyes@ec88b7d850018c8983f87729ea88549e100c5c82 + + - name: Set up Helm + uses: azure/setup-helm@v1 + + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: 3.7 + + - name: Fetch history Review comment: Why we need the git history? ########## File path: .github/workflows/ci_k8s.yml ########## @@ -0,0 +1,126 @@ +# +# 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: k8s Test + +on: + push: + paths: + - '.github/workflows/ci_k8s.yml' + - 'dolphinscheduler/docker/kubernetes/**' + pull_request: + paths: + - '.github/workflows/ci_k8s.yml' + - 'dolphinscheduler/docker/kubernetes/**' + +env: + DOCKER_DIR: ./docker + LOG_DIR: /tmp/dolphinscheduler + +jobs: + + build: + name: Build + runs-on: ubuntu-latest # runs-on 是必填字段 + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Check License Header + uses: apache/skywalking-eyes@ec88b7d850018c8983f87729ea88549e100c5c82 + + - name: Set up Helm + uses: azure/setup-helm@v1 + + - name: Set up Python Review comment: Why we need Python? ########## File path: .github/workflows/ci_k8s.yml ########## @@ -0,0 +1,126 @@ +# +# 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: k8s Test + +on: + push: + paths: + - '.github/workflows/ci_k8s.yml' + - 'dolphinscheduler/docker/kubernetes/**' + pull_request: + paths: + - '.github/workflows/ci_k8s.yml' + - 'dolphinscheduler/docker/kubernetes/**' + +env: + DOCKER_DIR: ./docker + LOG_DIR: /tmp/dolphinscheduler + +jobs: + + build: + name: Build + runs-on: ubuntu-latest # runs-on 是必填字段 Review comment: ```suggestion runs-on: ubuntu-latest ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
