0.14.18 • Published 3 days ago

@sap-ux/deploy-tooling v0.14.18

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 days ago

@sap-ux/deploy-tooling

ui5-task

To be documented ...

Configuration Examples

Minimal Configuration

This is the minimal configuration for deployment to $TMP without the change being recorded in a transport.

- name: abap-deploy-task
  configuration:
    app:
      name: Z_TEST
      package: $TMP
    target:
      url: https://target.example

Configuration with logging enabled

Set the level of detail for log messages, default is Info;

Error = 0,
Warn = 1,
Info = 2,
Verbose = 3,
Debug = 4,
Silly = 5

Configuration example:

- name: abap-deploy-task
  configuration:
    log: 5
    app:
      name: Z_TEST
      package: $TMP
    target:
      url: https://target.example

CLI

The module also exposes the two commands deploy and undeploy.

deploy

The deploy command executes the same functionality as the abap-deploy UI5 task independent of the ui5 build execution. This allows to separate the build and the deployment process e.g. for CI/CD or to provide configurations as CLI args instead of having them defined in the ui5.yaml - nevertheless, the ui5.yaml is always required as a basis for the configuration.

Usage: deploy [options]

Options:
  -c, --config <path-to-yaml>          Path to config yaml file
  -y, --yes                            yes to all questions (default: false)
  -n, --no-retry                       do not retry if deploy fails for any reason, for CI/CD pipeline flows this option needs to be included (default: false)
  --verbose                            verbose log output (default: false)
  --destination  <destination>         Destination in SAP BTP pointing to an ABAP system
  --url <target-url>                   URL of target ABAP system
  --service                            (Optional) Alias for the target SAPUI5 Respository OData Service
  --client <sap-client>                Client number of target ABAP system
  --cloud                              target is an ABAP Cloud system
  --cloud-service-key <file-location>  JSON file location with the ABAP cloud service key.
  --cloud-service-env                  Load ABAP cloud service properties from either a .env file or your environment variables. Secrets in your .env should not be committed to source control.
  --username                           ABAP Service username
  --password                           ABAP Service password
  --create-transport                   Create a transport request during deployment
  --transport <transport-request>      Transport number to record the change in the ABAP system
  --name <bsp-name>                    Project name of the app
  --no-strict-ssl                      Deactivate SSL certificate validation, enabled by default
  --test                               Run in test mode. ABAP backend reports deployment errors without actually deploying. (use --no-test to deactivate it)
  --package <abap-package>             Package name for deploy target ABAP system
  --description <description>          Project description of the app
  --safe                               Prevents accidentally breaking deployments.
  --keep                               Keep a copy of the deployed archive in the project folder.
  --archive-url <url>                  Download app bundle from this url and upload this bundle for deployment
  --archive-path <path>                Provide path of the app bundle for deployment
  --archive-folder <path>              Provide path to a folder for deployment
  -v, --version                        version of the deploy tooling
  -h, --help                           display help for command

undeploy

The undeploy command allows undeploying a previously deployed application. This functionality is only available as CLI command and not as ui5 task.

Usage: undeploy [options]

Options:
  -c, --config <path-to-yaml>          Path to config yaml file
  -y, --yes                            yes to all questions (default: false)
  -n, --no-retry                       do not retry if undeploy fails for any reason, for CI/CD pipeline flows this option needs to be included (default: false)
  --verbose                            verbose log output (default: false)
  --destination  <destination>         Destination in SAP BTP pointing to an ABAP system
  --url <target-url>                   URL of target ABAP system
  --service                            (Optional) Alias for the target SAPUI5 Respository OData Service
  --client <sap-client>                Client number of target ABAP system
  --cloud                              target is an ABAP Cloud system
  --cloud-service-key <file-location>  JSON file location with the ABAP cloud service key.
  --cloud-service-env                  Load ABAP cloud service properties from either a .env file or your environment variables
  --username                           ABAP Service username
  --password                           ABAP Service password
  --transport <transport-request>      Transport number to record the change in the ABAP system
  --create-transport                   Create a transport request during deployment
  --package <abap-package>             Package name for deploy target ABAP system (only required when --create-transport is used)
  --name <bsp-name>                    Project name of the app
  --no-strict-ssl                      Deactivate SSL certificate validation, enabled by default
  --test                               Run in test mode. ABAP backend reports undeployment errors without actually undeploying (use --no-test to deactivate it).
  -v, --version                        version of the deploy tooling
  -h, --help                           display help for command
0.14.18

3 days ago

0.14.17

6 days ago

0.14.16

6 days ago

0.14.15

15 days ago

0.14.14

16 days ago

0.14.13

27 days ago

0.14.12

27 days ago

0.14.11

29 days ago

0.14.10

1 month ago

0.14.9

1 month ago

0.14.7

2 months ago

0.14.8

2 months ago

0.14.6

2 months ago

0.14.5

2 months ago

0.14.4

2 months ago

0.14.2

2 months ago

0.14.3

2 months ago

0.14.1

3 months ago

0.14.0

3 months ago

0.13.4

3 months ago

0.13.3

3 months ago

0.13.1

3 months ago

0.13.2

3 months ago

0.13.0

3 months ago

0.12.0

3 months ago

0.11.9

4 months ago

0.11.10

4 months ago

0.9.12

8 months ago

0.9.13

8 months ago

0.9.14

8 months ago

0.9.15

8 months ago

0.9.10

8 months ago

0.9.11

8 months ago

0.9.16

7 months ago

0.9.17

7 months ago

0.9.18

7 months ago

0.11.8

6 months ago

0.11.0

7 months ago

0.11.1

7 months ago

0.11.2

7 months ago

0.11.3

6 months ago

0.11.4

6 months ago

0.11.5

6 months ago

0.11.6

6 months ago

0.11.7

6 months ago

0.9.0

9 months ago

0.7.2

10 months ago

0.7.1

10 months ago

0.9.2

9 months ago

0.9.1

9 months ago

0.5.0

10 months ago

0.7.0

10 months ago

0.9.8

8 months ago

0.9.7

9 months ago

0.9.9

8 months ago

0.9.4

9 months ago

0.9.3

9 months ago

0.9.6

9 months ago

0.9.5

9 months ago

0.10.1

7 months ago

0.10.2

7 months ago

0.9.20

7 months ago

0.10.0

7 months ago

0.4.5

10 months ago

0.8.0

9 months ago

0.4.4

10 months ago

0.4.1

10 months ago

0.4.3

10 months ago

0.6.0

10 months ago

0.4.2

10 months ago

0.4.0

11 months ago

0.3.4

11 months ago

0.3.2

11 months ago

0.3.3

11 months ago

0.2.12

11 months ago

0.2.11

11 months ago

0.2.10

11 months ago

0.3.0

11 months ago

0.2.7

12 months ago

0.2.6

12 months ago

0.2.9

11 months ago

0.2.8

11 months ago

0.3.1

11 months ago

0.2.5

12 months ago

0.2.4

1 year ago

0.2.3

1 year ago

0.2.2

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago