Skip to content
Snippets Groups Projects
Commit 50ac7646 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 7ed493a6
No related branches found
No related tags found
No related merge requests found
Pipeline #2654 passed
...@@ -8,7 +8,8 @@ build: ...@@ -8,7 +8,8 @@ build:
tags: ["ns4.shore.co.il"] tags: ["ns4.shore.co.il"]
only: ["nimrod"] only: ["nimrod"]
script: 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 pull registry.shore.co.il/presentation
- >- - >-
docker run docker run
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment