Skip to content

Commit ac3f91c

Browse files
committed
...
1 parent 13e895a commit ac3f91c

File tree

8 files changed

+1
-178
lines changed

8 files changed

+1
-178
lines changed

runtime-create-manifest-action/action.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,6 @@ spec:
1717
required: true
1818
help: 'Inform environment used to deploy'
1919

20-
- label: Workspace used to deploy
21-
name: workspace
22-
type: text
23-
required: true
24-
help: 'Inform workspace used to deploy'
25-
2620
- label: Deploy version tag
2721
name: version_tag
2822
type: text

runtime-create-manifest-action/script.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,12 @@ def run_command(command: List[str]) -> subprocess.Popen:
5252

5353
def run(metadata) -> None:
5454
"""
55-
Executes a series of StackSpot CLI commands to set the workspace and deploy a plan.
55+
Executes a cmd of StackSpot CLI to deploy a plan.
5656
5757
Args:
5858
metadata (object): An object containing the inputs required for the execution.
5959
"""
6060
stk = sys.argv[0]
61-
workspace = metadata.inputs['workspace']
6261
environment = metadata.inputs['environment']
6362
version_tag = metadata.inputs['version_tag']
6463
open_api_path: Optional[str] = metadata.inputs.get('open_api_path')
@@ -72,9 +71,7 @@ def run(metadata) -> None:
7271
optional_params += dynamic_inputs.split()
7372

7473
# Prepare the StackSpot CLI commands
75-
stk_use_workspace = [stk, "use", "workspace", workspace]
7674
stk_deploy_plan = [stk, "deploy", "plan", "--env", environment, "--version", version_tag] + optional_params
7775

7876
# Execute the commands
79-
run_command(stk_use_workspace)
8077
run_command(stk_deploy_plan)

runtime-rollback-action/action.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,6 @@ spec:
1212
en-us: docs/en-us/docs.md
1313
repository: https://github.com/stack-spot/workflow-stackspot-actions-runtime-selfhosted.git
1414
inputs:
15-
- label: Workspace
16-
name: workspace
17-
type: text
18-
required: true
19-
help: "Workspace used to deploy"
20-
2115
- label: Environment
2216
name: environment
2317
type: text

runtime-run-all/.stkignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

runtime-run-all/action.yaml

Lines changed: 0 additions & 16 deletions
This file was deleted.

runtime-run-all/docs/en-us/docs.md

Lines changed: 0 additions & 54 deletions
This file was deleted.

runtime-run-all/docs/pt-br/docs.md

Lines changed: 0 additions & 54 deletions
This file was deleted.

runtime-run-all/script.py

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)