Skip to content

Commit

Permalink
Merge pull request #16 from baixinsui/update-samples
Browse files Browse the repository at this point in the history
Deployment scripts with multiple files
  • Loading branch information
swaroopar authored Dec 26, 2024
2 parents 0dfccd7 + 3cab55a commit a673bfc
Show file tree
Hide file tree
Showing 22 changed files with 3,819 additions and 3,751 deletions.
433 changes: 219 additions & 214 deletions compute/FlexibleEngine-Compute-terraform-dev.yml

Large diffs are not rendered by default.

427 changes: 216 additions & 211 deletions compute/HuaweiCloud-Compute-opentofu-dev.yml

Large diffs are not rendered by default.

433 changes: 216 additions & 217 deletions compute/HuaweiCloud-Compute-terraform-dev-autofill.yml

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions compute/HuaweiCloud-Compute-terraform-dev-git-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -331,20 +331,20 @@ deployment:
deployerTool:
# kind, Supported values are terraform, opentofu.
kind: terraform
# version, the required version of the deployer tool for the deployer scripts.
# version, the required version of the deployer tool for the deployment scripts.
version: "=1.6.0"
serviceAvailabilityConfig:
- displayName: Availability Zone
varName: availability_zone
mandatory: false
description: The availability zone to deploy the service instance. If the value is empty, the service instance will be deployed in a random availability zone.
# Context for deployment: the context including some kind of parameters for the deployment, such as fix_env, fix_variable, env, variable, env_env, env_variable.
# - fix_env: Values for variable of this type are defined by the managed service provider in the OCL template. Runtime will inject it to deployer as environment variables. This variable is not visible to the end user.
# - fix_variable: Values for variable of this type are defined by the managed service provider in the OCL template. Runtime will inject it to deployer as usual variables. This variable is not visible to the end user.
# - env: Value for a variable of this type can be provided by end user. If marked as mandatory then end user must provide value to this variable. If marked as optional and if end user does not provided it, then the fallback value to this variable is read by runtime (it can read from other sources, e.g., OS env variables). This variable is injected as a environment variable to the deployer.
# - variable: Value for a variable of this type can be provided by end user. . If marked as mandatory then end user must provide value to this variable. If marked as optional and if end user does not provided it, then the fallback value to this variable is read by runtime (it can read from other sources, e.g., OS env variables). This variable is injected as a regular variable to the deployer.
# - env_env: Value to this variable is read by runtime (it can read from other sources, e.g., OS env variables) and injected as a environment variable to the deployer. End user cannot see or change this variable.
# - env_variable: Value to this variable is read by runtime (it can read from other sources, e.g., OS env variables) and injected as a regular variable to the deployer. End user cannot see or change this variable.
# - fix_env: Values for variable of this type are defined by the managed service provider in the OCL template. Runtime will inject it to deployment scripts as environment variables. This variable is not visible to the end user.
# - fix_variable: Values for variable of this type are defined by the managed service provider in the OCL template. Runtime will inject it to deployment scripts as usual variables. This variable is not visible to the end user.
# - env: Value for a variable of this type can be provided by end user. If marked as mandatory then end user must provide value to this variable. If marked as optional and if end user does not provide it, then the fallback value to this variable is read by runtime (it can read from other sources, e.g., OS env variables). This variable is injected as an environment variable to the deployment scripts.
# - variable: Value for a variable of this type can be provided by end user. If marked as mandatory then end user must provide value to this variable. If marked as optional and if end user does not provide it, then the fallback value to this variable is read by runtime (it can read from other sources, e.g., OS env variables). This variable is injected as a regular variable to the deployment scripts.
# - env_env: Value to this variable is read by runtime (it can read from other sources, e.g., OS env variables) and injected as an environment variable to the deployment scripts. End user cannot see or change this variable.
# - env_variable: Value to this variable is read by runtime (it can read from other sources, e.g., OS env variables) and injected as a regular variable to the deployment scripts. End user cannot see or change this variable.
# The parameters will be used to generate the API of the managed service.
variables:
- name: admin_passwd
Expand Down
427 changes: 216 additions & 211 deletions compute/HuaweiCloud-Compute-terraform-dev.yml

Large diffs are not rendered by default.

386 changes: 195 additions & 191 deletions compute/OpenstackTestLab-Compute-terraform-dev.yml

Large diffs are not rendered by default.

386 changes: 195 additions & 191 deletions compute/PlusServer-Compute-terraform-dev.yml

Large diffs are not rendered by default.

386 changes: 195 additions & 191 deletions compute/RegioCloud-Compute-terraform-dev.yml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -350,20 +350,20 @@ deployment:
deployerTool:
# kind, Supported values are terraform, opentofu.
kind: terraform
# version, the required version of the deployer tool for the deployer scripts.
# version, the required version of the deployer tool for the deployment scripts.
version: "=1.6.0"
serviceAvailabilityConfig:
- displayName: Availability Zone
varName: availability_zone
mandatory: false
description: The availability zone to deploy the service instance. If the value is empty, the service instance will be deployed in a random availability zone.
# Context for deployment: the context including some kind of parameters for the deployment, such as fix_env, fix_variable, env, variable, env_env, env_variable.
# - fix_env: Values for variable of this type are defined by the managed service provider in the OCL template. Runtime will inject it to deployer as environment variables. This variable is not visible to the end user.
# - fix_variable: Values for variable of this type are defined by the managed service provider in the OCL template. Runtime will inject it to deployer as usual variables. This variable is not visible to the end user.
# - env: Value for a variable of this type can be provided by end user. If marked as mandatory then end user must provide value to this variable. If marked as optional and if end user does not provided it, then the fallback value to this variable is read by runtime (it can read from other sources, e.g., OS env variables). This variable is injected as a environment variable to the deployer.
# - variable: Value for a variable of this type can be provided by end user. . If marked as mandatory then end user must provide value to this variable. If marked as optional and if end user does not provided it, then the fallback value to this variable is read by runtime (it can read from other sources, e.g., OS env variables). This variable is injected as a regular variable to the deployer.
# - env_env: Value to this variable is read by runtime (it can read from other sources, e.g., OS env variables) and injected as a environment variable to the deployer. End user cannot see or change this variable.
# - env_variable: Value to this variable is read by runtime (it can read from other sources, e.g., OS env variables) and injected as a regular variable to the deployer. End user cannot see or change this variable.
# - fix_env: Values for variable of this type are defined by the managed service provider in the OCL template. Runtime will inject it to the deployment scripts as environment variables. This variable is not visible to the end user.
# - fix_variable: Values for variable of this type are defined by the managed service provider in the OCL template. Runtime will inject it to the deployment scripts as usual variables. This variable is not visible to the end user.
# - env: Value for a variable of this type can be provided by end user. If marked as mandatory then end user must provide value to this variable. If marked as optional and if end user does not provide it, then the fallback value to this variable is read by runtime (it can read from other sources, e.g., OS env variables). This variable is injected as an environment variable to the deployment scripts.
# - variable: Value for a variable of this type can be provided by end user. If marked as mandatory then end user must provide value to this variable. If marked as optional and if end user does not provide it, then the fallback value to this variable is read by runtime (it can read from other sources, e.g., OS env variables). This variable is injected as a regular variable to the deployment scripts.
# - env_env: Value to this variable is read by runtime (it can read from other sources, e.g., OS env variables) and injected as an environment variable to the deployment scripts. End user cannot see or change this variable.
# - env_variable: Value to this variable is read by runtime (it can read from other sources, e.g., OS env variables) and injected as a regular variable to the deployment scripts. End user cannot see or change this variable.
# The parameters will be used to generate the API of the managed service.
variables:
- name: admin_passwd
Expand Down
Loading

0 comments on commit a673bfc

Please sign in to comment.