eduNEXT / eox-hooks

GNU Affero General Public License v3.0
3 stars 0 forks source link

perf: add support to nutmeg #33

Closed Henrrypg closed 2 years ago

Henrrypg commented 2 years ago

This PR is to add support to nutmeg release.

How to test it

Using this strain:

STRAIN_NAME: nutmeg
STRAIN_TUTOR_VERSION: v14.0.5
DEV_PROJECT_NAME: nutmeg_dev
LOCAL_PROJECT_NAME: nutmeg_local
CMS_HOST: studio.nutmeg.edunext.link
LMS_HOST: lms.nutmeg.edunext.link
PLATFORM_NAME: Distro nutmeg
STRAIN_TUTOR_PLUGINS:
  - REPO: tutor-contrib-edunext-distro
    VERSION: v3.0.0-rc1
    EGG: tutor-contrib-edunext-distro==v3.0.0-rc1
    PACKAGE_NAME: distro
    PROTOCOL: ssh
STRAIN_VOLUME_OVERRIDES:
  edxapp:
    - DESTINATION: ../../src/edxapp/eox-hooks
      LOCATION: /openedx/extra_deps/eox-hooks
STRAIN_EXPORT_VOLUMES:
  - CONTAINER: lms
    LOCATION: /openedx/extra_deps/eox-hooks
    DESTINATION: src/edxapp/eox-hooks
DISTRO_EOX_HOOKS_DPKG:
  index: git
  name: eox-hooks
  private: false
  repo: eox-hooks
  domain: github.com
  path: eduNEXT
  protocol: https
  variables:
    development: {}
    production: {}
  version: hpg/DS-251

Running this commands to setup your environment:

stack strain create
stack strain dev configure -k export_vols -k override_vols
stack strain dev init
stack strain dev configure -s export_vols -s override_vols
stack strain dev start

You can follow the test cases in this doc