Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • beat.web beat.web
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 54
    • Issues 54
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • beatbeat
  • beat.webbeat.web
  • Issues
  • #495
Closed
Open
Issue created Mar 23, 2018 by Jaden DIEFENBAUGH@jdiefenbaughContributor

Expose more info about the available environments from the REST API

Right now we get something like this:

[
  {
    "name": "Cxx backend",
    "queues": {
      "queue": {
        "memory_limit": 1985,
        "nb_slots": 0,
        "max_slots_per_user": 8,
        "nb_cores_per_slot": 1,
        "time_limit": 1440
      }
    },
    "accessibility": "public",
    "languages": [
      "cxx"
    ],
    "version": "1.1.0",
    "short_description": "C++ backend"
  },
  {
    "name": "Python 2.7",
    "queues": {
      "queue": {
        "memory_limit": 1985,
        "nb_slots": 0,
        "max_slots_per_user": 8,
        "nb_cores_per_slot": 1,
        "time_limit": 1440
      }
    },
    "accessibility": "public",
    "languages": [
      "python"
    ],
    "version": "1.2.0",
    "short_description": "Local python interpreter"
  }
]

We need to add a "modules" field to the environments that lists packages & versions that are available. It would look something like this:

[
...
  {
    "name": "Python 2.7",
    ...
    "packages": {
        "alabaster": "0.7.10",
        "Babel": "2.4.0",
        ...
    },
    "version": "1.2.0",
    "short_description": "Local python interpreter"
  }
]

This is needed for the June 2018 deliverable!

Assignee
Assign to
Time tracking