From 9b2f36eec3d189d098d3b8c2200dfe55e93992ff Mon Sep 17 00:00:00 2001 From: seungh0 Date: Sun, 25 Dec 2022 21:32:50 +0900 Subject: [PATCH 1/3] =?UTF-8?q?feat:=20=EC=9A=B4=EC=98=81=EA=B3=84=20?= =?UTF-8?q?=EB=B0=B0=EC=B9=98=20=ED=8A=B8=EB=A6=AC=EA=B1=B0=20=EC=84=A4?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/healthcheck-dev-batch.yml | 2 +- .github/workflows/healthcheck-prod-batch.yml | 33 +++++++++++++++++++ .../job-trigger-prod-push-boss-open-store.yml | 18 ++++++++++ ...b-trigger-prod-statistics-boss-service.yml | 18 ++++++++++ ...b-trigger-prod-statistics-user-service.yml | 18 ++++++++++ ...rod-validate-boss-store-feedback-count.yml | 18 ++++++++++ ...b-trigger-prod-validate-favorite-count.yml | 18 ++++++++++ ...od-validate-user-store-reviews-average.yml | 18 ++++++++++ 8 files changed, 142 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/healthcheck-prod-batch.yml create mode 100644 .github/workflows/job-trigger-prod-push-boss-open-store.yml create mode 100644 .github/workflows/job-trigger-prod-statistics-boss-service.yml create mode 100644 .github/workflows/job-trigger-prod-statistics-user-service.yml create mode 100644 .github/workflows/job-trigger-prod-validate-boss-store-feedback-count.yml create mode 100644 .github/workflows/job-trigger-prod-validate-favorite-count.yml create mode 100644 .github/workflows/job-trigger-prod-validate-user-store-reviews-average.yml diff --git a/.github/workflows/healthcheck-dev-batch.yml b/.github/workflows/healthcheck-dev-batch.yml index 92f5d33..d26acf7 100644 --- a/.github/workflows/healthcheck-dev-batch.yml +++ b/.github/workflows/healthcheck-dev-batch.yml @@ -26,7 +26,7 @@ jobs: { attachments: [{ color: 'danger', - text: `${process.env.AS_WORKFLOW}\n사장님 API 서버 Health Check가 실패하였습니다` + text: `${process.env.AS_WORKFLOW}\n배치 API Health Check가 실패하였습니다` }] } env: diff --git a/.github/workflows/healthcheck-prod-batch.yml b/.github/workflows/healthcheck-prod-batch.yml new file mode 100644 index 0000000..bcb04da --- /dev/null +++ b/.github/workflows/healthcheck-prod-batch.yml @@ -0,0 +1,33 @@ +name: "[운영] 헬스체크 - Batch" + +on: + schedule: + - cron: "*/5 * * * *" + workflow_dispatch: + +jobs: + healthcheck: + runs-on: ubuntu-latest + steps: + - name: Batch Health Check + uses: jtalk/url-health-check-action@v3 + with: + url: ${{ secrets.BASE_URI_PROD }}/batch/ping + max-attempts: 3 + retry-delay: 1s + + - name: action-slack + if: failure() + uses: 8398a7/action-slack@v3 + with: + status: custom + fields: workflow + custom_payload: | + { + attachments: [{ + color: 'danger', + text: `${process.env.AS_WORKFLOW}\n배치 API Health Check가 실패하였습니다` + }] + } + env: + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL_DEV }} diff --git a/.github/workflows/job-trigger-prod-push-boss-open-store.yml b/.github/workflows/job-trigger-prod-push-boss-open-store.yml new file mode 100644 index 0000000..68407dd --- /dev/null +++ b/.github/workflows/job-trigger-prod-push-boss-open-store.yml @@ -0,0 +1,18 @@ +name: "[개발] 잡 트리거 - 사장님 서비스 장기 영업 가게 푸시 발송" + +on: + schedule: + - cron: "0 0,12 * * *" + workflow_dispatch: + +jobs: + trigger: + runs-on: ubuntu-latest + steps: + - name: 사장님 서비스 장기 영업 가게 푸시 발송 트리거 + uses: fjogeleit/http-request-action@v1 + with: + url: ${{ secrets.BASE_URI_PROD }}/batch/job/execute/bossOpenStorePushJob + method: POST + bearerToken: ${{ secrets.BATCH_TOKEN_DEV }} + contentType: application/json diff --git a/.github/workflows/job-trigger-prod-statistics-boss-service.yml b/.github/workflows/job-trigger-prod-statistics-boss-service.yml new file mode 100644 index 0000000..c624136 --- /dev/null +++ b/.github/workflows/job-trigger-prod-statistics-boss-service.yml @@ -0,0 +1,18 @@ +name: "[운영] 잡 트리거 - 사장님 서비스 일일 통계 배치" + +on: + schedule: + - cron: "2 15 * * *" + workflow_dispatch: + +jobs: + trigger: + runs-on: ubuntu-latest + steps: + - name: 사장님 서비스 일일 통계 배치 트리거 + uses: fjogeleit/http-request-action@v1 + with: + url: ${{ secrets.BASE_URI_PROD }}/batch/job/execute/bossStatisticsJob + method: POST + bearerToken: ${{ secrets.BATCH_TOKEN_DEV }} + contentType: application/json diff --git a/.github/workflows/job-trigger-prod-statistics-user-service.yml b/.github/workflows/job-trigger-prod-statistics-user-service.yml new file mode 100644 index 0000000..826625e --- /dev/null +++ b/.github/workflows/job-trigger-prod-statistics-user-service.yml @@ -0,0 +1,18 @@ +name: "[운영] 잡 트리거 - 유저 서비스 일일 통계 배치" + +on: + schedule: + - cron: "0 15 * * *" + workflow_dispatch: + +jobs: + trigger: + runs-on: ubuntu-latest + steps: + - name: 유저 서비스 일일 통계 배치 트리거 + uses: fjogeleit/http-request-action@v1 + with: + url: ${{ secrets.BASE_URI_PROD }}/batch/job/execute/dailyStaticsJob + method: POST + bearerToken: ${{ secrets.BATCH_TOKEN_DEV }} + contentType: application/json diff --git a/.github/workflows/job-trigger-prod-validate-boss-store-feedback-count.yml b/.github/workflows/job-trigger-prod-validate-boss-store-feedback-count.yml new file mode 100644 index 0000000..a56dcb9 --- /dev/null +++ b/.github/workflows/job-trigger-prod-validate-boss-store-feedback-count.yml @@ -0,0 +1,18 @@ +name: "[운영] 잡 트리거 - 사장님 가게 피드백 카운트 갯수 검증 배치" + +on: + schedule: + - cron: "0 11 */3 * *" + workflow_dispatch: + +jobs: + trigger: + runs-on: ubuntu-latest + steps: + - name: 사장님 가게 피드백 카운트 갯수 검증 배치 트리거 + uses: fjogeleit/http-request-action@v1 + with: + url: ${{ secrets.BASE_URI_PROD }}/batch/job/execute/validateBossStoreFeedbackCountJob + method: POST + bearerToken: ${{ secrets.BATCH_TOKEN_DEV }} + contentType: application/json diff --git a/.github/workflows/job-trigger-prod-validate-favorite-count.yml b/.github/workflows/job-trigger-prod-validate-favorite-count.yml new file mode 100644 index 0000000..4e93dac --- /dev/null +++ b/.github/workflows/job-trigger-prod-validate-favorite-count.yml @@ -0,0 +1,18 @@ +name: "[운영] 잡 트리거 - 즐겨찾기 가게 카운트 갯수 검증 배치" + +on: + schedule: + - cron: "0 11 */3 * *" + workflow_dispatch: + +jobs: + trigger: + runs-on: ubuntu-latest + steps: + - name: 즐겨찾기 가게 카운트 갯수 검증 배치 트리거 + uses: fjogeleit/http-request-action@v1 + with: + url: ${{ secrets.BASE_URI_PROD }}/batch/job/execute/validationFavoriteStoresCountJob + method: POST + bearerToken: ${{ secrets.BATCH_TOKEN_DEV }} + contentType: application/json diff --git a/.github/workflows/job-trigger-prod-validate-user-store-reviews-average.yml b/.github/workflows/job-trigger-prod-validate-user-store-reviews-average.yml new file mode 100644 index 0000000..fe5f9e2 --- /dev/null +++ b/.github/workflows/job-trigger-prod-validate-user-store-reviews-average.yml @@ -0,0 +1,18 @@ +name: "[운영] 잡 트리거 - 유저 가게 평균 리뷰 점수 검증 배치" + +on: + schedule: + - cron: "0 11 */3 * *" + workflow_dispatch: + +jobs: + trigger: + runs-on: ubuntu-latest + steps: + - name: 유저 가게 평균 리뷰 점수 배치 트리거 + uses: fjogeleit/http-request-action@v1 + with: + url: ${{ secrets.BASE_URI_PROD }}/batch/job/execute/validateUserStoreAverageRatingJob + method: POST + bearerToken: ${{ secrets.BATCH_TOKEN_DEV }} + contentType: application/json From 98bbc30c9c6967b4eb73e4697e0aea75e897f582 Mon Sep 17 00:00:00 2001 From: seungh0 Date: Sun, 25 Dec 2022 22:20:25 +0900 Subject: [PATCH 2/3] =?UTF-8?q?feat:=20=EC=B9=B4=EC=9A=B4=ED=8A=B8=20?= =?UTF-8?q?=EB=B3=B4=EC=A0=95=20=EB=B0=B0=EC=B9=98=20&=20=ED=99=9C?= =?UTF-8?q?=EB=8F=99=20=EA=B8=B0=EB=B0=98=EC=9C=BC=EB=A1=9C=20=EC=82=AD?= =?UTF-8?q?=EC=A0=9C=ED=95=A0=20=EC=9C=A0=EC=A0=80=20=EA=B0=80=EA=B2=8C=20?= =?UTF-8?q?=EC=82=AD=EC=A0=9C/dry-run=20=EB=B0=B0=EC=B9=98=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...-dev-cleaner-target-user-stores-dry-run.yml | 18 ++++++++++++++++++ ...-trigger-dev-cleaner-target-user-stores.yml | 16 ++++++++++++++++ .../job-trigger-dev-correct-favorite-count.yml | 16 ++++++++++++++++ ...-dev-correct-user-store-reviews-average.yml | 16 ++++++++++++++++ .../job-trigger-dev-push-boss-open-store.yml | 2 +- ...job-trigger-dev-statistics-boss-service.yml | 2 +- ...job-trigger-dev-statistics-user-service.yml | 2 +- ...-dev-validate-boss-store-feedback-count.yml | 2 +- ...job-trigger-dev-validate-favorite-count.yml | 2 +- ...dev-validate-user-store-reviews-average.yml | 2 +- ...prod-cleaner-target-user-stores-dry-run.yml | 18 ++++++++++++++++++ ...trigger-prod-cleaner-target-user-stores.yml | 16 ++++++++++++++++ ...job-trigger-prod-correct-favorite-count.yml | 16 ++++++++++++++++ ...prod-correct-user-store-reviews-average.yml | 16 ++++++++++++++++ .../job-trigger-prod-push-boss-open-store.yml | 2 +- ...ob-trigger-prod-statistics-boss-service.yml | 2 +- ...ob-trigger-prod-statistics-user-service.yml | 2 +- ...prod-validate-boss-store-feedback-count.yml | 2 +- ...ob-trigger-prod-validate-favorite-count.yml | 2 +- ...rod-validate-user-store-reviews-average.yml | 2 +- 20 files changed, 144 insertions(+), 12 deletions(-) create mode 100644 .github/workflows/job-trigger-dev-cleaner-target-user-stores-dry-run.yml create mode 100644 .github/workflows/job-trigger-dev-cleaner-target-user-stores.yml create mode 100644 .github/workflows/job-trigger-dev-correct-favorite-count.yml create mode 100644 .github/workflows/job-trigger-dev-correct-user-store-reviews-average.yml create mode 100644 .github/workflows/job-trigger-prod-cleaner-target-user-stores-dry-run.yml create mode 100644 .github/workflows/job-trigger-prod-cleaner-target-user-stores.yml create mode 100644 .github/workflows/job-trigger-prod-correct-favorite-count.yml create mode 100644 .github/workflows/job-trigger-prod-correct-user-store-reviews-average.yml diff --git a/.github/workflows/job-trigger-dev-cleaner-target-user-stores-dry-run.yml b/.github/workflows/job-trigger-dev-cleaner-target-user-stores-dry-run.yml new file mode 100644 index 0000000..b942302 --- /dev/null +++ b/.github/workflows/job-trigger-dev-cleaner-target-user-stores-dry-run.yml @@ -0,0 +1,18 @@ +name: "[개발] 잡 트리거 - 활동 기반으로 유저 가게를 삭제하는 배치 (dry-run)" + +on: + schedule: + - cron: "0 11 */3 * *" + workflow_dispatch: + +jobs: + trigger: + runs-on: ubuntu-latest + steps: + - name: trigger + uses: fjogeleit/http-request-action@v1 + with: + url: ${{ secrets.BASE_URI_DEV }}/batch/job/execute/userStoreAutoCleanTargetFindJob + method: POST + bearerToken: ${{ secrets.BATCH_TOKEN_DEV }} + contentType: application/json diff --git a/.github/workflows/job-trigger-dev-cleaner-target-user-stores.yml b/.github/workflows/job-trigger-dev-cleaner-target-user-stores.yml new file mode 100644 index 0000000..5f50f88 --- /dev/null +++ b/.github/workflows/job-trigger-dev-cleaner-target-user-stores.yml @@ -0,0 +1,16 @@ +name: "[개발] 잡 트리거 - 활동 기반으로 유저 가게를 삭제하는 배치" + +on: + workflow_dispatch: + +jobs: + trigger: + runs-on: ubuntu-latest + steps: + - name: trigger + uses: fjogeleit/http-request-action@v1 + with: + url: ${{ secrets.BASE_URI_DEV }}/batch/job/execute/userStoreAutoCleanerJob + method: POST + bearerToken: ${{ secrets.BATCH_TOKEN_DEV }} + contentType: application/json diff --git a/.github/workflows/job-trigger-dev-correct-favorite-count.yml b/.github/workflows/job-trigger-dev-correct-favorite-count.yml new file mode 100644 index 0000000..c11679f --- /dev/null +++ b/.github/workflows/job-trigger-dev-correct-favorite-count.yml @@ -0,0 +1,16 @@ +name: "[개발] 잡 트리거 - 즐겨찾기 가게 카운트 갯수 보정" + +on: + workflow_dispatch: + +jobs: + trigger: + runs-on: ubuntu-latest + steps: + - name: trigger + uses: fjogeleit/http-request-action@v1 + with: + url: ${{ secrets.BASE_URI_DEV }}/batch/job/execute/correctFavoriteStoresCountJob + method: POST + bearerToken: ${{ secrets.BATCH_TOKEN_DEV }} + contentType: application/json diff --git a/.github/workflows/job-trigger-dev-correct-user-store-reviews-average.yml b/.github/workflows/job-trigger-dev-correct-user-store-reviews-average.yml new file mode 100644 index 0000000..995c1e9 --- /dev/null +++ b/.github/workflows/job-trigger-dev-correct-user-store-reviews-average.yml @@ -0,0 +1,16 @@ +name: "[개발] 잡 트리거 - 유저 가게 평균 리뷰 점수 보정 배치" + +on: + workflow_dispatch: + +jobs: + trigger: + runs-on: ubuntu-latest + steps: + - name: trigger + uses: fjogeleit/http-request-action@v1 + with: + url: ${{ secrets.BASE_URI_DEV }}/batch/job/execute/correctUserStoreAverageRatingJob + method: POST + bearerToken: ${{ secrets.BATCH_TOKEN_DEV }} + contentType: application/json diff --git a/.github/workflows/job-trigger-dev-push-boss-open-store.yml b/.github/workflows/job-trigger-dev-push-boss-open-store.yml index da6d39b..5edf460 100644 --- a/.github/workflows/job-trigger-dev-push-boss-open-store.yml +++ b/.github/workflows/job-trigger-dev-push-boss-open-store.yml @@ -9,7 +9,7 @@ jobs: trigger: runs-on: ubuntu-latest steps: - - name: 사장님 서비스 장기 영업 가게 푸시 발송 트리거 + - name: trigger uses: fjogeleit/http-request-action@v1 with: url: ${{ secrets.BASE_URI_DEV }}/batch/job/execute/bossOpenStorePushJob diff --git a/.github/workflows/job-trigger-dev-statistics-boss-service.yml b/.github/workflows/job-trigger-dev-statistics-boss-service.yml index 3c1bb86..c5c617f 100644 --- a/.github/workflows/job-trigger-dev-statistics-boss-service.yml +++ b/.github/workflows/job-trigger-dev-statistics-boss-service.yml @@ -9,7 +9,7 @@ jobs: trigger: runs-on: ubuntu-latest steps: - - name: 사장님 서비스 일일 통계 배치 트리거 + - name: trigger uses: fjogeleit/http-request-action@v1 with: url: ${{ secrets.BASE_URI_DEV }}/batch/job/execute/bossStatisticsJob diff --git a/.github/workflows/job-trigger-dev-statistics-user-service.yml b/.github/workflows/job-trigger-dev-statistics-user-service.yml index da83c29..acf75e8 100644 --- a/.github/workflows/job-trigger-dev-statistics-user-service.yml +++ b/.github/workflows/job-trigger-dev-statistics-user-service.yml @@ -9,7 +9,7 @@ jobs: trigger: runs-on: ubuntu-latest steps: - - name: 유저 서비스 일일 통계 배치 트리거 + - name: trigger uses: fjogeleit/http-request-action@v1 with: url: ${{ secrets.BASE_URI_DEV }}/batch/job/execute/dailyStaticsJob diff --git a/.github/workflows/job-trigger-dev-validate-boss-store-feedback-count.yml b/.github/workflows/job-trigger-dev-validate-boss-store-feedback-count.yml index d1cc058..6ac416e 100644 --- a/.github/workflows/job-trigger-dev-validate-boss-store-feedback-count.yml +++ b/.github/workflows/job-trigger-dev-validate-boss-store-feedback-count.yml @@ -9,7 +9,7 @@ jobs: trigger: runs-on: ubuntu-latest steps: - - name: 사장님 가게 피드백 카운트 갯수 검증 배치 트리거 + - name: trigger uses: fjogeleit/http-request-action@v1 with: url: ${{ secrets.BASE_URI_DEV }}/batch/job/execute/validateBossStoreFeedbackCountJob diff --git a/.github/workflows/job-trigger-dev-validate-favorite-count.yml b/.github/workflows/job-trigger-dev-validate-favorite-count.yml index 7f24e57..a207986 100644 --- a/.github/workflows/job-trigger-dev-validate-favorite-count.yml +++ b/.github/workflows/job-trigger-dev-validate-favorite-count.yml @@ -9,7 +9,7 @@ jobs: trigger: runs-on: ubuntu-latest steps: - - name: 즐겨찾기 가게 카운트 갯수 검증 배치 트리거 + - name: trigger uses: fjogeleit/http-request-action@v1 with: url: ${{ secrets.BASE_URI_DEV }}/batch/job/execute/validationFavoriteStoresCountJob diff --git a/.github/workflows/job-trigger-dev-validate-user-store-reviews-average.yml b/.github/workflows/job-trigger-dev-validate-user-store-reviews-average.yml index 0e9c2ad..baa3266 100644 --- a/.github/workflows/job-trigger-dev-validate-user-store-reviews-average.yml +++ b/.github/workflows/job-trigger-dev-validate-user-store-reviews-average.yml @@ -9,7 +9,7 @@ jobs: trigger: runs-on: ubuntu-latest steps: - - name: 유저 가게 평균 리뷰 점수 배치 트리거 + - name: trigger uses: fjogeleit/http-request-action@v1 with: url: ${{ secrets.BASE_URI_DEV }}/batch/job/execute/validateUserStoreAverageRatingJob diff --git a/.github/workflows/job-trigger-prod-cleaner-target-user-stores-dry-run.yml b/.github/workflows/job-trigger-prod-cleaner-target-user-stores-dry-run.yml new file mode 100644 index 0000000..8e5ca5e --- /dev/null +++ b/.github/workflows/job-trigger-prod-cleaner-target-user-stores-dry-run.yml @@ -0,0 +1,18 @@ +name: "[운영] 잡 트리거 - 활동 기반으로 유저 가게를 삭제하는 배치 (dry-run)" + +on: + schedule: + - cron: "0 11 */3 * *" + workflow_dispatch: + +jobs: + trigger: + runs-on: ubuntu-latest + steps: + - name: trigger + uses: fjogeleit/http-request-action@v1 + with: + url: ${{ secrets.BASE_URI_PROD }}/batch/job/execute/userStoreAutoCleanTargetFindJob + method: POST + bearerToken: ${{ secrets.BATCH_TOKEN_PROD }} + contentType: application/json diff --git a/.github/workflows/job-trigger-prod-cleaner-target-user-stores.yml b/.github/workflows/job-trigger-prod-cleaner-target-user-stores.yml new file mode 100644 index 0000000..42cf79f --- /dev/null +++ b/.github/workflows/job-trigger-prod-cleaner-target-user-stores.yml @@ -0,0 +1,16 @@ +name: "[운영] 잡 트리거 - 활동 기반으로 유저 가게를 삭제하는 배치" + +on: + workflow_dispatch: + +jobs: + trigger: + runs-on: ubuntu-latest + steps: + - name: trigger + uses: fjogeleit/http-request-action@v1 + with: + url: ${{ secrets.BASE_URI_PROD }}/batch/job/execute/userStoreAutoCleanerJob + method: POST + bearerToken: ${{ secrets.BATCH_TOKEN_PROD }} + contentType: application/json diff --git a/.github/workflows/job-trigger-prod-correct-favorite-count.yml b/.github/workflows/job-trigger-prod-correct-favorite-count.yml new file mode 100644 index 0000000..5426cc7 --- /dev/null +++ b/.github/workflows/job-trigger-prod-correct-favorite-count.yml @@ -0,0 +1,16 @@ +name: "[운영] 잡 트리거 - 즐겨찾기 가게 카운트 갯수 보정" + +on: + workflow_dispatch: + +jobs: + trigger: + runs-on: ubuntu-latest + steps: + - name: trigger + uses: fjogeleit/http-request-action@v1 + with: + url: ${{ secrets.BASE_URI_PROD }}/batch/job/execute/correctFavoriteStoresCountJob + method: POST + bearerToken: ${{ secrets.BATCH_TOKEN_PROD }} + contentType: application/json diff --git a/.github/workflows/job-trigger-prod-correct-user-store-reviews-average.yml b/.github/workflows/job-trigger-prod-correct-user-store-reviews-average.yml new file mode 100644 index 0000000..1a63e88 --- /dev/null +++ b/.github/workflows/job-trigger-prod-correct-user-store-reviews-average.yml @@ -0,0 +1,16 @@ +name: "[운영] 잡 트리거 - 유저 가게 평균 리뷰 점수 보정 배치" + +on: + workflow_dispatch: + +jobs: + trigger: + runs-on: ubuntu-latest + steps: + - name: trigger + uses: fjogeleit/http-request-action@v1 + with: + url: ${{ secrets.BASE_URI_PROD }}/batch/job/execute/correctUserStoreAverageRatingJob + method: POST + bearerToken: ${{ secrets.BATCH_TOKEN_PROD }} + contentType: application/json diff --git a/.github/workflows/job-trigger-prod-push-boss-open-store.yml b/.github/workflows/job-trigger-prod-push-boss-open-store.yml index 68407dd..e079c1c 100644 --- a/.github/workflows/job-trigger-prod-push-boss-open-store.yml +++ b/.github/workflows/job-trigger-prod-push-boss-open-store.yml @@ -9,7 +9,7 @@ jobs: trigger: runs-on: ubuntu-latest steps: - - name: 사장님 서비스 장기 영업 가게 푸시 발송 트리거 + - name: trigger uses: fjogeleit/http-request-action@v1 with: url: ${{ secrets.BASE_URI_PROD }}/batch/job/execute/bossOpenStorePushJob diff --git a/.github/workflows/job-trigger-prod-statistics-boss-service.yml b/.github/workflows/job-trigger-prod-statistics-boss-service.yml index c624136..bbd0914 100644 --- a/.github/workflows/job-trigger-prod-statistics-boss-service.yml +++ b/.github/workflows/job-trigger-prod-statistics-boss-service.yml @@ -9,7 +9,7 @@ jobs: trigger: runs-on: ubuntu-latest steps: - - name: 사장님 서비스 일일 통계 배치 트리거 + - name: trigger uses: fjogeleit/http-request-action@v1 with: url: ${{ secrets.BASE_URI_PROD }}/batch/job/execute/bossStatisticsJob diff --git a/.github/workflows/job-trigger-prod-statistics-user-service.yml b/.github/workflows/job-trigger-prod-statistics-user-service.yml index 826625e..2f9eb97 100644 --- a/.github/workflows/job-trigger-prod-statistics-user-service.yml +++ b/.github/workflows/job-trigger-prod-statistics-user-service.yml @@ -9,7 +9,7 @@ jobs: trigger: runs-on: ubuntu-latest steps: - - name: 유저 서비스 일일 통계 배치 트리거 + - name: trigger uses: fjogeleit/http-request-action@v1 with: url: ${{ secrets.BASE_URI_PROD }}/batch/job/execute/dailyStaticsJob diff --git a/.github/workflows/job-trigger-prod-validate-boss-store-feedback-count.yml b/.github/workflows/job-trigger-prod-validate-boss-store-feedback-count.yml index a56dcb9..edeb1e1 100644 --- a/.github/workflows/job-trigger-prod-validate-boss-store-feedback-count.yml +++ b/.github/workflows/job-trigger-prod-validate-boss-store-feedback-count.yml @@ -9,7 +9,7 @@ jobs: trigger: runs-on: ubuntu-latest steps: - - name: 사장님 가게 피드백 카운트 갯수 검증 배치 트리거 + - name: trigger uses: fjogeleit/http-request-action@v1 with: url: ${{ secrets.BASE_URI_PROD }}/batch/job/execute/validateBossStoreFeedbackCountJob diff --git a/.github/workflows/job-trigger-prod-validate-favorite-count.yml b/.github/workflows/job-trigger-prod-validate-favorite-count.yml index 4e93dac..3ca1c99 100644 --- a/.github/workflows/job-trigger-prod-validate-favorite-count.yml +++ b/.github/workflows/job-trigger-prod-validate-favorite-count.yml @@ -9,7 +9,7 @@ jobs: trigger: runs-on: ubuntu-latest steps: - - name: 즐겨찾기 가게 카운트 갯수 검증 배치 트리거 + - name: trigger uses: fjogeleit/http-request-action@v1 with: url: ${{ secrets.BASE_URI_PROD }}/batch/job/execute/validationFavoriteStoresCountJob diff --git a/.github/workflows/job-trigger-prod-validate-user-store-reviews-average.yml b/.github/workflows/job-trigger-prod-validate-user-store-reviews-average.yml index fe5f9e2..7ff06cc 100644 --- a/.github/workflows/job-trigger-prod-validate-user-store-reviews-average.yml +++ b/.github/workflows/job-trigger-prod-validate-user-store-reviews-average.yml @@ -9,7 +9,7 @@ jobs: trigger: runs-on: ubuntu-latest steps: - - name: 유저 가게 평균 리뷰 점수 배치 트리거 + - name: trigger uses: fjogeleit/http-request-action@v1 with: url: ${{ secrets.BASE_URI_PROD }}/batch/job/execute/validateUserStoreAverageRatingJob From 178dd98b45be180efa2befc9bf6bade280f846be Mon Sep 17 00:00:00 2001 From: seungh0 Date: Sun, 25 Dec 2022 22:30:41 +0900 Subject: [PATCH 3/3] =?UTF-8?q?feat:=20=EB=B0=B0=EC=B9=98=20=ED=8A=B8?= =?UTF-8?q?=EB=A6=AC=EA=B1=B0=20=EC=8B=9C=EA=B0=84=20=EC=A1=B0=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../job-trigger-dev-cleaner-target-user-stores-dry-run.yml | 2 +- .github/workflows/job-trigger-dev-push-boss-open-store.yml | 2 +- .../job-trigger-dev-validate-boss-store-feedback-count.yml | 2 +- .github/workflows/job-trigger-dev-validate-favorite-count.yml | 2 +- .../job-trigger-prod-cleaner-target-user-stores-dry-run.yml | 2 +- .github/workflows/job-trigger-prod-push-boss-open-store.yml | 2 +- .../job-trigger-prod-validate-boss-store-feedback-count.yml | 2 +- .github/workflows/job-trigger-prod-validate-favorite-count.yml | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/job-trigger-dev-cleaner-target-user-stores-dry-run.yml b/.github/workflows/job-trigger-dev-cleaner-target-user-stores-dry-run.yml index b942302..ce91868 100644 --- a/.github/workflows/job-trigger-dev-cleaner-target-user-stores-dry-run.yml +++ b/.github/workflows/job-trigger-dev-cleaner-target-user-stores-dry-run.yml @@ -2,7 +2,7 @@ name: "[개발] 잡 트리거 - 활동 기반으로 유저 가게를 삭제하 on: schedule: - - cron: "0 11 */3 * *" + - cron: "30 11 */3 * *" workflow_dispatch: jobs: diff --git a/.github/workflows/job-trigger-dev-push-boss-open-store.yml b/.github/workflows/job-trigger-dev-push-boss-open-store.yml index 5edf460..c28db42 100644 --- a/.github/workflows/job-trigger-dev-push-boss-open-store.yml +++ b/.github/workflows/job-trigger-dev-push-boss-open-store.yml @@ -2,7 +2,7 @@ name: "[개발] 잡 트리거 - 사장님 서비스 장기 영업 가게 푸시 on: schedule: - - cron: "0 0,12 * * *" + - cron: "0 12 * * *" workflow_dispatch: jobs: diff --git a/.github/workflows/job-trigger-dev-validate-boss-store-feedback-count.yml b/.github/workflows/job-trigger-dev-validate-boss-store-feedback-count.yml index 6ac416e..a6e240e 100644 --- a/.github/workflows/job-trigger-dev-validate-boss-store-feedback-count.yml +++ b/.github/workflows/job-trigger-dev-validate-boss-store-feedback-count.yml @@ -2,7 +2,7 @@ name: "[개발] 잡 트리거 - 사장님 가게 피드백 카운트 갯수 검 on: schedule: - - cron: "0 11 */3 * *" + - cron: "10 11 */3 * *" workflow_dispatch: jobs: diff --git a/.github/workflows/job-trigger-dev-validate-favorite-count.yml b/.github/workflows/job-trigger-dev-validate-favorite-count.yml index a207986..0a7d20a 100644 --- a/.github/workflows/job-trigger-dev-validate-favorite-count.yml +++ b/.github/workflows/job-trigger-dev-validate-favorite-count.yml @@ -2,7 +2,7 @@ name: "[개발] 잡 트리거 - 즐겨찾기 가게 카운트 갯수 검증 배 on: schedule: - - cron: "0 11 */3 * *" + - cron: "20 11 */3 * *" workflow_dispatch: jobs: diff --git a/.github/workflows/job-trigger-prod-cleaner-target-user-stores-dry-run.yml b/.github/workflows/job-trigger-prod-cleaner-target-user-stores-dry-run.yml index 8e5ca5e..a6309eb 100644 --- a/.github/workflows/job-trigger-prod-cleaner-target-user-stores-dry-run.yml +++ b/.github/workflows/job-trigger-prod-cleaner-target-user-stores-dry-run.yml @@ -2,7 +2,7 @@ name: "[운영] 잡 트리거 - 활동 기반으로 유저 가게를 삭제하 on: schedule: - - cron: "0 11 */3 * *" + - cron: "30 11 */3 * *" workflow_dispatch: jobs: diff --git a/.github/workflows/job-trigger-prod-push-boss-open-store.yml b/.github/workflows/job-trigger-prod-push-boss-open-store.yml index e079c1c..b5f318f 100644 --- a/.github/workflows/job-trigger-prod-push-boss-open-store.yml +++ b/.github/workflows/job-trigger-prod-push-boss-open-store.yml @@ -2,7 +2,7 @@ name: "[개발] 잡 트리거 - 사장님 서비스 장기 영업 가게 푸시 on: schedule: - - cron: "0 0,12 * * *" + - cron: "0 12 * * *" workflow_dispatch: jobs: diff --git a/.github/workflows/job-trigger-prod-validate-boss-store-feedback-count.yml b/.github/workflows/job-trigger-prod-validate-boss-store-feedback-count.yml index edeb1e1..07c107b 100644 --- a/.github/workflows/job-trigger-prod-validate-boss-store-feedback-count.yml +++ b/.github/workflows/job-trigger-prod-validate-boss-store-feedback-count.yml @@ -2,7 +2,7 @@ name: "[운영] 잡 트리거 - 사장님 가게 피드백 카운트 갯수 검 on: schedule: - - cron: "0 11 */3 * *" + - cron: "10 11 */3 * *" workflow_dispatch: jobs: diff --git a/.github/workflows/job-trigger-prod-validate-favorite-count.yml b/.github/workflows/job-trigger-prod-validate-favorite-count.yml index 3ca1c99..0e6b480 100644 --- a/.github/workflows/job-trigger-prod-validate-favorite-count.yml +++ b/.github/workflows/job-trigger-prod-validate-favorite-count.yml @@ -2,7 +2,7 @@ name: "[운영] 잡 트리거 - 즐겨찾기 가게 카운트 갯수 검증 배 on: schedule: - - cron: "0 11 */3 * *" + - cron: "20 11 */3 * *" workflow_dispatch: jobs: