Armado de un paquete de implementación
Un paquete de implementación es un archivo comprimido que contiene todos los elementos necesarios para ejecutar una implementación en un ambiente del cliente.
Como mínimo, el paquete incluye:
Un BAP (paquete de aplicación de negocio con compilaciones tanto del front como del back listas para ser implementadas en el ambiente del cliente).
Un archivo steps2run.vt, que actúa como una “receta” que indica a vt-wizard qué implementaciones ejecutar y en qué orden.
Prerrequisitos
Tener un BAP disponible con los componentes del front y el back que necesitan implementarse en el ambiente destino (exportados desde Studio). Lee Crea un business application package para obtener más información.
Tener una carpeta de implementaciones ya creada en repo.veritran.com. Ejemplo: VTQA-PACKAGES. Si no tienes la carpeta creada, sigue los pasos que se explican a continuación para crear la estructura en su repositorio.
Arma el paquete de implementación
[en] To assemble the package, follow the instructions below.
[en] Create the structure in the repository:
[en] Access https://repo.veritran.com/.
[en] Locate the folder corresponding to the client.
[en] Select the environment where the implementation will be prepared.
[en] Create a folder for the implementation inside VTQA-PACKAGES. i.e: IMPLE_TEST_BAP_V001.
[en] Create a subfolder named VT_NET_OBJECTS.
[en] Upload the BAP into the VT_NET_OBJECTS folder exactly as it is downloaded from Studio.
[en] Attach any additional files as needed (for example: business parameters, transaction response codes, etc.).
[en] Attach the steps2run.vt file. This file must specify the exact name of the BAP and the NODE identifier where the implementation will be executed, following this structure: <BAP name:nodeID>. I.e: business-application-test-bapd-0.0.1-rc001.tar.gz:NDA1
[en] Create the implementation in Jenkins:
[en] Access Jenkins and go to the implementations section of the repository.
[en] In the run_implementation option, select Build with parameters.
[en] Complete the following:
[en] IMPLENAME: Name of the folder containing the implementation in the repository.
[en] NODE: Unique identifier of the server/node where the implementation will be executed.
[en] TOKEN: API token generated in Workspace in the target environment. This enables the deployment of the BAP. This field is optional, as it can also be entered when executing vt-wizard in the target environment.
[en] Click Build to start packaging the full implementation package.
[en] Monitor the generation status in Jenkins. The tool notifies when the implementation is ready.
[en] You will find the VT-FULL-IMPLE_TEST_BAP_V001.tar.gz file in the VTQA-PACKAGES implementations folder. This file contains: the BAP, additional files (parameters, response codes, etc.), the steps2run.vt file and vt-wizard scripts required to execute the implementation in the defined environment.
[en] The package will then be available either for direct download or for FTP transfer to the client environment.