andreas-prouza / blog

0 stars 0 forks source link

New IBM i deployment tool #5

Open andreas-prouza opened 2 months ago

andreas-prouza commented 2 months ago

You may have noticed my build tool (OBI). Now, I am working on a deployment tool as an additional modle to OBI.

This tool will be presented in 2 parts:

Backend

Following features contains the backend ...

WebAPIs

To access and execute steps of each deployment

Workflow based deployment

This definition is stored as JSON in etc/workflow.json.

Various workflows with different steps can be defined. Means, for each deployment, you can choose which workflow should be used.
Here are 2 examples:

For each workflow you can define:

Processing steps

As mentioned above, multiple processing steps can be defined for each stage.

There are already predefined steps (save objects, transfer to another system, backup, restore objects, ...).
In addition further steps can be defined. The following types are supported:

Web frontend

Overview of deployments:

image

Detailed deployment information

The workflow including it's stages will be printed in a graphical way:

Detailed informations for each step can be displayed:

image

Each object will be listed and tracked.

image

For WebAPI usage

An authentication token is necessary:

image

Integration in your IDE

image

In vscode (or RDi) you just add a further button to runs the deployment script, which already exist in IBM i Build with OBI

Authority requirements

Both, the deployment tool and OBI do not require any special permissions.
Everything (including the web server) can run under an user profile with user class *USER without any other special permissions.

Only if you need to build the objects with specific authority object authority, you may need more.

andreas-prouza commented 1 month ago

It's now available: https://github.com/andreas-prouza/i-releaser