Skip to content

eabila/wikibots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

Update protocol

This protocol is thought to guide the Jenkins instance update for the Wikidata bots

Installation

Prerequisites:

  • Python (3.8 was used in our case)
  • pip:
    sudo apt-get update
    sudo apt-get install pip
  • Java (e.g.: Open Java Development Kit (OpenJDK)) find at "Installation of Java"

Jenkins and virtualenv:

Testing the workspace

Import GeneWiki bots

  • Set up Jenkins jobs in accordance to the original Wikibots (e.g.: with the Jenkins Import Plugin) and the desired GitHub repo

Troubleshooting

  • make sure python version for virtualenv in the Jenkins Job's execute shell alings with the python version on the server
  • check OS, commands like "source" needed to be changed to "."
  • In case "virtualenv -p python38 venv" leads to permission errors, run:
cd /var/lib/jenkins/workspace/ 
sudo chown -R jenkins:jenkins *

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages