Commit d4cb8ae6 authored by nimrod's avatar nimrod
Browse files

Fixup for getting the container ID.

I think it's because of enabling Systemd's unified cgroup hierarchy in
the updated ns4 host (now again running Debian stable).
parent 5439d741
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -8,7 +8,8 @@ build:
  tags: ["ns4.shore.co.il"]
  only: ["nimrod"]
  script:
    - cid="$(basename $(cat /proc/1/cpuset))"
    # yamllint disable-line rule:line-length
    - cid="$(basename "$(dirname "$(awk '/hostname/ {print $4}' /proc/1/mountinfo)")")"
    - docker pull registry.shore.co.il/presentation
    - >-
      docker run