kalleeh / gurum-cli Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
gurum-cli/gurumcommon/gurum_manifest.py
Line 72 in 777362b
Login first run does not find the configuration file and creates a dummy file. Running login again exits with an error that the configuration file is invalid. Consider moving configuration wizard from login command to automatically start if configuration file is not found.
Acceptance Criteria:
gureume init
Corresponding flow from CLI should be.
git push gureume master
Make CLI inherit application context from local active folder, add advanced structure to interact more natively with API structure.
Acceptance Criteria:
When running commands we use the plural variations gureume apps
.
It might be best to change these to singular e.g. gureume app
as we will be interacting with a single app.
gurum up is preferred method now so should clean up create and update commands to defer users from using that.
If your primary region is not eu-west-1 then it will be overwritten when running the login command.
We will need to ensure the region chosen during setup is used instead.
Running tests on PR, block if failing.
Automatic versioning.
Create GitHub release when merged to master
To simplify distribution of the CLI for a particular platform deployment it would be beneficial to be able to have the user pool id, client id, region etc as part of the git repository.
In this way new users could just git clone the CLI project and the log in to the platform with the correct settings.
Admin would need to modify this file before distributing in this organization to the correct cognito and region information.
Access tokens file should still stay in the same path as now, ~/Library/Application Support/gureume/.gureume
Add support for service.yaml file, example below
service:
name: my-service
environments:
- dev
- test
- uat
- approval
- prod
backing-services:
dynamodb:
HashAttributeName:
HashAttributeType:
RangeAttributeName:
RangeAttributeType:
ReadCapacityUnits:
WriteCapacityUnits:
Using the helper script causes an application deployment error since email is not set, causing the gurum-owner tag to be empty. Update the script to ask for email information. Consider adding the cognito role policy to the api CloudFormation template and create the cognito group attached to the role policy through the helper script.
If you run gureume login
when you are under a different role on your machine you receive face the following error (not obvious what happened):
gureume login
User: sam
Password:
Logging in sam...
2019-08-05 21:53:31 Found credentials in shared credentials file: ~/.aws/credentials
Getting temporary STS credentials...
An error occurred (ResourceNotFoundException) when calling the GetId operation: IdentityPool 'us-east-1:833ebb77-57f5-4281-aa04-98a7a2996973' not found.
Parameter validation failed:
Invalid length for parameter IdentityId, value: 0, valid range: 1-inf
Traceback (most recent call last):
File "/Users/samhendr/.virtualenvs/gureume-cli-ZvMZbjE2/bin/gureume", line 11, in <module>
load_entry_point('gureume-cli', 'console_scripts', 'gureume')()
File "/Users/samhendr/.virtualenvs/gureume-cli-ZvMZbjE2/lib/python3.7/site-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/Users/samhendr/.virtualenvs/gureume-cli-ZvMZbjE2/lib/python3.7/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/Users/samhendr/.virtualenvs/gureume-cli-ZvMZbjE2/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/samhendr/.virtualenvs/gureume-cli-ZvMZbjE2/lib/python3.7/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/samhendr/.virtualenvs/gureume-cli-ZvMZbjE2/lib/python3.7/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/Users/samhendr/.virtualenvs/gureume-cli-ZvMZbjE2/lib/python3.7/site-packages/click/decorators.py", line 64, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
File "/Users/samhendr/.virtualenvs/gureume-cli-ZvMZbjE2/lib/python3.7/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/Users/samhendr/repositories/gureume/gureume-cli/gureumecli/commands/login/__init__.py", line 52, in cli
do_cli(ctx, user, password) # pragma: no cover
File "/Users/samhendr/repositories/gureume/gureume-cli/gureumecli/commands/login/__init__.py", line 170, in do_cli
ctx._config.set('default', 'aws_access_key_id', credentials['aws_access_key_id'])
KeyError: 'aws_access_key_id'
We need to look into this as we either shouldn't be getting this error or we need to clean it up.
Acceptance Criteria:
This usually takes a couple of minutes...
This call is asynchrounous so feel free to Ctrl+C anytime and it will continue running in background.
|[500] Server Error
Unknown Error:```
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.