Compare commits
No commits in common. "8ba6c15a8227a6fecbe5e97919ea502da90083d3" and "46072ae35a77bcabf34f47905eb787dbfa59db17" have entirely different histories.
8ba6c15a82
...
46072ae35a
|
@ -45,7 +45,7 @@ jobs:
|
|||
- stage: Coverity
|
||||
language: bash
|
||||
env:
|
||||
- FEDORA_RELEASE="31"
|
||||
- FEDORA_RELEASE="latest"
|
||||
- TOOL_BASE="/var/tmp/coverity-scan-analysis"
|
||||
- CONT_NAME="coverity-fedora-$FEDORA_RELEASE"
|
||||
- DOCKER_EXEC="docker exec -ti $CONT_NAME"
|
||||
|
|
|
@ -65,11 +65,11 @@ for phase in "${PHASES[@]}"; do
|
|||
info "Setup phase"
|
||||
info "Using Fedora $FEDORA_RELEASE"
|
||||
# Pull a Docker image and start a new container
|
||||
printf "FROM fedora:$FEDORA_RELEASE\nRUN bash -c 'dnf install -y systemd'\n" | docker build -t fedora-with-systemd/latest -
|
||||
docker pull fedora:$FEDORA_RELEASE
|
||||
info "Starting container $CONT_NAME"
|
||||
$DOCKER_RUN -v $REPO_ROOT:/build:rw \
|
||||
-w /build --privileged=true --name $CONT_NAME \
|
||||
-dit --net=host fedora-with-systemd/latest /sbin/init
|
||||
-dit --net=host fedora:$FEDORA_RELEASE /sbin/init
|
||||
# Wait for the container to properly boot up, otherwise we were
|
||||
# running following dnf commands during the initializing/starting
|
||||
# (early/late bootup) phase, which caused nasty race conditions
|
||||
|
|
Loading…
Reference in New Issue