kps-uk/KPS CCv2 Action
Build, deploy, test and snapshot SAP Commerce Cloud (CCv2) environments via the CCv2 API
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| step | The action to perform. One of BUILD, DEPLOY, TEST, CREATE_SNAPSHOT, RESTORE_SNAPSHOT | yes | BUILD |
| ccv2_environment | The name of the environment in CCv2. Used for the API requests. (e.g. d1, s1, p1) | no | — |
| ccv2_subscription_id | Subscription ID of the CCv2 account | yes | — |
| ccv2_api_key | API Key/Token for accessing CCv2 | yes | — |
| ccv2_oauth_token_endpoint | OAuth token endpoint for CCv2 (optional, alternative to API key auth) | no | — |
| ccv2_oauth_client_id | OAuth client id for CCv2 (optional) | no | — |
| ccv2_oauth_client_secret | OAuth client secret for CCv2 (optional) | no | — |
| ccv2_api_timeout | How long to wait for build/compile to finish (seconds) | no | 1200 |
| ccv2_api_request_spacing | Time between status calls to API (seconds) | no | 30 |
| slack_webhooks | Space-separated list of Slack Webhooks to send alerts to (optional) | no | — |
| teams_webhooks | Space-separated list of Teams Webhooks to send alerts to (optional) | no | — |
| jira_prefix | Prefix before ticket in Jira URL | no | — |
| ccv2_deploy_strategy | Deployment Strategy. Possible options are ROLLING_UPDATE and RECREATE. (defaults to RECREATE) | no | RECREATE |
| system_update_file_extensions | File extensions (suffixes) which, if altered, trigger a System Update. (defaults to items.xml, groovy and impex) | no | -items.xml,.groovy,.impex |
| ccv2_builds_limit | Limit the number of builds returned when looking for existing builds to deploy | no | 30 |
| ccv2_application_code | The application code within CCv2 | no | commerce-cloud |
| jira_webhook | Webhook for Jira automation (optional) | no | — |
| path_to_environment_properties | Path to environment specific properties (optional) | no | — |
| version_property | The property which contains the version, this will be appended by the SAP build code | no | — |
| build_name | Override the generated CCv2 build name (optional) | no | — |
| pre_alert | Do you want an alert when the build starts as well as when the deployment starts? | no | — |
| force_migration | Should we system update regardless of file changes? | no | — |
| version | Explicit version to act upon (optional) | no | — |
| jmeter_test_package | The name of the JMeter test package in CCv2 | no | — |
| jmeter_test_timeout | The number of minutes to wait for test package to complete | no | 1800 |
| debug | Set to axios to debug connection to CCv2 (optional) | no | — |
| redirect_config | Path to properties file detailing redirects | no | — |
| static_files_config | Path to properties file detailing static files | no | — |
| secure_repo_username | Username for accessing a secure properties repository (optional) | no | — |
| secure_repo_password | Password for accessing a secure properties repository (optional) | no | — |
| secure_repo_ssh_key | SSH key (as a string) for accessing a secure properties repository (optional) | no | — |
| git_default_from_hash | Default git hash to diff from when no previous deployment is found (optional) | no | — |
| default_update_mode | Default database update mode, e.g. INITIALIZE (use with extreme care) | no | — |
| snapshot_environment | Environment to act upon for CREATE_SNAPSHOT / RESTORE_SNAPSHOT steps | no | — |
| snapshot_cutoff_days | Maximum age (days) of a snapshot to restore | no | — |
| tidy_host_alias_sets | Whether to tidy unused host alias sets (optional) | no | — |
| use_deployed_ancestor | Diff against the last deployed ancestor commit (optional) | no | — |
| host_alias_set | Path to host alias set | no | — |
Outputs
no outputs