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

Create a Docker image for TSSW testing

    XMLWordPrintable

Details

    • Story
    • Status: Done
    • Resolution: Done
    • None
    • ts_qa

    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

            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.

            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.
            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.

            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 .
            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?

            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?
            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.

            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.
            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?

            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?

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

            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. 
            rbovill Rob Bovill added a comment -

            Task complete.

            rbovill Rob Bovill added a comment - Task complete.

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Jenkins

                  No builds found.