Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

branch setup / docker hub / travis build #15

Closed
9 tasks done
raprasad opened this issue Jul 30, 2018 · 7 comments
Closed
9 tasks done

branch setup / docker hub / travis build #15

raprasad opened this issue Jul 30, 2018 · 7 comments
Assignees

Comments

@raprasad
Copy link
Member

raprasad commented Jul 30, 2018

  • travis.com setup (note: differs from travis.org)
  • test created docker images
  • add rookconfig.R with env variables to include
    • production flag
    • shared data directory
  • add rookconfig.R to apps to avoid redundant settings
  • Dockerfile
    • set production flag
    • set shared data directory
@raprasad raprasad created this issue from a note in PSI (Seas orig) (In progress) Jul 30, 2018
@raprasad raprasad changed the title branch setup / travis build branch setup / docker hub / travis build Jul 30, 2018
@raprasad raprasad moved this from In progress to To do in PSI (Seas orig) Jul 30, 2018
@raprasad raprasad moved this from To do to In progress in PSI (Seas orig) Aug 3, 2018
@raprasad raprasad self-assigned this Aug 3, 2018
raprasad added a commit that referenced this issue Aug 3, 2018
raprasad added a commit that referenced this issue Aug 6, 2018
@raprasad
Copy link
Member Author

For more consistent error handling.

Update interface.js functions to handle JSON responses with "success" flag:

    {"success": false, "message": "some error message}

OR

    {"success": true, "data": {"usual data response handled before"}

@raprasad
Copy link
Member Author

raprasad commented Sep 10, 2018

checklist for previous comment

  • privateAccuraciesapp
  • privateStatisticsapp
  • verifyTransformapp

e.g. updated main makeCorsRequest function in interface.js

raprasad added a commit that referenced this issue Sep 10, 2018
- added IS_PRODUCTION global variable
- Calculate_stats updated to create an empty "metadata-pums.json" if one doesn't exist
- interface.js: makeCorsRequest updated to look for "success" flag
- views.py updated to return "success" flag within json
@raprasad
Copy link
Member Author

raprasad commented Sep 12, 2018

k8s related

  • wsgi: setup script, k8s, settings file updates
  • psi_volume
  • health checks on web side
  • health checks on rook side
  • DATA dir variable on web side. settable through env variable. default is '/data' in the repo
    • rook: PSI_DATA_DIRECTORY_PATH
    • django: PSI_DATA_DIRECTORY_PATH

@raprasad
Copy link
Member Author

raprasad commented Sep 12, 2018

  • update psiapps/content_pages/views.py
    • test mode:
    • for 'getData', use django conf to read data
    • for 'getXML', use django conf to read data

raprasad added a commit that referenced this issue Sep 12, 2018
raprasad added a commit that referenced this issue Sep 12, 2018
@raprasad
Copy link
Member Author

raprasad commented Sep 12, 2018

raprasad added a commit that referenced this issue Sep 13, 2018
@raprasad
Copy link
Member Author

raprasad commented Sep 13, 2018

  • set rook url through env. e.g., it's there just not yet passed to web page
  • update settings for test directory
  • fabfile, create superuser--needs auth model update
  • fix json load, where it's opening as bytes instead of string
  • update psi_start.sh script

@raprasad
Copy link
Member Author

raprasad commented Sep 14, 2018

  • add SECRET_KEY k8s config

PSI (Seas orig) automation moved this from In progress to Done Sep 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Development

No branches or pull requests

1 participant