Compare commits
	
		
			No commits in common. "db0102f9c7ec357e768f0c522f9ebd3c7d6c1b05" and "974b18e8b4024289d151657e4950a7fc8ecb0bcc" have entirely different histories.
		
	
	
		
			db0102f9c7
			...
			974b18e8b4
		
	
		
					 8 changed files with 3 additions and 60 deletions
				
			
		
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							|  | @ -14,7 +14,6 @@ | |||
| !inventory/ | ||||
| !templates/ | ||||
| !sops/ | ||||
| !proyectos/ | ||||
| 
 | ||||
| # Permitir el seguimiento de archivos específicos | ||||
| # !archivo1.txt | ||||
|  |  | |||
|  | @ -63,7 +63,6 @@ install() { | |||
|     local ANSIBLE_PACKAGE="$ANSIBLE_COMMAND" | ||||
| 
 | ||||
| 	# Load base bash library | ||||
|         BIN_HOME=$BIN_PATH | ||||
| 	source $BIN_PATH/$LIBRARY/base.lib | ||||
| 
 | ||||
| 	# Load bootstrap bash library | ||||
|  | @ -103,13 +102,6 @@ install() { | |||
| 	# Install dialog from OS Packages | ||||
| 	command_installed $DIALOG_PACKAGE | ||||
| 	if [ $? -ne 0 ] | ||||
| 	then | ||||
| 	  os_pkgs_install $DIALOG_PACKAGE | ||||
| 	fi | ||||
| 
 | ||||
|         # Install zip from OS Packages | ||||
|         command_installed $ZIP_PACKAGE | ||||
|         if [ $? -ne 0 ] | ||||
| 	then | ||||
| 	  os_pkgs_install $ZIP_PACKAGE | ||||
| 	fi | ||||
|  |  | |||
|  | @ -1 +0,0 @@ | |||
| https://keyvalue.immanuel.co | ||||
|  | @ -1 +0,0 @@ | |||
| 0.98.0 | ||||
|  | @ -18,24 +18,11 @@ | |||
| # Debería haber recibido una copia de la Licencia Pública Affero General | ||||
| # junto con este programa. Si no la recibió, consulte <https://www.gnu.org/licenses/>. | ||||
| 
 | ||||
| DEVSPATH=${DEVSPATH:=devs} | ||||
| CONFPATH=${CONFPATH:=config} | ||||
| BIN_BASE=${BIN_BASE:=bin} | ||||
| if [ -z "${BIN_HOME}" ]; then | ||||
|   BIN_HOME=${HOME}/${DEVSPATH} | ||||
| fi | ||||
| BIN_CONF=${BIN_CONF:=${BIN_BASE}/config} | ||||
| BIN_SOPS=${BIN_SOPS:=${BIN_HOME}/sops} | ||||
| BIN_MESG=${BIN_MESG:=${BIN_BASE}/msg} | ||||
| BIN_LIBS=${BIN_LIBS:=${BIN_BASE}/lib} | ||||
| DEVS_NAME=${CONFPATH}/project.head | ||||
| DEVS_NAME=config/project.head | ||||
| GIT_IGNORE=.gitignore | ||||
| DATENOW="$(date +"%Y-%m-%d %H:%M:%S")" | ||||
| DATEBAK="$(date +"%Y%m%d%H%M%S")" | ||||
| 
 | ||||
| FREEKV_URL=$(cat < "${BIN_HOME}/${BIN_BASE}/${CONFPATH}/freekeyval.dat") | ||||
| FREEKV_SOPS_FILE=freekv-sops.devs.yaml | ||||
| 
 | ||||
| DOCKER_LOCAL=dockerfile.local | ||||
| DOCKER_BASE=dockerfile.base | ||||
| DOCKER_SAAS=dockerfile.saas | ||||
|  | @ -43,8 +30,6 @@ DOCKER_BUILD=build | |||
| DOCKER_FILE=Dockerfile | ||||
| DOCKER_ENTRY=entrypoint.sh | ||||
| 
 | ||||
| VERSION="$(cat < ${BIN_HOME}/${BIN_CONF}/version)" | ||||
| 
 | ||||
| # Test library | ||||
| function baselib_test() { | ||||
|   echo "Base Library loaded!" | ||||
|  | @ -75,7 +60,6 @@ function display_devstools_header() { | |||
|   echo "======================================================================" | ||||
| } | ||||
| 
 | ||||
| # Display text header for tui dialog | ||||
| function display_text_header() { | ||||
|   local head_text=$1 | ||||
|   local subhead_text=$2 | ||||
|  | @ -392,27 +376,3 @@ function build_container() { | |||
| 
 | ||||
| } | ||||
| 
 | ||||
| # Get sops token for free remote key/value server | ||||
| function sops_freekv_token() { | ||||
| 
 | ||||
|   local rc=0 | ||||
|   local sops_file="${BIN_SOPS}/${FREEKV_SOPS_FILE}" | ||||
| 
 | ||||
|   if [ ! -f "${sops_file}" ]; then | ||||
|     return 1 | ||||
|   fi | ||||
| 
 | ||||
|   token=$(sops -d ${sops_file} | yq .freekv_devs_token) | ||||
|   rc=$? | ||||
|   if [ $rc -ne 0 ]; then | ||||
|     return $rc | ||||
|   fi | ||||
| 
 | ||||
|   if [ -n "${token}" ]; then | ||||
|     return 2 | ||||
|   fi | ||||
| 
 | ||||
|   echo "${token}" | ||||
|   return 0 | ||||
| 
 | ||||
| } | ||||
|  |  | |||
|  | @ -19,14 +19,12 @@ | |||
| # junto con este programa. Si no la recibió, consulte <https://www.gnu.org/licenses/>. | ||||
| 
 | ||||
| ODOO_DEVS=${ODOODEVS:=odoo} | ||||
| ODOO_CFGS=${ODOO_CFGS:=configs} | ||||
| ODOODEVS_PATH="${HOME}/${DEVSPATH:=devs}/${ODOO_DEVS}" | ||||
| ODOO_REPO_WEB="$(cat ${HOME}/${DEVSPATH:=devs}/bin/config/odoo.repo.2)" | ||||
| ODOO_REPO_SSH="$(cat ${HOME}/${DEVSPATH:=devs}/bin/config/odoo.repo.1)" | ||||
| ODOO_REPO_ALT="" | ||||
| ODOO_REPO_PKG=packs.repos | ||||
| ODOO_PACK_DEV=packs | ||||
| ODOO_VERSION="$(cat < ${ODOODEVS_PATH}/${ODOO_CFGS}/odoo.version)" | ||||
| 
 | ||||
| 
 | ||||
| ODOO_CFG_VERS=("18") | ||||
|  |  | |||
|  | @ -15,14 +15,11 @@ odmsg_000="(ODOO DEVELOPERS TOOLS)" | |||
| odmsg_001="- ODOODEVS TOOLS " | ||||
| odmsg_002="Ambiente Odoo ya ha sido configurado!" | ||||
| odmsg_003_1="Uso:" | ||||
| odmsg_003_2="[--help|-h] [--version|-v] " | ||||
| odmsg_003_3="<proyecto>" | ||||
| odmsg_003_2="[--help] [--version] " | ||||
| odmsg_004="Descripción: Este script permite configurar ambiente para desarrolladores odoo" | ||||
| odmsg_004_1="Descripción: Este script crea una carpeta con estructura de proyecto odoo" | ||||
| odmsg_005="Opciones:" | ||||
| odmsg_006="  --help     Muestra este mensaje de ayuda." | ||||
| odmsg_007="  --version  Muestra la versión del script." | ||||
| odmsg_008="  <proyecto> Indica el nombre de la carpeta del proyecto odoo" | ||||
| 
 | ||||
| odmsg_010="DESCARGAR ODOO ESCOLAR PACK" | ||||
| odmsg_011="DESCARGAR ODOO BASE PACK" | ||||
|  |  | |||
|  | @ -62,7 +62,6 @@ function install() { | |||
|     local UPDATE=$5 | ||||
| 
 | ||||
| 	# Load base bash library | ||||
|         BIN_HOME=$BIN_PATH | ||||
| 	source $BIN_PATH/$LIBRARY/base.lib | ||||
| 
 | ||||
| 	# Load bootstrap bash library | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue