Skip to content

Sample project for Scala applications with dbx and CI/CD setup based on Github actions.

Notifications You must be signed in to change notification settings

renardeinside/dbx-scala-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample Scala project for Databricks with dbx support

Sample project for Scala 2.12 and Spark 3.0.1 with dbx support, based on some ideas from cicd-templates.

Instructions

  • Install Python 3.7.5 and pip
  • Install dbx:
pip install dbx
  • To configure environment, please use:
dbx configure \
    --profile <name of your profile from ~/.databrickscfg> 
  • To deploy the job, configure .jar file name in conf/deployment.json and then do:
mvn package
dbx deploy --no-rebuild --no-package 
  • To launch the job, use:
dbx launch --job <job-name>
  • Add DATABRICKS_HOST and DATABRICKS_TOKEN to GitHub Actions Secrets.

About

Sample project for Scala applications with dbx and CI/CD setup based on Github actions.

Topics

Resources

Stars

Watchers

Forks

Languages