Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-9605

mesos/mesos-centos nightly docker image has to include the SHA of the build.

    XMLWordPrintableJSON

    Details

    • Target Version/s:
    • Sprint:
      Mesos Integration RI11 Sp 40
    • Story Points:
      2

      Description

      As a snapshot build, we need to identify the exact HEAD of the branch build. Our current snapshot builds lack this information due to the way the build is setup.

      The current build identifies e.g. when running the agent like this;

      $ docker run -it docker.io/mesos/mesos-centos:master-2019-02-15 mesos-slave --work_dir=/tmp --master=127.0.0.1:5050
      I0223 02:22:43.317088     1 main.cpp:349] Build: 2019-02-15 22:46:47 by
      I0223 02:22:43.317643     1 main.cpp:350] Version: 1.7.2
      I0223 02:22:43.332036     1 systemd.cpp:240] systemd version `219` detected
      I0223 02:22:43.332067     1 main.cpp:452] Initializing systemd state
      E0223 02:22:43.332135     1 main.cpp:461] EXIT with status 1: Failed to initialize systemd: Failed to locate systemd runtime directory: /run/systemd/system
      

      Note we lack a user in the first output line and the GIT sha altogether. Only tagged builds should commonly lack the SHA as it is not needed.

      I0215 08:28:20.871155 34809 main.cpp:358] Git SHA: dff75bb705dca473a5c4019d9ed6e2d3530e3865
      

        Attachments

          Activity

            People

            • Assignee:
              tillt Till Toenshoff
              Reporter:
              tillt Till Toenshoff
              Shepherd:
              Benjamin Bannier
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: