Skip to content
Snippets Groups Projects
Select Git revision
  • cad1def8290087d2cf8819d9f344a2d8b741a089
  • main
  • sar-277-update-docs-with-examples-for-lrc
  • st-946-automate
  • sar_302-log-fix
  • sar-287_subarray_commands_to_lrc
  • sar_302-POC_await_sub_device_state
  • sat_302_fix_pipelines
  • sar-286_lrc_one_subarry_command
  • sar-286_lrc_improvements
  • sar-288-async-controller
  • sar-276-combine-tango-queue
  • sar-255_remove_nexus_reference
  • sar-275-add-LRC
  • sar-273-add-lrc-attributes
  • sar-272
  • sp-1106-marvin-1230525148-ska-tango-base
  • sp-1106-marvin-813091765-ska-tango-base
  • sar-255/Publish-package-to-CAR
  • mccs-661-device-under-test-fixture
  • mccs-659-pep257-docstring-linting
  • 0.11.3
  • 0.11.2
  • 0.11.1
  • 0.11.0
  • 0.10.1
  • 0.10.0
  • 0.9.1
  • 0.9.0
  • 0.8.1
  • 0.8.0
  • 0.7.2
  • 0.7.1
  • 0.7.0
  • 0.6.6
  • 0.6.5
  • 0.6.4
  • 0.6.3
  • 0.6.2
  • 0.6.1
  • 0.6.0
41 results

docker

  • Open with
  • Download source code
  • Download directory
  • Your workspaces

      A workspace is a virtual sandbox environment for your code in GitLab.

      No agents available to create workspaces. Please consult Workspaces documentation for troubleshooting.

  • user avatar
    Anton Joubert authored
    If ipython hasn't been run yet the itango fails to start because of
    missing profile configuration files.  Now create a profile as part
    of the Docker build.
    02754aa2
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.

    lmc-base-classes-test (with ubuntu 14.04)

    Docker image configuration for testing lmc-base-classes.

    It is based on a Ubuntu 14.04 (trusty) and it provides the following infrastructure for installing and testing lmc-base-classes:

    • xvfb, for headless GUI testing
    • lmc-base-classes dependencies and recommended packages (PyTango, pytest, tango-simlib, Fandango, ...)
    • A Tango DB and TangoTest DS configured and running for testing lmc-base-classes

    The primary use of this Docker image is to use it in our Continuous Integration workflow. But you may also run it on your own machine.

    First build the image:

    docker build . -t tango-lmc-base-classes

    Start up the tango container:

    docker run --rm --name lmc-base-classes -it tango-lmc-base-classes:latest

    or start with lmc-base-classes project (/home/user/src/lmc-base-classes) mounted in container for development

    docker run --rm --name lmc-base-classes -v /home/user/src/lmc-base-classes:/home/tango-cs/src/lmc-base-classes -it tango-lmc-base-classes:latest

    or if you want TANGO DB available outside the container, export the port

    docker run --rm --name lmc-base-classes -v /home/user/src/lmc-base-classes:/home/tango-cs/src/lmc-base-classes -p 10123:10000 -it tango-lmc-base-classes:latest

    Then you can log into the container with:

    docker exec -it lmc-base-classes bash

    Connecting to the TANGO DB using jive

    env TANGO_HOST=localhost:10123 jive

    Note: This image does not contain lmc-base-classes itself (since it is designed for installing development versions of lmc-base-classes) but you can install it easily from your container (for more details, see old LEvPro Deployment Notes).