© Bryan Davis, Artur Jan Fijałkowski, Monjin Friends, CC-BY-SA 4.0
User:Arkanosis — WikiConvention francophone 2022
© User:Arkanosis — CC-BY 4.0 — WikiConvention francophone 2022
© User:Arkanosis — CC-BY 4.0 — WikiConvention francophone 2022
© Bryan Davis, Artur Jan Fijałkowski, CC-BY-SA 4.0
© User:Arkanosis — CC-BY 4.0 — WikiConvention francophone 2022
© Everaldo Coelho, Mauro Bieg, LGPL
© User:Arkanosis — CC-BY 4.0 — WikiConvention francophone 2022
© Everaldo Coelho, Mauro Bieg, Arkanosis, LGPL
© User:Arkanosis — CC-BY 4.0 — WikiConvention francophone 2022
© User:Arkanosis — CC-BY 4.0 — WikiConvention francophone 2022
© Tango! project, Gnome project, 百楽兎, CC-BY-SA 3.0
© User:Arkanosis — CC-BY 4.0 — WikiConvention francophone 2022
© Markus Meier, FSFE, CC-BY-SA 4.0
© User:Arkanosis — CC-BY 4.0 — WikiConvention francophone 2022
© User:Arkanosis — CC-BY 4.0 — WikiConvention francophone 2022
© Brandon Harris, Isarra, CC-BY-SA 3.0
© Bryan Davis, Artur Jan Fijałkowski, Monjin Friends, CC-BY-SA 4.0
© User:Arkanosis — CC-BY 4.0 — WikiConvention francophone 2022
© User:Arkanosis — CC-BY 4.0 — WikiConvention francophone 2022
© User:Arkanosis — CC-BY 4.0 — WikiConvention francophone 2022
© User:Arkanosis — CC-BY 4.0 — WikiConvention francophone 2022
© User:Arkanosis — CC-BY 4.0 — WikiConvention francophone 2022
© User:Arkanosis — CC-BY 4.0 — WikiConvention francophone 2022
© User:Arkanosis — CC-BY 4.0 — WikiConvention francophone 2022
© User:Arkanosis — CC-BY 4.0 — WikiConvention francophone 2022
ssh-keygen -t ed25519
ssh $MON_COMPTE@login.toolforge.org
© User:Arkanosis — CC-BY 4.0 — WikiConvention francophone 2022
© Vyacheslav Argenberg, CC-BY 4.0
become $MON_OUTIL
© User:Arkanosis — CC-BY 4.0 — WikiConvention francophone 2022
© Everaldo Coelho, Ch.Andrew, Notwist, Carport, LGPL
mkdir public_html
echo 'Hello world!' > public_html/index.htm
webservice start
© User:Arkanosis — CC-BY 4.0 — WikiConvention francophone 2022
© Everaldo Coelho, Ch.Andrew, Notwist, Carport, LGPL
backend: kubernetes
cpu: 500m
mem: 200Mi
type: ruby25
extra_args:
- /data/project/mon_outil
- argument1
- argument2
service.template
(YAML)
webservice start
© User:Arkanosis — CC-BY 4.0 — WikiConvention francophone 2022
toolforge-jobs run $MON_JOB --command $MA_COMMANDE --image tf-bullseye-std
toolforge-jobs list --long
© User:Arkanosis — CC-BY 4.0 — WikiConvention francophone 2022
- name: mon_job
mem: 1Gi
command: >-
dump=$(date '+%Y%m%d' -d 'two days ago') ;
gunzip -c /public/dumps/public/frwiki/${dump}/frwiki-${dump}-stub-meta-history.xml.gz |
wc -l > nombre_de_lignes_dans_le_dump_du_${dump}.txt
image: tf-bullseye-std
schedule: "0 0 3,22 * *"
emails: all
jobs.yaml
(YAML)
toolforge-jobs load jobs.yaml
© User:Arkanosis — CC-BY 4.0 — WikiConvention francophone 2022
© PiRSquared17, Rillke, Jelican9, Otourly, et al., CC-BY-SA 3.0
/public/dumps/public
sql $MON_WIKI
sql frwiki # par exemple
© User:Arkanosis — CC-BY 4.0 — WikiConvention francophone 2022
© User:Arkanosis — CC-BY 4.0 — WikiConvention francophone 2022
© Bryan Davis, Artur Jan Fijałkowski, Monjin Friends, CC-BY-SA 4.0
© User:Arkanosis — CC-BY 4.0 — WikiConvention francophone 2022
© Mhammedbenkassem, CC-BY-SA 4.0