Skip to content

Commit f508d1b

Browse files
authored
Update outage_notifier.yaml
added SCL and snopud back in to include for testing
1 parent 840111c commit f508d1b

File tree

1 file changed

+39
-1
lines changed

1 file changed

+39
-1
lines changed

.github/workflows/outage_notifier.yaml

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,42 @@ jobs:
8080
- name: Run pse notify
8181
continue-on-error: true
8282
run: |
83-
python outage_notifier.py -d output_files -r .5 -c 1 -e .1 -u pse --telegram-token "${PWRONDATABOT_TOKEN}" --telegram-chat-id "-1003012377346" --telegram-thread-id "2" --geocode-api-key "${GEOCODE_API_KEY}"
83+
python outage_notifier.py -d output_files -r .5 -c 1 -lc 100 -e .1 -u pse --telegram-token "${PWRONDATABOT_TOKEN}" --telegram-chat-id "-1003012377346" --telegram-thread-id "2" --geocode-api-key "${GEOCODE_API_KEY}"
84+
85+
- name: Run scl expand
86+
continue-on-error: true
87+
run: |
88+
git pull origin main
89+
python -u expand.py -r ../scl-outage -i last_file_scl_test.txt -o output_files -l 10 ../scl-outage/scl-events.json
90+
91+
- name: Save scl progress if succeeded
92+
continue-on-error: true
93+
if: success()
94+
run: |
95+
git add last_file_scl_test.txt
96+
git commit -m "updating file to track latest processed commit for SCL"
97+
git push -u origin main
98+
99+
- name: Run scl notify
100+
continue-on-error: true
101+
run: |
102+
python outage_notifier.py -d output_files -r .5 -c 1 -lc 100 -e .1 -u scl --telegram-token "${PWRONDATABOT_TOKEN}" --telegram-chat-id "-1003012377346" --telegram-thread-id "2" --geocode-api-key "${GEOCODE_API_KEY}"
103+
104+
- name: Run snopud expand
105+
continue-on-error: true
106+
run: |
107+
git pull origin main
108+
python -u expand.py -r ../snopud-outage -i last_file_snopud_test.txt -o output_files -l 10 ../snopud-outage/KMLOutageAreas.xml
109+
110+
- name: Save snopud progress if succeeded
111+
continue-on-error: true
112+
if: success()
113+
run: |
114+
git add last_file_snopud_test.txt
115+
git commit -m "updating file to track latest processed commit for snopud"
116+
git push -u origin main
117+
118+
- name: Run snopud notify
119+
continue-on-error: true
120+
run: |
121+
python outage_notifier.py -d output_files -r .5 -c 1 -lc 100 -e .1 -u snopud --telegram-token "${PWRONDATABOT_TOKEN}" --telegram-chat-id "-1003012377346" --telegram-thread-id "2" --geocode-api-key "${GEOCODE_API_KEY}"

0 commit comments

Comments
 (0)