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
[[source]] | |
name = "pypi" | |
url = "https://pypi.org/simple" | |
verify_ssl = true | |
[dev-packages] | |
flake8 = "*" | |
autopep8 = "*" | |
pep8 = "*" |
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
''' | |
Gets most recent version from dockerhub then creates and pushes the next version tag to dockerhub | |
''' | |
import requests as rq | |
import os | |
# import json | |
import subprocess |
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
''' | |
Gets most recent release version from github then creates and pushes the next version tag to dockerhub | |
''' | |
import requests as rq | |
import os | |
# import json | |
import subprocess | |
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
import yaml | |
from pathlib import Path | |
import os | |
import requests as rq | |
from shutil import copyfile | |
import datetime | |
build_date = datetime.datetime.now() |
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
from pexpect import pxssh | |
import os | |
NODE_IPADDRESSES = os.getenv('NODE_IPADDRESSES') | |
NODE_IPADDRESSES = NODE_IPADDRESSES.split(",") | |
NODE_USERNAME = os.getenv('NODE_USERNAME') | |
NODE_USERNAME_PASSWORD = os.getenv('NODE_USERNAME_PASSWORD') | |
DOCKER_USERNAME = os.getenv('DOCKER_USERNAME') |
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
autopep8 | |
flake8 | |
pexpect | |
pipenv | |
pytest | |
PyYAML | |
requests |
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
from pexpect import pxssh | |
import os | |
import subprocess | |
PWD = os.getenv('PWD') | |
secrets_folder = PWD + '/secrets/' | |
secrets_folder_files = [f for r, d, f in os.walk(secrets_folder)][0] |
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
import os | |
import time | |
from pprint import pprint as pp | |
from pathlib import Path | |
import fileinput | |
import sys | |
service_name = sys.argv[1] |
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
# CERATED: | |
version: "3.8" | |
networks: | |
template_api-redis-network: | |
external: true | |
services: | |
template_api-redis-master: |
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
import yaml | |
import datetime | |
''' | |
Create development testing yaml which will use the testing image | |
https://gist.githubusercontent.com/richbruce/e2a21669c64c4600b79568f1c5c47fe3/raw | |
''' | |
def replace_yml_values(YAML_NAME: str, SOT: dict, SOT_KEYS: list): |
OlderNewer