Describe the issue
When i call the databricks bundle init <SSH-PATH> command, i want to be able to fetch the template from GitHub Enterprise over SSH.
Steps to reproduce the behavior
- Get GitHub Enterprise repo - Find a repository which is stored under Github Enterprise. The url in your browser should follow similar pattern: https://.ghe.com//. It should NOT start with https://github.com
- Get the SSH link to the repo - Store the value in
Code -> Local -> SSH for future use.
- Create dummy template - Upload a dummy
databricks_template_schema.json file into the root folder of the repository.
- Create a dummy project to test the template - Create a new folder somewhere on your computer which is going to be used for template testing.
- Run - Call the
databricks bundle init command from the new folder, use the SSH link to the repo which we retrieved previously. In my case it is databricks bundle init company@company.ghe.com/company/databricks-cli-template.git' --template-dir coffee_sales_example
Expected Behavior
The bundle gets initiated using the provided template which is downloaded from Github enterprise over SSH.
Actual Behavior
After executing the command, i get the following error: ```
Error: not a bundle template: expected to find a template schema file at databricks_template_schema.json
exit status 1
### OS and CLI version
CLI version `Databricks CLI v1.4.0`, tested in a Fedora Docker devcontainer in Bash and also on Windows in Powershell.
### Is this a regression?
No.
### Debug Logs
[root@45ac4a58cd7c temp]# databricks bundle init 'company@company.ghe.com:company/databricks-cli-template' --log-level=debug
14:06:07 Info: start pid=84525 version=1.4.0 args="databricks, bundle, init, company@company.ghe.com:company/databricks-cli-template, --log-level=debug"
14:06:07 Debug: profile "xxx" resolved from [__settings__].default_profile pid=84525
14:06:07 Debug: Loading "xxx" profile from /root/.databricks/.databrickscfg pid=84525 sdk=true
14:06:07 Debug: [Local Cache] using cache key: xxx pid=84525
14:06:07 Debug: [Local Cache] cache hit pid=84525
14:06:07 Debug: Resolved cloud from hostname: "AWS" pid=84525 sdk=true
14:06:07 Debug: Resolved token_audience from host metadata token_federation_default_oidc_audiences: "https://xxx.cloud.databricks.com/oidc/v1/token" pid=84525 sdk=true
14:06:07 Debug: Resolved discovery_url from host metadata: "https://xxx.cloud.databricks.com/oidc/.well-known/oauth-authorization-server" pid=84525 sdk=true
Error: not a bundle template: expected to find a template schema file at databricks_template_schema.json
14:06:07 Info: failed execution pid=84525 exit_code=1 error="not a bundle template: expected to find a template schema file at databricks_template_schema.json"
14:06:07 Debug: no telemetry logs to upload pid=84525
[root@45ac4a58cd7c temp]#
Describe the issue
When i call the
databricks bundle init <SSH-PATH>command, i want to be able to fetch the template from GitHub Enterprise over SSH.Steps to reproduce the behavior
Code -> Local -> SSHfor future use.databricks_template_schema.jsonfile into the root folder of the repository.databricks bundle initcommand from the new folder, use the SSH link to the repo which we retrieved previously. In my case it isdatabricks bundle init company@company.ghe.com/company/databricks-cli-template.git' --template-dir coffee_sales_exampleExpected Behavior
The bundle gets initiated using the provided template which is downloaded from Github enterprise over SSH.
Actual Behavior
After executing the command, i get the following error: ```
Error: not a bundle template: expected to find a template schema file at databricks_template_schema.json
exit status 1