diff --git a/action.yml b/action.yml index 0a825c5..32c90d0 100644 --- a/action.yml +++ b/action.yml @@ -41,6 +41,11 @@ inputs: "universe_domain": "googleapis.com" }, "GCP_REGION": "us-east1" + }, + "onprem": { + "ONPREM_SSH_INIT_SERVER_HOST": "", + "ONPREM_SSH_PRIVATE_KEY": "", + "ONPREM_SSH_USER": "" } } }, @@ -73,6 +78,11 @@ inputs: "universe_domain": "googleapis.com" }, "GCP_REGION": "us-east1" + }, + "onprem": { + "ONPREM_SSH_INIT_SERVER_HOST": "", + "ONPREM_SSH_PRIVATE_KEY": "", + "ONPREM_SSH_USER": "" } } }, @@ -105,6 +115,11 @@ inputs: "universe_domain": "googleapis.com" }, "GCP_REGION": "us-east1" + }, + "onprem": { + "ONPREM_SSH_INIT_SERVER_HOST": "", + "ONPREM_SSH_PRIVATE_KEY": "", + "ONPREM_SSH_USER": "" } } } @@ -122,7 +137,7 @@ inputs: description: GitHub token with full access permissions to repositories (used by installer script and RMK). required: true rmk_cluster_provider: - description: Cluster provider. Allowed values are "aws", "azure", "gcp". + description: Cluster provider. Allowed values are "aws", "azure", "gcp", "onprem". required: true default: aws rmk_command: @@ -207,10 +222,14 @@ outputs: runs: using: composite steps: + # setup-python action does not support provisioning Python on RHEL 9 self-hosted runners. + # Python is pre-installed on onprem hosts via configuration management. + # Therefore, this step may legitimately fail and should not block the workflow. - name: Install python uses: actions/setup-python@v4 with: python-version: "3.10" + continue-on-error: true - name: Install python dependencies run: pip install -r ${{ github.action_path }}/requirements.txt