update: github action pipelines
Browse files
.github/workflows/gru_pipeline.yaml
CHANGED
@@ -7,8 +7,8 @@ on:
|
|
7 |
tags:
|
8 |
- '*'
|
9 |
schedule:
|
10 |
-
- cron: "0
|
11 |
-
#
|
12 |
|
13 |
jobs:
|
14 |
extraction_train_modeling:
|
@@ -28,7 +28,7 @@ jobs:
|
|
28 |
- name: Read pipeline schedule date
|
29 |
id: read_schedule
|
30 |
run: |
|
31 |
-
SCHEDULE_DATE=$(cat schedulers/
|
32 |
echo "schedule_date=${SCHEDULE_DATE}" >> $GITHUB_ENV
|
33 |
|
34 |
- name: Get current date
|
@@ -66,7 +66,7 @@ jobs:
|
|
66 |
|
67 |
- name: Set Pipeline Schedule
|
68 |
if: env.match != 'true'
|
69 |
-
run: echo "$(date +'%Y-%m-%d')" > schedulers/
|
70 |
|
71 |
- name: Zip Posttrained, Models, and Pickles
|
72 |
if: env.match != 'true'
|
@@ -142,7 +142,7 @@ jobs:
|
|
142 |
uses: ad-m/github-push-action@master
|
143 |
with:
|
144 |
github_token: ${{ secrets.GH_TOKEN }}
|
145 |
-
branch:
|
146 |
|
147 |
# model_deployment:
|
148 |
# name: Model Deployment
|
|
|
7 |
tags:
|
8 |
- '*'
|
9 |
schedule:
|
10 |
+
- cron: "0 8 * * *"
|
11 |
+
# 15 - 7 = 8
|
12 |
|
13 |
jobs:
|
14 |
extraction_train_modeling:
|
|
|
28 |
- name: Read pipeline schedule date
|
29 |
id: read_schedule
|
30 |
run: |
|
31 |
+
SCHEDULE_DATE=$(cat schedulers/gru_schedule.ctl)
|
32 |
echo "schedule_date=${SCHEDULE_DATE}" >> $GITHUB_ENV
|
33 |
|
34 |
- name: Get current date
|
|
|
66 |
|
67 |
- name: Set Pipeline Schedule
|
68 |
if: env.match != 'true'
|
69 |
+
run: echo "$(date +'%Y-%m-%d')" > schedulers/gru_schedule.ctl
|
70 |
|
71 |
- name: Zip Posttrained, Models, and Pickles
|
72 |
if: env.match != 'true'
|
|
|
142 |
uses: ad-m/github-push-action@master
|
143 |
with:
|
144 |
github_token: ${{ secrets.GH_TOKEN }}
|
145 |
+
branch: production
|
146 |
|
147 |
# model_deployment:
|
148 |
# name: Model Deployment
|
.github/workflows/lstm_gru_pipeline.yaml
CHANGED
@@ -7,8 +7,8 @@ on:
|
|
7 |
tags:
|
8 |
- '*'
|
9 |
schedule:
|
10 |
-
- cron: "0
|
11 |
-
#
|
12 |
|
13 |
jobs:
|
14 |
extraction_train_modeling:
|
@@ -142,7 +142,7 @@ jobs:
|
|
142 |
uses: ad-m/github-push-action@master
|
143 |
with:
|
144 |
github_token: ${{ secrets.GH_TOKEN }}
|
145 |
-
branch:
|
146 |
|
147 |
# model_deployment:
|
148 |
# name: Model Deployment
|
|
|
7 |
tags:
|
8 |
- '*'
|
9 |
schedule:
|
10 |
+
- cron: "0 10 * * *"
|
11 |
+
# 17 - 7 = 10
|
12 |
|
13 |
jobs:
|
14 |
extraction_train_modeling:
|
|
|
142 |
uses: ad-m/github-push-action@master
|
143 |
with:
|
144 |
github_token: ${{ secrets.GH_TOKEN }}
|
145 |
+
branch: production
|
146 |
|
147 |
# model_deployment:
|
148 |
# name: Model Deployment
|
.github/workflows/lstm_pipeline.yaml
CHANGED
@@ -7,8 +7,8 @@ on:
|
|
7 |
tags:
|
8 |
- '*'
|
9 |
schedule:
|
10 |
-
- cron: "0
|
11 |
-
#
|
12 |
|
13 |
jobs:
|
14 |
extraction_train_modeling:
|
@@ -142,7 +142,7 @@ jobs:
|
|
142 |
uses: ad-m/github-push-action@master
|
143 |
with:
|
144 |
github_token: ${{ secrets.GH_TOKEN }}
|
145 |
-
branch:
|
146 |
|
147 |
# model_deployment:
|
148 |
# name: Model Deployment
|
|
|
7 |
tags:
|
8 |
- '*'
|
9 |
schedule:
|
10 |
+
- cron: "0 9 * * *"
|
11 |
+
# 16 - 7 = 9
|
12 |
|
13 |
jobs:
|
14 |
extraction_train_modeling:
|
|
|
142 |
uses: ad-m/github-push-action@master
|
143 |
with:
|
144 |
github_token: ${{ secrets.GH_TOKEN }}
|
145 |
+
branch: production
|
146 |
|
147 |
# model_deployment:
|
148 |
# name: Model Deployment
|