Skip to content

Commit

Permalink
Clean up GH actions code
Browse files Browse the repository at this point in the history
Update self executed container to ensure
we run with latest set of packages

Signed-off-by: Dinesh Prasanth M K <dmoluguw@redhat.com>
  • Loading branch information
SilleBille committed Apr 23, 2020
1 parent 7af607b commit 3544aef
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/required-tests.yml
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- master
- gh-actions
pull_request:
branches:
- master
Expand Down
8 changes: 8 additions & 0 deletions travis/runner-init.sh
Expand Up @@ -38,3 +38,11 @@ docker run \

# Check whether the container is up
docker ps -a

# Pause 5 seconds to let the container start up.
# The container uses /usr/sbin/init as its entrypoint which requires few seconds.
# to startup. This avoids the following error:
# [Errno 2] No such file or directory: '/var/cache/dnf/metadata_lock.pid'
sleep 5

docker exec -i ${CONTAINER} dnf update -y

0 comments on commit 3544aef

Please sign in to comment.