github astronomer/astro-cli v0.7.0-alpha.6

latest releases: v1.26.0, v1.25.0, v1.24.2-pre...
5 years ago

Changelog

e3777db Refactor cluster switch to prompt user for selection if no domain provided
f44108a Refactor workspace switch to prompt if no ws uuid provided
8476898 Add numeric selection prompt to printtab util
96b1b34 Refactoring graphql queries to use graphql query variables
d484992 Merge pull request #136 from astronomerio/add-fernet-key
85dcfb8 Add fernet key to airflow environment vars
65962b8 Output to stderr if install script download errs
79dea8d Add an example menu-links plugin on init
bfd1bb4 Merge pull request #134 from astronomerio/disable-examples
d0da313 Trim whitespace
2ffef55 Disable airflow examples to match production environment
a0d58b5 Use tab print on deploy selection
d5c58ee Remove circle ci
87d178e Prevent file from being overwritten if it exists
b1b1ec7 Merge pull request #129 from astronomerio/feature/improve-tab-print
d9fcda1 Merge pull request #121 from astronomerio/fix-typo
b90035f Add tab print to context manager
a898e0f Make tabprint global on workspaces
131e531 Move some msgs to deployment specific funcs
bce70d0 Make tab print global to all deployment functions
eab3bd1 Add better arg validation and example to deployment update
2e38d3a Remove unused user list until needed
b4a785e Update list commands to use printutil
28b5490 Properly document printutil
4e924d4 Refactor tab print for color printing
80a95e5 Fixes for printutil
3fd884a Initial commit of a table printing util lib
1bb981d Merge pull request #127 from sid88in/master
edd9898 update PR
f8fc286 update readme
22919f0 Merge pull request #126 from astronomerio/feature/service-accounts
42e6d1d Require label to be passed on sa creation
8527c89 Cleanup default label output
9d8170c Cleanup SA creation success output
723352d Add sa delete command
119d684 Add ApiKey output
a760765 Fix deployment ls spacing
8e82f8b Add service-accounts
84ae936 Merge pull request #124 from astronomerio/feature/drone-ci
3e57a49 Add working drone-ci
9cfc141 Move command to array pattern to match gen. style
875d327 Remove bash script in CI pipeline command
d93bba0 Use DRONE_TAG env
4375859 Utilize filepath matching
f4013a4 Remove tag regex
f0cad5b Add drone tag regex
132fb76 Disable circle-ci autobuilds
4a369c0 Remove tag condition
e59544c Add goreleaser to drone ci
2920de9 Fix typo
a3c076e Replace tabs with spaces
7c08a50 Initial test command
d3b1e32 Add workspace to drone config
cd768ca Add initial drone ci config
e3dea61 Add make uninstall to remove local dev versions
e20e393 Update ldflags to latest
f3e2c70 Clarify deployment piece in the README
5dc8230 Move release-name to front of deploy info
c708225 Check if invite was sent and prompt user
c245517 Merge pull request #115 from astronomerio/feature/ability-to-select-all-deployments
f19e0ab Fix typos
7a925b6 Output workspace id when printing deployments
1f00aa1 Add some validation around workspace context
1748b3d Fix type
4cb55ce Properly wire up call to houston
aded5a9 Remove local enabled config in favor of new context mgmt
cc53136 Fix allDeployments ws logic
f3274eb Integrate local testing with context management
471a65e Add ability to fetch all deployments across all workspaces
0f8e828 Add better error wrapping around docker exec
bbcce3f Merge pull request #117 from astronomerio/feature/astro-cli-97-cleanup-error-handling
017926b Scaffold out debug command
f66a5f9 Removed unused astro-cli/errors package
7bf5afa Silence usage suggestions after validation has occurred
fedb2b0 Return new error, not wrapped
ad85406 Refactor to always use errors.Wrap()
e8c0d34 Merge pull request #77 from astronomerio/feature/6-friendlier-fail-if-config-does-not-exist
22aaee1 Check for config in workingPath - not projectRoot
78c0c3e Handle error where .astro dir exist but config.yaml does not
c40b999 Merge pull request #112 from astronomerio/feature/astro-cli-95-set-target-deployment
146f458 Add arg removed during merge conflict resolution
d42a882 Fix formatting
46ac94c Merge branch 'master' into feature/astro-cli-95-set-target-deployment
8ba398f Merge pull request #113 from astronomerio/feature/88-output-logs-for-local-development
45d1e88 Prompt user to start project when viewing logs
e2bff68 Add command to output local airflow logs
7a99a34 Add timing improvements to example dag and limit max active runs
4819a34 Add improvements to example dag
ff43fa7 Add ability to save a default target deployment in config
a647d4a Merge pull request #111 from astronomerio/feature/Give-User-A-Way-to-Re-build
4efc4a6 Force stop containres after 5 seconds
e4feb13 Add explicit volume driver to allow for rebuilding w/out kill
d584d0e Add docs for installing old versions
54118e3 Merge pull request #110 from astronomerio/feature/implement-v0.3.3-auth-flows
c87a92b Add versioning and compatibility explantation
3d4c4c8 Document testing cli locally
419f06a Remove depcated command example
2c7280b Remove go get install option
808afa8 Remove redudant call to get current cluster
d498adf Add tie-in for testing with houston and orbit locally
f596027 Refactor auth for v0.3.3 auth flows
2b09417 Add check for missing release
70ab336 Merge branch 'master' of https://github.com/astronomerio/astro-cli
b2a7b57 Remove legacy cloud domain config
fae414c Merge pull request #106 from astronomerio/prevent-dir-walking-when-searching-for-project
98c2df6 Prevent dir walking when searching for a project
ebae601 Merge pull request #108 from astronomerio/feature/add-multi-cluster-support
910aef8 Conver newline logic
e689f61 Refactor list outputs
0a6aaeb CJ can't color a text string so andy does it
18ba042 Print current workspace
402c96e Cleaup workspace messageon auth
181037b Update workspace switch commands
e3ddc39 Refactor workspace validator for new config
3268350 Add easier to read current context print
0af7c9e Mark current workspace on workspace list
f990f7e Move GetContext to config package
e796404 Change cluster to context in config
86be3cf Add workspace context switch command
855139e Refactor some cluster methods
8462cc4 Refactor so config.contexts is only accessed via higher-lvl abstractions
c4fbb1b Add cluster switch cmd
b77c76b Ensure auth logic works whether or not domain arg is specified
ff61fb2 Lay ground work for context cluster and workspace management
4ae7f5a Merge pull request #104 from astronomerio/vparekh94-patch-1
51c2943 Added "or"
e58af7a Merge pull request #102 from astronomerio/vparekh94-doc-fix
2973847 Added information on using CLI
88afc49 Strip unused settable prop of a config
824512c Fix indentation
cfe618a Fix version check logic
fc9a989 Add cloudDomain header when deploying
0b7e1ca Prompt user to set global cloud domain when not in proj dir
b4e8359 Set default workspace in config even if previous workspace exist
39d80a2 Add comments to all houston functions
bcf0b05 Update Houston error message
aae32e6 Set token before call to default project workspace
5c2f317 Implement getting nextTag from houston
3ccf3b9 Wrap json field tags in double quotes properly
8627ef6 Auto set default project workspace if one workspace exist
8e98613 Exit so cmd suggestions are not returned on houston error
7944d1b Clean up registry url logic
d3e30f5 Undeprecate accidently deprecated cmd
32e66af Add instructions for generating docs
4067c80 Add latest v0.3.0 docs
66d2925 Update README to prioritize curl install and mention houston-api
69b0c3b Set default workspace if one exists
e8be215 Add update workspace integration with houston
79202e0 Add update deployment integration with houston
046b33e Cleanup workspace ls command output
13c18a7 Re-enable auth logout
1938b8d Remove grafana links on deploy
c681f0e Implment basic auth for 0.3.0
b8403e5 Remove http and api from global vars
82d8f89 Handle no users being available to list
17fa5e0 Implement list users but hide command
b7787f7 Move cmd arg validation into custom files
531647c Re-implment user create for 0.3.0 changes
55a1bde Rename and alphabetize requests wrappers
a200321 Add workspace user add and rmv integration with houston
0033ad5 Remove debug print statement
96c167d Prevent % from being output on single line prints
34dd1cc Add aliases for create, delete, update commands
3d3a9f7 Remove all occurrences of team in favor of workspace
5a6071a Clarify airflow deploy usage
79208b3 Extend use command attr to clarify usage
5fa4459 Use persistentFlags over flags where it makes sense
7e8a7eb Renaming title to label to be in sync with houston
2a26a17 Adding newline to prevent trailing %s
bba202e Rename fetch to get to match houston std
3178a5a Merge pull request #85 from astronomerio/feature/better-integration-of-workspaces
289fa16 Pass in workspace-id flag or default cfg to simplify commands
cb507b5 Merge pull request #84 from astronomerio/feature/deployment-crud
ddd35f4 Add deployment create and delete
3c6af8d Merge pull request #83 from astronomerio/feature/workspace-crud
5429e00 Add deleteWorkspace integration with houston
69d1d1f Speicfy createTeam for json marshalling
cc47573 Add createWorkspace integration
163e977 Add workspace list integration
377310a Merge pull request #82 from astronomerio/feature/v0.3.0-integration
9e59e25 Add new registry auth flow
1d21247 Add wrapper to fetch other astronomer service urls
f5542b1 Remove old registry auth logic
4c09167 Rename houstonErr to err
c19f4c5 Clarify that user create can be used to invite users
862f319 Scaffold out deployment delete cmd
364efb2 Expand command descriptions
c1ad8c9 Implement rudimentary oAuth
62e482b Singularize users.go fn
5133b27 Rename version and git build args to avoid variable name conflict
a25e974 Simplify workspace cmd aliases
beea868 Simplify aliases for deployment
321001c Add standard deprecation message
cd7286e Singularize users package
baefac4 Add latest docs with scaffold commands
2d853aa Scaffold out deployment and workspace rootCmds
81809a5 Deprecate airflow deployment commands in favor of deployment
269ab7b Scope --global flag to only config command
39b3351 Add docs generator and initial docs
4146d4a Fix message imports
1e8dd2e Merge pull request #81 from astronomerio/feature/50-add-command-to-upgrade-cli
e5f9a4d Integrate docker package with messages
d31f0b7 Integrate config package with messages
abec6b4 Integrate cmd package with messages
4ebbbad Integrate auth package with messages
5bab8e3 Integrate airflow package with messages
3493b08 Streamline message names
edbbfd1 Move version logic into own package
768e047 Remove url print
f2b911b Removed unused comments
6a1355c Build out upgrade check logic
dbff195 Add cmd to check for upgrade
6c957ca Add option to skip-verify and pass email through args
c356c65 Add createUser cmd
c15bfc3 Handle errors returned from houston api
3e2f0d4 Account for new Errors attr in response
57317d4 Refactor for graphql query consistency
f1b5d37 Supply config passthrough for a local houston instance
7ff80c6 Prevent cobra help output on expected airflow start error
811b1ee Merge pull request #70 from astronomerio/feature/61-resolve-registry-and-domain-logic
1e497fc Make registry authentication explicit
f6fcfe3 Prevent link output if createDeployment was not successful in houston
69ac79c Remove clickstream command group
0f2ce51 Move token into cloud config
ff5f9ac Hotfix for airflow init
1c5d3f7 Merge pull request #60 from astronomerio/feature/houston-api-integration
c44c382 Missed changed in last merge commit
6d202af Merge branch 'master' into feature/houston-api-integration
66c7ff2 Fix linting and spelling errors
6a834b9 Merge pull request #56 from astronomerio/feature/13-check-for-uncommited-code-before-deploy-cherry-pick
42d0f4f Import utils and change long-name to force
d4a3f93 Houston response updates, deploy lists
74111fb Separate generic http into it's own pkg
8f1bfdf Remove straggling files
8b7a1ba Use pkg convention for standalone utils
49e169b Check for uncommited changes before deploy
e4ce649 Coalesce registry url through config chain
8f0048d Updated config value for token
d1730ba Update GQL queries
3529059 Changed some config vars around
0b51c66 Added IDE’s to .gitignore
8dd8c0d Merge pull request #54 from astronomerio/feature/base64-encode-credentials
21e50f4 Merge pull request #55 from astronomerio/feature/cleanup-airflow-cmds
d6a008a Remove project init logic from cmd definitions
8df8460 Change credential getter to match naming elsewhere
ab8ba48 Encode credentials in config file at rest
3d0540f Add fetch airflow deployments flow
662ed2e Add airflow create deployment flow
9731937 Add houston auth flow
85e19c5 Provide base houston integration
e7b5a17 Merge pull request #53 from astronomerio/feature/capture-docker-auth-login
ea8b8e5 Use default shell instead of assuming bash
855c361 Capture and pass auth to docker login
4421604 Add new curl install script to install options
7e3b3d9 Merge pull request #48 from astronomerio/hotfix/prompt-for-registry-auth
b47d621 Merge pull request #49 from astronomerio/help-docs
440aade Add help info
390befe remove non 200 status code check. not needed when houston takes over deploys
11f0f42 check for non-200 status code on registry request
27fa17c add full var path in ldflags
4ef15e7 add version and commit LDFLAGS to goreleaser
f09380b Merge pull request #47 from astronomerio/hotfix/compose-indentation
1e35da7 fix incorrect indentation on docker-compose tmplt
58c9b47 Merge pull request #46 from astronomerio/feature/4_init_creates_example_dag
ed48732 break out include files
d38f624 add example dag on project init
c945fa1 Merge pull request #44 from astronomerio/feature/36-42-config-improvements
6e2af4d Merge pull request #45 from astronomerio/feature/39-add-suggested-registry-output
9403284 add custom registry flag
aa56108 remove unused gettable and settable props
e9f9466 Merge pull request #43 from astronomerio/feature/37-output-webserver-link
4aab7aa add postgres db to airflow start output
417c3da add PreRun hooks to check for project dir
a842c99 refactor setting of config defaults
a95dcce refactor for yaml file config
60d1111 add webserver quick link for airflow up
814a869 remove old config fetch syntax
03eef51 Merge pull request #34 from astronomerio/feature/cleanup-circle-ci
d8f1430 remove unnecessary circleci steps and scripts
9fe1706 Remove hard coded registry
8af7047 Merge pull request #24 from astronomerio/feature/add-config-setters
6cabdf0 rename godownloader binary pointer
a11041b Merge pull request #33 from astronomerio/feature/rename-binary-install
c7e6606 change bin from astro-cli -> astro
fbdaccc Add one-sentence description
355efc1 integrate goreleaser and godownloader
205cb1c Remove libcompose submodule
7093b14 Merge pull request #32 from astronomerio/hotfix/remove-meta-scripts
a070bd9 remove meta scripts
957ac2b Merge pull request #31 from astronomerio/hotfix/run-meta-as-shell
63e8a69 run Write Meta build step as shell
7ed0a0c Merge pull request #30 from astronomerio/hotfix/add-x-permissions-for-sh
579cbb2 add executable permission on build sh scripts
83b74da Merge pull request #29 from astronomerio/hotfix/rename-circle-config
b4581ae rename circle.yml to config.yml
c07b603 Merge pull request #28 from astronomerio/feature/add-sh-install-script
3a9cd15 add sh install script to repo
509f132 Merge pull request #27 from astronomerio/feature/add-circle-ci
c39bd66 prep for circle ci
4e3591b Merge pull request #26 from astronomerio/hotfix/add-dash-and-asterix-for-goreleaser-linting
cede291 add-dash-and-asterix-for-goreleaser-linting
e7b9276 Remove vendor note in README This issue has been resolved by overriding libcompose dependencies
0764697 Merge pull request #25 from astronomerio/fix-dependencies
e88af77 Pin working set of dependencies and drop git submodule
7855570 Fix docker.Exec
84a020d add config struct and receivers
d7d5428 add config getter setter
2ad49b5 Merge pull request #21 from astronomerio/feature/add-astro-airflow-pause
69bdca6 add astro airflow pause
f96dc12 Fixes airflow logs and remove orphans
421a0ce Merge pull request #14 from astronomerio/alias
65e8780 Update commands to use alias
646c346 Add note for alias
1dc1a32 Remove TODO
14ba610 Add comments
cdb500a Add comments
be6e5ef Merge branch 'master' of https://github.com/astronomerio/astro-cli
ae5e319 Adds automatic versioning to deployment
bb23b3d Merge pull request #11 from astronomerio/setup-docs
5bf3bdf Lint
8493b00 Use right command
f39dd79 Start all commands with $
581b23f Add create a project instructions
c118872 Make install optional
1137930 Add developer instructions
262bcea Fix typo
1eb396d Add development stub
e6de519 Add user quickstart
9ab4a3a Add setup instructions
60ea850 Merge pull request #2 from astronomerio/feature/improve-basic-error-handling
c24b1f3 add basic error handling messages
0bd947c refactor libcompose project creation
bcd3b93 Remove status until we need it
52d0e27 Rename version variables
5f94044 Add version command
7dd48b4 Update goreleaser
9ff98ab Added wrapper to check if in project directory
c375af8 Add airflow ps
45dd02a Switch to RunE
27110a0 Return output from docker commands
dfe0d2b Allow cluster start and stop from nested directory
50bbf79 Update docs
dbbc3d8 Add libcompose and config
4430b4d Fix duplicate command
02286c2 Resolve merge conflict
6826597 Add airflow init command
976d0a5 Merge branch 'master' of github.com:astronomerio/astro-cli
571a6f8 scaffold out clickstream commands
d4f7bba Add comments
d14a573 Refactor a bit
698d9c8 Scaffold users commands
824dfc3 Adds first few auth/airflow commands
a6f1318 Update README.md
26f4c7b Update README.md
6e694bb Add first few commands
00b57ce Initial commit

Don't miss a new astro-cli release

NewReleases is sending notifications on new releases.