-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Setup test infrastructure for workers and repostore
- Loading branch information
Showing
8 changed files
with
111 additions
and
65 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,4 @@ config/secrets.yml | |
coverage/ | ||
.bundle/ | ||
*.db | ||
repostore/ | ||
temp/ | ||
_* |
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,6 +1,16 @@ | ||
--- | ||
development: | ||
GH_TOKEN: <personal token for Github API> | ||
AWS_ACCESS_KEY_ID: <aws credentials> | ||
AWS_SECRET_ACCESS_KEY: <aws credentials> | ||
AWS_REGION: <aws credentials> | ||
CLONE_QUEUE: <aws sqs queue> | ||
CLONE_QUEUE_URL: <aws sqs queue url> | ||
|
||
test: | ||
GH_TOKEN: <personal token for Github API> | ||
GH_TOKEN: <personal token for Github API> | ||
AWS_ACCESS_KEY_ID: <aws credentials> | ||
AWS_SECRET_ACCESS_KEY: <aws credentials> | ||
AWS_REGION: <aws credentials> | ||
CLONE_QUEUE: <aws sqs queue> | ||
CLONE_QUEUE_URL: <aws sqs queue url> |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
rvm use 2.4.2 --install | ||
bundle install --without production | ||
RACK_ENV=test bundle exec rake db:migrate | ||
bundle exec rake run:worker:test & |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# This file puts the repostore folder into git version control: | ||
# https://steindom.com/articles/add-empty-directory-git-repository | ||
|
||
* | ||
!.gitignore |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
queues: | ||
- https://sqs.us-east-1.amazonaws.com/503315808870/codepraise-clone_dev.fifo |