Yuki Takei 4 лет назад
Родитель
Сommit
55c4f0a371
2 измененных файлов с 19 добавлено и 2 удалено
  1. 10 2
      .github/workflows/ci-app-prod.yml
  2. 9 0
      .github/workflows/reusable-app-prod.yml

+ 10 - 2
.github/workflows/ci-app-prod.yml

@@ -6,15 +6,23 @@ on:
 
 
 jobs:
 jobs:
 
 
-  build-prod-base:
+  test-suit-base:
     uses: weseek/growi/.github/workflows/reusable-app-prod.yml@support/vrt-with-cypress
     uses: weseek/growi/.github/workflows/reusable-app-prod.yml@support/vrt-with-cypress
     with:
     with:
       node-version: 14.x
       node-version: 14.x
       checkout-ref: ${{ github.event.pull_request.head.ref }}
       checkout-ref: ${{ github.event.pull_request.head.ref }}
       skip-launching-test: true
       skip-launching-test: true
+      REG_NOTIFY_GITHUB_PLUGIN_CLIENTID: ${{ secrets.REG_NOTIFY_GITHUB_PLUGIN_CLIENTID }}
+      AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
+      AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
+      SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
 
 
-  build-prod-head:
+  test-suit-head:
     uses: weseek/growi/.github/workflows/reusable-app-prod.yml@support/vrt-with-cypress
     uses: weseek/growi/.github/workflows/reusable-app-prod.yml@support/vrt-with-cypress
     with:
     with:
       node-version: 14.x
       node-version: 14.x
       checkout-ref: ${{ github.event.pull_request.head.ref }}
       checkout-ref: ${{ github.event.pull_request.head.ref }}
+      REG_NOTIFY_GITHUB_PLUGIN_CLIENTID: ${{ secrets.REG_NOTIFY_GITHUB_PLUGIN_CLIENTID }}
+      AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
+      AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
+      SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

+ 9 - 0
.github/workflows/reusable-app-prod.yml

@@ -11,6 +11,15 @@ on:
         default: ${{ github.head_ref }}
         default: ${{ github.head_ref }}
       skip-launching-test:
       skip-launching-test:
         type: boolean
         type: boolean
+    secrets:
+      REG_NOTIFY_GITHUB_PLUGIN_CLIENTID:
+        required: true
+      AWS_ACCESS_KEY_ID:
+        required: true
+      AWS_SECRET_ACCESS_KEY:
+        required: true
+      SLACK_WEBHOOK_URL:
+        required: true
 
 
 jobs:
 jobs: