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

Implement drone.io plugin type container for uploading course data to the API #66

Open
jaguarfi opened this issue Apr 16, 2020 · 0 comments
Labels
area: API Issues that affect the API priority: medium type: feature New feature or change to a feature

Comments

@jaguarfi
Copy link
Contributor

jaguarfi commented Apr 16, 2020

Migrated from Trello

Requires API: #65

Using the container would look something like this:

docker run --rm \
  -w /data/ \
  -v "$(pwd):/data/:ro" \
  -e PLUGIN_API=http://172.16.0.1:8080/api/ \
  -e PLUGIN_API_TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZWZfY291cnNlIn0.SnjF78daKOfCwqMuljTQvVMg3C5HyvdAknKF2eVjdwo \
  apluslms/deploy-mooc-grader

Where $(pwd) should yield course directory, which has been build using roman (or docker-compile.sh).

Tools to consider:

Extra info:

  • drone.io is a CI tool using pipelines composed of docker containers and commands or "plugins"
  • Goal is for roman to support drone.io plugin interface. You might get some idea from the drone docs: https://docs.drone.io/plugins/

Comments

Jaakko Kantojärvi:
apluslms-yamlidator is going to PyPi in near future, so it can be installed from there at some point.

Use target branch cloud-dev when ever creating PR for the card.

@jaguarfi jaguarfi added area: API Issues that affect the API priority: medium type: feature New feature or change to a feature labels Apr 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: API Issues that affect the API priority: medium type: feature New feature or change to a feature
Projects
None yet
Development

No branches or pull requests

1 participant