Skip to content

Commit

Permalink
remove unneeded github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
andylytical committed Jan 11, 2024
1 parent b737d22 commit 78bf5c3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 115 deletions.
63 changes: 0 additions & 63 deletions .github/workflows/contexts.yml

This file was deleted.

48 changes: 0 additions & 48 deletions .github/workflows/envs.yml

This file was deleted.

8 changes: 5 additions & 3 deletions jiracmdline/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,16 @@

logfmt = '%(levelname)s:%(funcName)s[%(lineno)d] %(message)s'
loglvl = logging.INFO
loglvl = logging.DEBUG
# loglvl = logging.DEBUG
logging.basicConfig( level=loglvl, format=logfmt )
logging.getLogger( 'libjira' ).setLevel( loglvl )
logging.getLogger( 'jira.JIRA' ).setLevel( loglvl )

app = flask.Flask( __name__ )
app.secret_key = secrets.token_hex()
# Tell flask_login to put "next" in the session instead of GET args
if loglvl == logging.DEBUG:
app.debug = True
# Tell flask_login to put "next" in the session, instead of, in the args to GET
app.config['USE_SESSION_FOR_NEXT'] = True
login_manager = flask_login.LoginManager( app=app )
login_manager.login_view = "login"
Expand Down Expand Up @@ -277,4 +279,4 @@ def do_summary():


if __name__ == '__main__':
app.run( debug=True )
app.run()
1 change: 0 additions & 1 deletion jiracmdline/gunicorn.conf.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
accesslog = '-'
loglevel = 'debug'
bind = '0.0.0.0:8000'
# bind = ':8000'
timeout = 120
# from https://pythonspeed.com/articles/gunicorn-in-docker/
worker_tmp_dir = "/dev/shm"
Expand Down

0 comments on commit 78bf5c3

Please sign in to comment.