Skip to content

Commit 9d8e18f

Browse files
authored
Merge pull request #100 from edenlabllc/feature/RMK-V2-add-onprem-cluster-provider
Feature/rmk v2 add onprem cluster provider
2 parents 0a39a0e + 00e0fe8 commit 9d8e18f

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

action.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ inputs:
4141
"universe_domain": "googleapis.com"
4242
},
4343
"GCP_REGION": "us-east1"
44+
},
45+
"onprem": {
46+
"ONPREM_SSH_INIT_SERVER_HOST": "<ssh_init_server_[host|ip]>",
47+
"ONPREM_SSH_PRIVATE_KEY": "<ssh_private_key>",
48+
"ONPREM_SSH_USER": "<ssh_user>"
4449
}
4550
}
4651
},
@@ -73,6 +78,11 @@ inputs:
7378
"universe_domain": "googleapis.com"
7479
},
7580
"GCP_REGION": "us-east1"
81+
},
82+
"onprem": {
83+
"ONPREM_SSH_INIT_SERVER_HOST": "<ssh_init_server_[host|ip]>",
84+
"ONPREM_SSH_PRIVATE_KEY": "<ssh_private_key>",
85+
"ONPREM_SSH_USER": "<ssh_user>"
7686
}
7787
}
7888
},
@@ -105,6 +115,11 @@ inputs:
105115
"universe_domain": "googleapis.com"
106116
},
107117
"GCP_REGION": "us-east1"
118+
},
119+
"onprem": {
120+
"ONPREM_SSH_INIT_SERVER_HOST": "<ssh_init_server_[host|ip]>",
121+
"ONPREM_SSH_PRIVATE_KEY": "<ssh_private_key>",
122+
"ONPREM_SSH_USER": "<ssh_user>"
108123
}
109124
}
110125
}
@@ -122,7 +137,7 @@ inputs:
122137
description: GitHub token with full access permissions to repositories (used by installer script and RMK).
123138
required: true
124139
rmk_cluster_provider:
125-
description: Cluster provider. Allowed values are "aws", "azure", "gcp".
140+
description: Cluster provider. Allowed values are "aws", "azure", "gcp", "onprem".
126141
required: true
127142
default: aws
128143
rmk_command:
@@ -207,10 +222,14 @@ outputs:
207222
runs:
208223
using: composite
209224
steps:
225+
# setup-python action does not support provisioning Python on RHEL 9 self-hosted runners.
226+
# Python is pre-installed on onprem hosts via configuration management.
227+
# Therefore, this step may legitimately fail and should not block the workflow.
210228
- name: Install python
211229
uses: actions/setup-python@v4
212230
with:
213231
python-version: "3.10"
232+
continue-on-error: true
214233

215234
- name: Install python dependencies
216235
run: pip install -r ${{ github.action_path }}/requirements.txt

0 commit comments

Comments
 (0)