kps-uk/KPS CCv2 Action

Build, deploy, test and snapshot SAP Commerce Cloud (CCv2) environments via the CCv2 API

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
stepThe action to perform. One of BUILD, DEPLOY, TEST, CREATE_SNAPSHOT, RESTORE_SNAPSHOTyesBUILD
ccv2_environmentThe name of the environment in CCv2. Used for the API requests. (e.g. d1, s1, p1)no
ccv2_subscription_idSubscription ID of the CCv2 accountyes
ccv2_api_keyAPI Key/Token for accessing CCv2yes
ccv2_oauth_token_endpointOAuth token endpoint for CCv2 (optional, alternative to API key auth)no
ccv2_oauth_client_idOAuth client id for CCv2 (optional)no
ccv2_oauth_client_secretOAuth client secret for CCv2 (optional)no
ccv2_api_timeoutHow long to wait for build/compile to finish (seconds)no1200
ccv2_api_request_spacingTime between status calls to API (seconds)no30
slack_webhooksSpace-separated list of Slack Webhooks to send alerts to (optional)no
teams_webhooksSpace-separated list of Teams Webhooks to send alerts to (optional)no
jira_prefixPrefix before ticket in Jira URLno
ccv2_deploy_strategyDeployment Strategy. Possible options are ROLLING_UPDATE and RECREATE. (defaults to RECREATE)noRECREATE
system_update_file_extensionsFile extensions (suffixes) which, if altered, trigger a System Update. (defaults to items.xml, groovy and impex)no-items.xml,.groovy,.impex
ccv2_builds_limitLimit the number of builds returned when looking for existing builds to deployno30
ccv2_application_codeThe application code within CCv2nocommerce-cloud
jira_webhookWebhook for Jira automation (optional)no
path_to_environment_propertiesPath to environment specific properties (optional)no
version_propertyThe property which contains the version, this will be appended by the SAP build codeno
build_nameOverride the generated CCv2 build name (optional)no
pre_alertDo you want an alert when the build starts as well as when the deployment starts?no
force_migrationShould we system update regardless of file changes?no
versionExplicit version to act upon (optional)no
jmeter_test_packageThe name of the JMeter test package in CCv2no
jmeter_test_timeoutThe number of minutes to wait for test package to completeno1800
debugSet to axios to debug connection to CCv2 (optional)no
redirect_configPath to properties file detailing redirectsno
static_files_configPath to properties file detailing static filesno
secure_repo_usernameUsername for accessing a secure properties repository (optional)no
secure_repo_passwordPassword for accessing a secure properties repository (optional)no
secure_repo_ssh_keySSH key (as a string) for accessing a secure properties repository (optional)no
git_default_from_hashDefault git hash to diff from when no previous deployment is found (optional)no
default_update_modeDefault database update mode, e.g. INITIALIZE (use with extreme care)no
snapshot_environmentEnvironment to act upon for CREATE_SNAPSHOT / RESTORE_SNAPSHOT stepsno
snapshot_cutoff_daysMaximum age (days) of a snapshot to restoreno
tidy_host_alias_setsWhether to tidy unused host alias sets (optional)no
use_deployed_ancestorDiff against the last deployed ancestor commit (optional)no
host_alias_setPath to host alias setno

no outputs