-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Publish site and docs to namecheap (#54)
- Loading branch information
1 parent
61e470b
commit 69b08f6
Showing
24 changed files
with
264 additions
and
126 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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
mkdir -p $HOME/.gnupg $HOME/.gradle $HOME/.ssh | ||
|
||
echo $GPG_SECRET_B64 | base64 --decode > $HOME/.gnupg/secring.gpg | ||
echo $GRADLE_PROPERTIES_B64 | base64 --decode > $HOME/.gradle/gradle.properties | ||
echo $PYPIRC_B64 | base64 --decode > $HOME/.pypirc | ||
echo $SSH_CONFIG_B64 | base64 --decode > $HOME/.ssh/config | ||
echo $SSH_IDRSA_B64 | base64 --decode > $HOME/.ssh/elastiknn-site | ||
chmod 400 $HOME/.ssh/elastiknn-site |
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
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
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 |
---|---|---|
|
@@ -133,3 +133,4 @@ elastiknn/elastiknn_pb2.py | |
elastiknn/elastiknn.proto | ||
scalapb/scalapb_pb2.py | ||
*.pyi | ||
pdoc |
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 |
---|---|---|
@@ -1,8 +1,12 @@ | ||
"""Mixin for API objects that can be converted to a dict compatible with the Elastiknn Json API.""" | ||
|
||
from typing import Dict | ||
|
||
|
||
class Codec(object): | ||
"""Mixin for API objects that can be converted to a dict compatible with the Elastiknn Json API.""" | ||
|
||
def to_dict(self): | ||
def to_dict(self) -> Dict: | ||
"""Return a dictionary compatible with the Elastiknn Json API.""" | ||
raise NotImplementedError | ||
|
Oops, something went wrong.