Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-17349

Create a Docker image for TSSW testing

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: ts_qa
    • Labels:

      Description

      This task covers

      • time to research and learn about Docker.
      • create a Docker image configured for testing.
        • miniconda or scl/ius for Python3 support
        • Robot-Framework
        • XML parser
        • dependencies

        Attachments

          Issue Links

            Activity

            Hide
            rbovill Rob Bovill added a comment -

            Created a docker image and pushed to DockerHub: https://cloud.docker.com/u/lsstts/repository/docker/lsstts/robot

            Currently, it configures the container with Python3, Robot-Framework, xmlstarlet and checks out the ts_xml and robotframework_ts_xml GitHub repos.  Then it automatically runs the XML Validation tests.

            Show
            rbovill Rob Bovill added a comment - Created a docker image and pushed to DockerHub: https://cloud.docker.com/u/lsstts/repository/docker/lsstts/robot Currently, it configures the container with Python3, Robot-Framework, xmlstarlet and checks out the ts_xml and robotframework_ts_xml GitHub repos.  Then it automatically runs the XML Validation tests.
            Hide
            rbovill Rob Bovill added a comment -

            I re-configured the ts_xml Jenkins job, https://ts-ci.lsst.codes/job/ts_xml, to run the with the Docker image.  The job runs successfully, and puts the RF test results into the proper directory on Jenkins.  Still need the RF Jenkins plugin restored, see DM-16495.

            Show
            rbovill Rob Bovill added a comment - I re-configured the ts_xml Jenkins job, https://ts-ci.lsst.codes/job/ts_xml , to run the with the Docker image.  The job runs successfully, and puts the RF test results into the proper directory on Jenkins.  Still need the RF Jenkins plugin restored, see DM-16495 .
            Hide
            rbovill Rob Bovill added a comment -

            I do need to look into the webhook and automatic builds and how best to do that with Docker.  GitHub push triggers new Docker image build with triggers new Jenkins build?  Use multiple containers and volumes?

            Show
            rbovill Rob Bovill added a comment - I do need to look into the webhook and automatic builds and how best to do that with Docker.  GitHub push triggers new Docker image build with triggers new Jenkins build?  Use multiple containers and volumes?
            Hide
            rbovill Rob Bovill added a comment -

            I have another image, https://cloud.docker.com/u/lsstts/repository/docker/lsstts/robotsal that will be used to test SAL development.  The image is built from lsstts/robot but is configured with SAL dependencies and such.

            Show
            rbovill Rob Bovill added a comment - I have another image, https://cloud.docker.com/u/lsstts/repository/docker/lsstts/robotsal that will be used to test SAL development.  The image is built from lsstts/robot but is configured with SAL dependencies and such.
            Hide
            rbovill Rob Bovill added a comment -

            I have created the images as described in the above comments.  I added the Dockerfiles to ts_Dockerfiles and made a pull request into develop, https://github.com/lsst-ts/ts_Dockerfiles/pull/4

            Can you review this work and sign off?

            Show
            rbovill Rob Bovill added a comment - I have created the images as described in the above comments.  I added the Dockerfiles to ts_Dockerfiles and made a pull request into develop, https://github.com/lsst-ts/ts_Dockerfiles/pull/4 Can you review this work and sign off?
            Hide
            aheyer Andrew Heyer [X] (Inactive) added a comment -

            Reviewed over the Jenkins files and other links showing that the webhooks are working as they should and the images are building correctly. 

            Show
            aheyer Andrew Heyer [X] (Inactive) added a comment - Reviewed over the Jenkins files and other links showing that the webhooks are working as they should and the images are building correctly. 
            Hide
            rbovill Rob Bovill added a comment -

            Task complete.

            Show
            rbovill Rob Bovill added a comment - Task complete.

              People

              Assignee:
              rbovill Rob Bovill
              Reporter:
              rbovill Rob Bovill
              Reviewers:
              Andrew Heyer [X] (Inactive)
              Watchers:
              Andrew Heyer [X] (Inactive), Andy Clements, Rob Bovill
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Start date:
                End date:

                  Jenkins

                  No builds found.