Manager for Atlantis
ooyala / atlantis-manager Goto Github PK
View Code? Open in Web Editor NEWManager for Atlantis
License: Apache License 2.0
Manager for Atlantis
License: Apache License 2.0
If you look at the other API calls that require a user/secret, the values are saved into an auth arg before stored into the struct for that command. But, with the usage call, the values are just never saved and it attempts to authenticate with a blank user and blank secret.
I am trying to run the tests of atlantis-manager
using command make test
.
I updated atlantis/manager/client/client_test.go
file with the default dev
Region I have.
I am getting following error:
vagrant@atlantis-aquarium-vm:~/repos/atlantis-manager$ make test
Testing atlantis/manager/api...
? atlantis/manager/api [no test files]
Testing atlantis/manager/api/graph...
? atlantis/manager/api/graph [no test files]
Testing atlantis/manager/builder...
? atlantis/manager/builder [no test files]
Testing atlantis/manager/client...
2015/07/28 17:29:24 == Registering dummy app ==
2015/07/28 17:29:24 Register App...
2015/07/28 17:29:24 == Listing apps and checking existence ==
2015/07/28 17:29:24 List Registered Apps...
2015/07/28 17:29:24 == Unregistering dummy app ==
2015/07/28 17:29:24 Unregister App...
2015/07/28 17:29:24 List Apps...
2015/07/28 17:29:24 == Creating environment ==
2015/07/28 17:29:24 Update Env...
2015/07/28 17:29:24 List Envs...
2015/07/28 17:29:24 == Setting cmk dependency ==
2015/07/28 17:29:24 Add Depender Env Data For Depender App...
2015/07/28 17:29:24 == Deploying hello-go ==
2015/07/28 17:29:24 Deploy...
2015/07/28 17:29:24 -> ID: pqEZwznzHko9dEwD9a7u
2015/07/28 17:29:24 Waiting...
2015/07/28 17:29:24 == Deleting environment ==
2015/07/28 17:29:24 e2e-test-2015-07-28T17-29-24+0530
2015/07/28 17:29:24 Delete Env...
--- FAIL: TestFullDeploy (0.42 seconds)
client_test.go:81: In field *types.ManagerListAppsReply.Apps, expected value hello-go not found
client_test.go:28: Error executing command:
zookeeper: get "/atlantis/apps/dev/cmk": no node
client_test.go:28: Error executing command:
App hello-go is not registered: zookeeper: get "/atlantis/apps/dev/hello-go": no node
client_test.go:209: Bad response from manager for deploy
FAIL
FAIL atlantis/manager/client 0.696s
make: *** [test] Error 1
Is this line in atlantis/manager/client/client_test.g
supposed to have hello-go
app registered before the test? If yes how?
Regards,
Budhram
The dependency doesn't resolve unless specified in the manifest. This is confusing since people go through the request-dependency API and then find that it is not populated on deploy because they forgot to add it to the manifest.
We should consolidate how we request and approve dependencies. Each in one location.
Looks like it uses the log routines which default to standard error. This is non-standard cli behavior and is annoying when trying to filter output.
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.