-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert to temple #50
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
8609290
temple scaffolding
16e8ef2
starting flak8 and pylint fixes
d574580
make validate passes
multigl 28898d3
tests pass now locally
multigl 7fd8b53
gitignore from temple
9db53a3
woops accidentally added a bunch of doc builds
5db92b7
lol nice typo joey
82d6cdb
empty commit to trigger rebuild
43b868b
add test_py34 to jobs workflow
4c9a3e1
add postgres and older flake8 requirement
82af3f5
remove bugbear from 3.4 build
5e55e49
drop python 3.4 support
a00b82a
remove eval calls
multigl e3d1f1a
back fill ye ol changelog
7b09980
Merge branch 'convert-to-temple' of https://github.com/CloverHealth/t…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,90 @@ | ||
version: 2 | ||
aliases: | ||
- &docker_image circleci/python:3.6-stretch | ||
- &dependencies | ||
name: Make virtualenv and install dependencies | ||
command: | | ||
python3 -m venv ~/venv | ||
echo ". ~/venv/bin/activate" >> $BASH_ENV | ||
source $BASH_ENV | ||
make dependencies | ||
- &test_boilerplate | ||
environment: | ||
TEST_REPORTS: /tmp/test-reports | ||
steps: | ||
- checkout | ||
- run: | ||
name: Install postgres | ||
command: | | ||
sudo apt-get update && \ | ||
sudo apt-get install \ | ||
postgresql-9.6 | ||
- run: | ||
<<: *dependencies | ||
- run: make test | ||
- store_test_results: | ||
path: /tmp/test-reports | ||
- store_artifacts: | ||
path: /tmp/test-reports | ||
jobs: | ||
temple_check: | ||
docker: | ||
- image: *docker_image | ||
steps: | ||
- checkout | ||
- run: | ||
<<: *dependencies | ||
- run: temple update --check | ||
lint: | ||
docker: | ||
- image: *docker_image | ||
steps: | ||
- checkout | ||
- run: | ||
<<: *dependencies | ||
- run: make validate | ||
test_py35: | ||
docker: | ||
- image: circleci/python:3.5-stretch | ||
<<: *test_boilerplate | ||
test_py36: | ||
docker: | ||
- image: circleci/python:3.6-stretch | ||
<<: *test_boilerplate | ||
test_py37: | ||
docker: | ||
- image: circleci/python:3.7-stretch | ||
<<: *test_boilerplate | ||
deploy: | ||
docker: | ||
- image: *docker_image | ||
steps: | ||
- checkout | ||
- add_ssh_keys: | ||
fingerprints: | ||
- "af:a6:bf:48:f0:08:d6:0f:19:4f:fd:10:f2:9d:50:2c" | ||
- run: | ||
<<: *dependencies | ||
- run: pip install -q -r deploy_requirements.txt | ||
- run: python3 deploy.py prod | ||
|
||
workflows: | ||
version: 2 | ||
checks_and_deploy: | ||
jobs: | ||
- temple_check | ||
- lint | ||
- test_py35 | ||
- test_py36 | ||
- test_py37 | ||
- deploy: | ||
requires: | ||
- temple_check | ||
- lint | ||
- test_py35 | ||
- test_py36 | ||
- test_py37 | ||
filters: | ||
branches: | ||
only: | ||
- master |
This file was deleted.
Oops, something went wrong.
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,15 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 4 | ||
indent_style = space | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.{yaml,yml}] | ||
indent_size = 2 | ||
|
||
[makefile] | ||
indent_style = tab |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- test_py34
is missing here, which causesdeploy
's requirements to fail below.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or if this isn't Python 3.4 compatible, delete that job.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that seems to have done it