workflow/initialization/init_workflow.sh

29 lines
982 B
Bash
Raw Normal View History

2023-07-08 10:57:36 +02:00
#!/bin/bash
#
# mise en place du workflow
#
2023-08-15 22:23:40 +02:00
echo "========== init de workflow par Tykayn ======="
2023-08-15 22:50:45 +02:00
source ~/Nextcloud/ressources/workflow_nextcloud/public_workflow/workflow_variables.sh
2023-08-15 22:23:40 +02:00
2023-08-17 09:34:05 +02:00
bash "$WORKFLOW_PATH_PUBLIC/initialisation/partials/check_foler_integrity.sh"
bash "$WORKFLOW_PATH_PUBLIC/initialisation/partials/git_config_glob.sh"
bash "$WORKFLOW_PATH_PUBLIC/initialisation/partials/ansible.sh"
bash "$WORKFLOW_PATH_PUBLIC/initialisation/partials/dev_tools.sh"
bash "$WORKFLOW_PATH_PUBLIC/initialisation/partials/java-josm.sh"
2023-08-15 22:50:45 +02:00
# bash $WORKFLOW_PATH_PUBLIC/update_git_projects.sh
2023-08-15 22:23:40 +02:00
# copier quelques fichiers de config dans la home
2023-08-17 09:34:05 +02:00
cp "$WORKFLOW_PATH/install/.zshrc" "~/"
cp "$WORKFLOW_PATH/install/.bash_aliases" "~/"
cp "$WORKFLOW_PATH/install/.bashrc" "~/"
2023-08-15 22:23:40 +02:00
bash "$WORKFLOW_PATH"/files_management/install.sh
bash "$WORKFLOW_PATH"/install/git_config_glob.sh
bash "$WORKFLOW_PATH"/refresh_from_current_assets.sh
2023-08-15 22:35:32 +02:00
sudo apt update -y
2023-08-17 09:34:05 +02:00
sudo apt upgrade -y
sudo apt autoremove -y