|
1 |
| -# This is a basic workflow to help you get started with Actions |
| 1 | +# # This is a basic workflow to help you get started with Actions |
2 | 2 |
|
3 |
| -name: algoTest |
| 3 | +# name: algoTest |
4 | 4 |
|
5 |
| -# Controls when the action will run. |
6 |
| -on: |
7 |
| - # Allows you to run this workflow manually from the Actions tab |
8 |
| - workflow_dispatch: |
9 |
| - # schedule: |
10 |
| - # - cron: '00 23 * * 0-4' |
11 |
| -# A workflow run is made up of one or more jobs that can run sequentially or in parallel |
12 |
| -jobs: |
| 5 | +# # Controls when the action will run. |
| 6 | +# on: |
| 7 | +# # Allows you to run this workflow manually from the Actions tab |
| 8 | +# workflow_dispatch: |
| 9 | +# # schedule: |
| 10 | +# # - cron: '00 23 * * 0-4' |
| 11 | +# # A workflow run is made up of one or more jobs that can run sequentially or in parallel |
| 12 | +# jobs: |
13 | 13 |
|
14 |
| - algorithmTest: |
15 |
| - runs-on: ubuntu-latest |
16 |
| - if: ${{ always() }} |
17 |
| - steps: |
18 |
| - - uses: actions/checkout@v2 |
19 |
| - - run: npm ci |
20 |
| - - name: create kubeconfig |
21 |
| - run: | |
22 |
| - echo "$KUBE_CONFIG_DATA" | base64 --decode > /tmp/config |
23 |
| - echo KUBECONFIG=/tmp/config >> $GITHUB_ENV |
24 |
| - env: |
25 |
| - KUBE_CONFIG_DATA: ${{ secrets.TEST_KUBECONFIG }} |
26 |
| - - name: test |
27 |
| - run: | |
28 |
| - echo "$KUBE_CONFIG_DATA" | base64 --decode > /tmp/config |
29 |
| - echo KUBECONFIG=/tmp/config >> $GITHUB_ENV |
30 |
| - npm run algorithmtest |
31 |
| - env: |
32 |
| - BASE_URL: https://${{ secrets.TEST_KUBERNETES_MASTER_IP }} |
33 |
| - WEBHOOK_URL: ${{ secrets.WEBHOOK_MASTER_URL }} |
34 |
| - KUBE_CONFIG_DATA: ${{ secrets.TEST_KUBECONFIG }} |
35 |
| - K8S_VERSION: 1.13 |
36 |
| - K8S_CONFIG_PATH: /tmp/config |
| 14 | +# algorithmTest: |
| 15 | +# runs-on: ubuntu-latest |
| 16 | +# if: ${{ always() }} |
| 17 | +# steps: |
| 18 | +# - uses: actions/checkout@v2 |
| 19 | +# - run: npm ci |
| 20 | +# - name: create kubeconfig |
| 21 | +# run: | |
| 22 | +# echo "$KUBE_CONFIG_DATA" | base64 --decode > /tmp/config |
| 23 | +# echo KUBECONFIG=/tmp/config >> $GITHUB_ENV |
| 24 | +# env: |
| 25 | +# KUBE_CONFIG_DATA: ${{ secrets.TEST_KUBECONFIG }} |
| 26 | +# - name: test |
| 27 | +# run: | |
| 28 | +# echo "$KUBE_CONFIG_DATA" | base64 --decode > /tmp/config |
| 29 | +# echo KUBECONFIG=/tmp/config >> $GITHUB_ENV |
| 30 | +# npm run algorithmtest |
| 31 | +# env: |
| 32 | +# BASE_URL: https://${{ secrets.TEST_KUBERNETES_MASTER_IP }} |
| 33 | +# WEBHOOK_URL: ${{ secrets.WEBHOOK_MASTER_URL }} |
| 34 | +# KUBE_CONFIG_DATA: ${{ secrets.TEST_KUBECONFIG }} |
| 35 | +# K8S_VERSION: 1.13 |
| 36 | +# K8S_CONFIG_PATH: /tmp/config |
37 | 37 |
|
0 commit comments