Skip to content
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

version 0.9.0 improvements #140

Merged
merged 76 commits into from
Feb 5, 2019
Merged

version 0.9.0 improvements #140

merged 76 commits into from
Feb 5, 2019

Conversation

fmigneault
Copy link
Collaborator

  • add permissions config to auto-generate user/group rules on startup
  • fix many invalid or erroneous swagger specifications
  • attempt db creation on first migration if not existing
  • add continuous integration testing and deployment (Continuous Integration #139)
  • reduce excessive sqlalchemy logging using MAGPIE_LOG_LEVEL >= INFO

@fmigneault fmigneault added enhancement Improvements in term of performance or behaviour tests Test execution or additional use cases db Issues related to database connection, migration or data models labels Jan 30, 2019
@fmigneault fmigneault self-assigned this Jan 30, 2019
@echo "Starting Magpie..."
exec gunicorn -b 0.0.0.0:2001 --paste "$(CUR_DIR)/magpie/magpie.ini" --workers 10 --preload
@bash -c 'source "$(CONDA_HOME)/bin/activate" "$(CONDA_ENV)"; \
exec gunicorn -b 0.0.0.0:2001 --paste "$(CUR_DIR)/magpie/magpie.ini" --workers 10 --preload &'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That little & at the end of the command looks like a hack, no?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tells bash to not wait for the return of the call.
So basically, run the process detached.

@@ -25,6 +49,11 @@
SERVICES_PHOENIX = 'PHOENIX'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this file only related to Phoenix? Because all Phoenix related stuff could be marked as deprecated... and removed as soon as the latest twitcher version is used.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, all of Phoenix related code is preserved for back compatibility to old twitcher, but is mostly deprecated now.

@fmigneault fmigneault merged commit 8ccdcad into master Feb 5, 2019
@fmigneault fmigneault deleted the config-perm-loader branch February 5, 2019 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
db Issues related to database connection, migration or data models enhancement Improvements in term of performance or behaviour tests Test execution or additional use cases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants