Google Compute Engine with YAML
Tip
Google Compute Engine [Password]
YAML parameters for Google Compute Engine
Name | Type | Description |
---|---|---|
action Required | String | The ID of the action. |
type Required | String | The type of the action. Should be set to GCE . |
authentication_mode Required | String | The authentication mode for SSH. Should be set to PASS . |
host Required | String | The host for the connection. |
login Required | String | The username required to connect to the server. |
port Required | String | The port for the connection. |
input_type | String | Defines whether the files are deployed from the repository or from the build filesystem. Can be one of SCM_REPOSITORY or BUILD_ARTIFACTS . |
local_path | String | The path in the repository. |
password | String | The password required to connect to the server. |
remote_path | String | The absolute or relative path on the remote server. |
deployment_excludes | String[] | The paths and/or files that will be left out during the deployment. |
deployment_includes | String[] | The exceptions from the ignore patterns set in deployment_excludes . |
YAML example for Google Compute Engine
yamlactions: - action: "Upload files to GCE" type: "GCE" input_type: "SCM_REPOSITORY" local_path: "/src" remote_path: "/www" login: "api_tests_user" password: "$api_tests_password" host: "123.45.67.89" port: "22" authentication_mode: "PASS" deployment_excludes: - "/tmp" - "*.log" deployment_includes: - "/tmp/assets" - "/tmp/styles"
Google Compute Engine [Private Key]
YAML parameters for Google Compute Engine
Name | Required | Type | Description |
---|---|---|---|
action Required | String | The ID of the action. | |
type Required | String | The type of the action. Should be set to GCE . | |
authentication_mode Required | String | The authentication mode for SSH. Should be set to PRIVATE_KEY or ENV_KEY . | |
host Required | String | The host for the connection. | |
login Required | String | The username required to connect to the server. | |
port Required | String | The port for the connection. | |
server_key Required | String | The private SSH key. Required if authentication_mode is set to PRIVATE_KEY . | |
env_key Required | String | The private SSH key name defined in environment variables. Required if authentication_mode is set to ENV_KEY . | |
input_type | String | Defines whether the files are deployed from the repository or from the build filesystem. Can be one of SCM_REPOSITORY or BUILD_ARTIFACTS . | |
local_path | String | The path in the repository. | |
passphrase | String | The passphrase for the private SSH key. | |
remote_path | String | The absolute or relative path on the remote server. | |
deployment_excludes | String[] | The paths and/or files that will be left out during the deployment. | |
deployment_includes | String[] | The exceptions from the ignore patterns set in deployment_excludes . |
YAML example for Google Compute Engine
yamlactions: - action: "Upload files to GCE" type: "GCE" input_type: "SCM_REPOSITORY" local_path: "/src" remote_path: "/www" login: "api_tests_user" host: "123.45.67.89" port: "22" server_key: "secure!5sC8oH94UIHZVKIUxTp0q/lSHjIgjP6+Lz0/6BpaKII=" passphrase: "api_tests_passphrase" authentication_mode: "PRIVATE_KEY" deployment_excludes: - "/tmp" - "*.log" deployment_includes: - "/tmp/assets" - "/tmp/styles"
yamlactions: - action: "Upload files to GCE" type: "GCE" input_type: "SCM_REPOSITORY" local_path: "/src" remote_path: "/www" login: "api_tests_user" host: "123.45.67.89" port: "22" server_key: "secure!5sC8oH94UIHZVKIUxTp0q/lSHjIgjP6+Lz0/6BpaKII=" env_key: "MyKey" passphrase: "api_tests_passphrase" authentication_mode: "ENV_KEY" deployment_excludes: - "/tmp" - "*.log" deployment_includes: - "/tmp/assets" - "/tmp/styles"
Google Compute Engine [Private Key & Password]
YAML parameters for Google Compute Engine
Name | Type | Description |
---|---|---|
action Required | String | The ID of the action. |
type Required | String | The type of the action. Should be set to GCE . |
authentication_mode Required | String | The authentication mode for SSH. Should be set to PRIVATE_KEY_AND_PASS . |
host Required | String | The host for the connection. |
login Required | String | The username required to connect to the server. |
password Required | String | The password required to connect to the server. |
port Required | String | The port for the connection. |
server_key Required | String | The private SSH key. |
input_type | String | Defines whether the files are deployed from the repository or from the build filesystem. Can be one of SCM_REPOSITORY or BUILD_ARTIFACTS . |
local_path | String | The path in the repository. |
passphrase | String | The passphrase for the private SSH key. |
remote_path | String | The absolute or relative path on the remote server. |
deployment_excludes | String[] | The paths and/or files that will be left out during the deployment. |
deployment_includes | String[] | The exceptions from the ignore patterns set in deployment_excludes . |
YAML example for Google Compute Engine
yamlactions: - action: "Upload files to GCE" type: "GCE" input_type: "SCM_REPOSITORY" local_path: "/src" remote_path: "/www" login: "api_tests_user" host: "123.45.67.89" port: "22" server_key: "secure!5sC8oH94UIHZVKIUxTp0q/lSHjIgjP6+Lz0/6BpaKII=" passphrase: "api_tests_passphrase" password: "api_tests_password" authentication_mode: "PRIVATE_KEY_AND_PASS" deployment_excludes: - "/tmp" - "*.log" deployment_includes: - "/tmp/assets" - "/tmp/styles"
Last modified on Sep 24, 2024