workflow/initialization/init_workflow.sh
2023-08-17 10:14:21 +02:00

29 lines
982 B
Bash
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/bash
#
# mise en place du workflow
#
echo "========== init de workflow par Tykayn ======="
source ~/Nextcloud/ressources/workflow_nextcloud/public_workflow/workflow_variables.sh
bash "$WORKFLOW_PATH_PUBLIC/initialization/partials/check_foler_integrity.sh"
bash "$WORKFLOW_PATH_PUBLIC/initialization/partials/git_config_glob.sh"
bash "$WORKFLOW_PATH_PUBLIC/initialization/partials/ansible.sh"
bash "$WORKFLOW_PATH_PUBLIC/initialization/partials/dev_tools.sh"
bash "$WORKFLOW_PATH_PUBLIC/initialization/partials/java-josm.sh"
# bash $WORKFLOW_PATH_PUBLIC/update_git_projects.sh
# copier quelques fichiers de config dans la home
cp "$WORKFLOW_PATH/install/.zshrc" "~/"
cp "$WORKFLOW_PATH/install/.bash_aliases" "~/"
cp "$WORKFLOW_PATH/install/.bashrc" "~/"
bash "$WORKFLOW_PATH"/files_management/install.sh
bash "$WORKFLOW_PATH"/install/git_config_glob.sh
bash "$WORKFLOW_PATH"/refresh_from_current_assets.sh
sudo apt update -y
sudo apt upgrade -y
sudo apt autoremove -y