Skip to content

Commit

Permalink
fix toolforge-jobs .yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kanasimi committed Dec 10, 2023
1 parent 15bcfb9 commit f68d8a9
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 20 deletions.
3 changes: 2 additions & 1 deletion wikitech/crontab-to-toolforge-jobs.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
<button onclick="convert(); return false;">Convert</button>
<textarea id="toolforge jobs framework yaml contents" style="width: 40em; height: 40em;"></textarea>

<script>
<script type="text/javascript">
// 2023/12/10 9:7:58

function parse_crontab_item(crontab_item_text) {
if (!crontab_item_text || /^\s*#/.test(crontab_item_text))
Expand Down
2 changes: 1 addition & 1 deletion wikitech/toolforge-jobs-anchor-corrector.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# toolforge-jobs load ~/wikibot/wikitech/toolforge-jobs-${USER/tools./}.yml&
# toolforge-jobs load ~/wikibot/wikitech/toolforge-jobs-${USER/tools./}.yml
# https://phabricator.wikimedia.org/T350484

# --------------------------------------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions wikitech/toolforge-jobs-cewbot.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# toolforge-jobs load ~/wikibot/wikitech/toolforge-jobs-${USER/tools./}.yml&
#
# toolforge-jobs load ~/wikibot/wikitech/toolforge-jobs-${USER/tools./}.yml
# https://phabricator.wikimedia.org/T353104

# man toolforge-jobs
# https://wikitech.wikimedia.org/wiki/Help:Toolforge/Jobs_framework
Expand Down
6 changes: 3 additions & 3 deletions wikitech/toolforge-jobs-mgp-cewbot.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# toolforge-jobs load ~/wikibot/wikitech/toolforge-jobs-${USER/tools./}.yml&
# toolforge-jobs load ~/wikibot/wikitech/toolforge-jobs-${USER/tools./}.yml

# --------------------------------------------------------------------------------------------------
# Cron jobs
Expand Down Expand Up @@ -35,7 +35,7 @@
# -----------------------------------------------------------------------------
# 字词转换
- name: k8s-20191129.check-language-conversion
command: "/usr/bin/node ./wikibot/routine/20191129.check_language_conversion.js use_project=zhmoegirl"
command: "node ./wikibot/routine/20191129.check_language_conversion.js use_project=zhmoegirl"
image: node18
mem: 4Gi
schedule: "55 21 * * 6"
Expand All @@ -47,7 +47,7 @@
# -----------------------------------------------------------------------------
# Add topic list to talk page. 增加討論頁面主題列表。為議論增目錄。
- name: k8s-20170915.topic-list.moegirl
command: "/usr/bin/node ./wikibot/routine/20170915.topic_list.js use_project=zhmoegirl"
command: "node ./wikibot/routine/20170915.topic_list.js use_project=zhmoegirl"
image: node18
mem: 2Gi
continuous: true
Expand Down
2 changes: 1 addition & 1 deletion wikitech/toolforge-jobs-signature-checker.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# toolforge-jobs load ~/wikibot/wikitech/toolforge-jobs-${USER/tools./}.yml&
# toolforge-jobs load ~/wikibot/wikitech/toolforge-jobs-${USER/tools./}.yml

# --------------------------------------------------------------------------------------------------
# Cron jobs
Expand Down
24 changes: 12 additions & 12 deletions wikitech/toolforge-jobs-toc.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# toolforge-jobs load ~/wikibot/wikitech/toolforge-jobs-${USER/tools./}.yml&
# toolforge-jobs load ~/wikibot/wikitech/toolforge-jobs-${USER/tools./}.yml

# --------------------------------------------------------------------------------------------------
# Cron jobs
Expand All @@ -15,57 +15,57 @@

# Add topic list to talk page. 增加討論頁面主題列表。為議論增目錄。
- name: k8s-20170915.topic-list.zh
command: "/usr/bin/node ./wikibot/routine/20170915.topic_list.js use_language=zh"
command: "node ./wikibot/routine/20170915.topic_list.js use_language=zh"
image: node18
mem: 2Gi
continuous: true
- name: k8s-20170915.topic-list.zh-classical
command: "/usr/bin/node ./wikibot/routine/20170915.topic_list.js use_language=zh-classical"
command: "node ./wikibot/routine/20170915.topic_list.js use_language=zh-classical"
image: node18
mem: 2Gi
continuous: true
- name: k8s-20170915.topic-list.wikinews
command: "/usr/bin/node ./wikibot/routine/20170915.topic_list.js use_project=zh.wikinews"
command: "node ./wikibot/routine/20170915.topic_list.js use_project=zh.wikinews"
image: node18
mem: 2Gi
continuous: true
- name: k8s-20170915.topic-list.ja
command: "/usr/bin/node ./wikibot/routine/20170915.topic_list.js use_language=ja"
command: "node ./wikibot/routine/20170915.topic_list.js use_language=ja"
image: node18
mem: 2Gi
continuous: true
- name: k8s-20170915.topic-list.en
command: "/usr/bin/node ./wikibot/routine/20170915.topic_list.js use_language=en"
command: "node ./wikibot/routine/20170915.topic_list.js use_language=en"
image: node18
mem: 2Gi
continuous: true
- name: k8s-20170915.topic-list.testwiki
command: "/usr/bin/node ./wikibot/routine/20170915.topic_list.js use_language=en use_project=test"
command: "node ./wikibot/routine/20170915.topic_list.js use_language=en use_project=test"
image: node18
mem: 2Gi
continuous: true
- name: k8s-20170915.topic-list.wikisource
command: "/usr/bin/node ./wikibot/routine/20170915.topic_list.js use_project=zh.wikisource"
command: "node ./wikibot/routine/20170915.topic_list.js use_project=zh.wikisource"
image: node18
mem: 2Gi
continuous: true
- name: k8s-20170915.topic-list.wikiversity
command: "/usr/bin/node ./wikibot/routine/20170915.topic_list.js use_project=zh.wikiversity"
command: "node ./wikibot/routine/20170915.topic_list.js use_project=zh.wikiversity"
image: node18
mem: 2Gi
continuous: true
- name: k8s-20170915.topic-list.commons
command: "/usr/bin/node ./wikibot/routine/20170915.topic_list.js use_project=commons"
command: "node ./wikibot/routine/20170915.topic_list.js use_project=commons"
image: node18
mem: 2Gi
continuous: true
- name: k8s-20170915.topic-list.wiktionary
command: "/usr/bin/node ./wikibot/routine/20170915.topic_list.js use_project=zh.wiktionary"
command: "node ./wikibot/routine/20170915.topic_list.js use_project=zh.wiktionary"
image: node18
mem: 2Gi
continuous: true
- name: k8s-20170915.topic-list.wikibooks
command: "/usr/bin/node ./wikibot/routine/20170915.topic_list.js use_project=zh.wikibooks"
command: "node ./wikibot/routine/20170915.topic_list.js use_project=zh.wikibooks"
image: node18
mem: 2Gi
continuous: true

0 comments on commit f68d8a9

Please sign in to comment.