mirror of https://github.com/databricks/cli.git
49 lines
1.4 KiB
Plaintext
49 lines
1.4 KiB
Plaintext
|
|
>>> EXITCODE=0 errcode [CLI] bundle validate
|
|
Executing 'preinit' script
|
|
from myscript.py 0 preinit: hello stdout!
|
|
from myscript.py 0 preinit: hello stderr!
|
|
Executing 'postinit' script
|
|
from myscript.py 0 postinit: hello stdout!
|
|
from myscript.py 0 postinit: hello stderr!
|
|
Name: scripts
|
|
Target: default
|
|
Workspace:
|
|
User: [USERNAME]
|
|
Path: /Workspace/Users/[USERNAME]/.bundle/scripts/default
|
|
|
|
Validation OK!
|
|
|
|
>>> EXITCODE=1 errcode [CLI] bundle validate
|
|
Executing 'preinit' script
|
|
from myscript.py 1 preinit: hello stdout!
|
|
from myscript.py 1 preinit: hello stderr!
|
|
Error: failed to execute script: exit status 1
|
|
|
|
Name: scripts
|
|
|
|
Found 1 error
|
|
|
|
Exit code: 1
|
|
|
|
>>> EXITCODE=0 errcode [CLI] bundle deploy
|
|
Executing 'preinit' script
|
|
from myscript.py 0 preinit: hello stdout!
|
|
from myscript.py 0 preinit: hello stderr!
|
|
Executing 'postinit' script
|
|
from myscript.py 0 postinit: hello stdout!
|
|
from myscript.py 0 postinit: hello stderr!
|
|
Executing 'prebuild' script
|
|
from myscript.py 0 prebuild: hello stdout!
|
|
from myscript.py 0 prebuild: hello stderr!
|
|
Executing 'postbuild' script
|
|
from myscript.py 0 postbuild: hello stdout!
|
|
from myscript.py 0 postbuild: hello stderr!
|
|
Executing 'predeploy' script
|
|
from myscript.py 0 predeploy: hello stdout!
|
|
from myscript.py 0 predeploy: hello stderr!
|
|
Error: Post "[DATABRICKS_URL]/api/2.0/workspace-files/import-file/Workspace%2FUsers%2F[USERNAME]%2F.bundle%2Fscripts%2Fdefault%2Fstate%2Fdeploy.lock?overwrite=false": EOF
|
|
|
|
|
|
Exit code: 1
|