-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/develop'
- Loading branch information
Showing
124 changed files
with
727 additions
and
957 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,19 @@ repos: | |
- nats | ||
ports: | ||
- 8080:8080 | ||
depends: | ||
depends_on: | ||
- config-store | ||
environment: | ||
NATS_URI: 'nats://nats:4222' | ||
JWT_SECRET: 'GENERATEDJWTSECRET' | ||
ERNEST_CRYPTO_KEY: CRYPTO_KEY_TEMPLATE | ||
|
||
- name: authenticator | ||
path: [email protected]:ernestio/authenticator.git | ||
branch: master | ||
links: | ||
- nats | ||
depends_on: | ||
- config-store | ||
environment: | ||
NATS_URI: 'nats://nats:4222' | ||
|
@@ -33,7 +45,7 @@ repos: | |
- nats | ||
ports: | ||
- 22000:22000 | ||
depends: | ||
depends_on: | ||
- config-store | ||
environment: | ||
NATS_URI: 'nats://nats:4222' | ||
|
@@ -45,52 +57,51 @@ repos: | |
branch: master | ||
links: | ||
- nats | ||
depends: | ||
depends_on: | ||
- config-store | ||
environment: | ||
NATS_URI: 'nats://nats:4222' | ||
ERNEST_CRYPTO_KEY: CRYPTO_KEY_TEMPLATE | ||
|
||
- name: group-store | ||
path: [email protected]:ernestio/group-store.git | ||
- name: datacenter-store | ||
path: [email protected]:ernestio/datacenter-store.git | ||
branch: master | ||
links: | ||
- nats | ||
depends: | ||
depends_on: | ||
- config-store | ||
environment: | ||
NATS_URI: 'nats://nats:4222' | ||
ERNEST_CRYPTO_KEY: CRYPTO_KEY_TEMPLATE | ||
|
||
- name: datacenter-store | ||
path: [email protected]:ernestio/datacenter-store.git | ||
- name: service-store | ||
path: [email protected]:ernestio/service-store.git | ||
branch: master | ||
links: | ||
- nats | ||
depends: | ||
depends_on: | ||
- config-store | ||
environment: | ||
NATS_URI: 'nats://nats:4222' | ||
ERNEST_CRYPTO_KEY: CRYPTO_KEY_TEMPLATE | ||
|
||
- name: service-store | ||
path: [email protected]:ernestio/service-store.git | ||
- name: authorization-store | ||
path: [email protected]:ernestio/authorization-store.git | ||
branch: master | ||
links: | ||
- nats | ||
depends: | ||
depends_on: | ||
- config-store | ||
environment: | ||
NATS_URI: 'nats://nats:4222' | ||
ERNEST_CRYPTO_KEY: CRYPTO_KEY_TEMPLATE | ||
|
||
|
||
- name: usage-store | ||
path: [email protected]:ernestio/usage-store.git | ||
branch: master | ||
links: | ||
- nats | ||
depends: | ||
depends_on: | ||
- config-store | ||
environment: | ||
NATS_URI: 'nats://nats:4222' | ||
|
@@ -102,7 +113,7 @@ repos: | |
links: | ||
- nats | ||
- postgres | ||
depends: | ||
depends_on: | ||
- config-store | ||
environment: | ||
NATS_URI: 'nats://nats:4222' | ||
|
@@ -114,7 +125,7 @@ repos: | |
links: | ||
- nats | ||
- postgres | ||
depends: | ||
depends_on: | ||
- config-store | ||
environment: | ||
NATS_URI: 'nats://nats:4222' | ||
|
@@ -125,7 +136,7 @@ repos: | |
branch: master | ||
links: | ||
- nats | ||
depends: | ||
depends_on: | ||
- config-store | ||
environment: | ||
NATS_URI: 'nats://nats:4222' | ||
|
@@ -137,7 +148,7 @@ repos: | |
branch: master | ||
links: | ||
- nats | ||
depends: | ||
depends_on: | ||
- config-store | ||
environment: | ||
NATS_URI: 'nats://nats:4222' | ||
|
@@ -148,7 +159,7 @@ repos: | |
branch: master | ||
links: | ||
- nats | ||
depends: | ||
depends_on: | ||
- config-store | ||
environment: | ||
NATS_URI: 'nats://nats:4222' | ||
|
@@ -159,7 +170,7 @@ repos: | |
branch: master | ||
links: | ||
- nats | ||
depends: | ||
depends_on: | ||
- config-store | ||
environment: | ||
NATS_URI: 'nats://nats:4222' | ||
|
@@ -173,7 +184,7 @@ repos: | |
- nats | ||
ports: | ||
- 22001:22001 | ||
depends: | ||
depends_on: | ||
- config-store | ||
environment: | ||
NATS_URI: 'nats://nats:4222' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
$GOBIN/natsc request -s $NATS_URI -t 5 -r 99 'group.set' '{"id":"1","name": "ci_admin"}' | ||
$GOBIN/natsc request -s $NATS_URI -t 5 -r 99 'user.set' '{"group_id": 1, "username": "ci_admin", "password": "secret123", "admin":true}' | ||
$GOBIN/natsc request -s $NATS_URI -t 5 -r 99 'user.set' '{"username": "ci_admin", "password": "secret123", "type": "local", "admin":true}' | ||
ernest-cli target $CURRENT_INSTANCE | ||
ernest-cli login --user ci_admin --password secret123 | ||
ernest-cli user create usr secret123 | ||
ernest-cli group create test | ||
ernest-cli group add-user usr test | ||
ernest-cli login --user usr --password secret123 | ||
ernest-cli datacenter create aws fakeaws --region fake --secret_access_key fake_up_to_16_characters --access_key_id up_to_16_characters_secret --fake | ||
ernest-cli datacenter create vcloud fakevcloud -org test -user fakeuser -password test123 -public-network test-nw -vcloud-url https://vcloud.net --fake | ||
ernest-cli datacenter create azure --subscription_id subid --client_id cliid --client_secret clisec --region westus --tenant_id tenid --environment public --fake fakeazure | ||
ernest-cli project create aws fakeaws --region fake --secret_access_key fake_up_to_16_characters --access_key_id up_to_16_characters_secret --fake | ||
ernest-cli project create vcloud fakevcloud -org test -user fakeuser -password test123 -public-network test-nw -vcloud-url https://vcloud.net --fake | ||
ernest-cli project create azure --subscription_id subid --client_id cliid --client_secret clisec --region westus --tenant_id tenid --environment public --fake fakeazure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name: aws-test-4 | ||
datacenter: tom-aws | ||
project: tom-aws | ||
bootstrapping: none | ||
vpc_id: vpc-a921accd | ||
networks: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name: aws-test-999 | ||
datacenter: fakeaws | ||
project: fakeaws | ||
bootstrapping: none | ||
vpc_id: vpc-a921accd | ||
networks: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name: aws-test-4 | ||
datacenter: tom-aws | ||
project: tom-aws | ||
bootstrapping: none | ||
vpc_id: vpc-a921accd | ||
networks: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# Basic aws example | ||
--- | ||
name: my_service | ||
datacenter: r3-dc2 | ||
project: r3-dc2 | ||
|
||
vpcs: | ||
- name: test-vpc | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.