mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-08-01 17:38:36 +00:00
ci: Remove checks
According to logs the steps are executed anyway.
This commit is contained in:
parent
bc95a6563a
commit
c9203a1470
1 changed files with 7 additions and 7 deletions
14
.github/workflows/windows-tests.yml
vendored
14
.github/workflows/windows-tests.yml
vendored
|
@ -50,21 +50,21 @@ jobs:
|
||||||
touch /run/openrc/softlevel
|
touch /run/openrc/softlevel
|
||||||
|
|
||||||
# Check if Docker is already in the default runlevel before adding it
|
# Check if Docker is already in the default runlevel before adding it
|
||||||
if ! rc-status default | grep -q "docker"; then
|
#if ! rc-status default | grep -q "docker"; then
|
||||||
echo "Adding Docker service..."
|
echo "Adding Docker service..."
|
||||||
rc-update add docker default 2>&1 || true
|
rc-update add docker default 2>&1 || true
|
||||||
fi
|
#fi
|
||||||
|
|
||||||
# Check Docker service status
|
# Check Docker service status
|
||||||
docker_status=$(rc-service docker status 2>&1 || echo "not running")
|
#docker_status=$(rc-service docker status 2>&1 || echo "not running")
|
||||||
|
|
||||||
# Start Docker only if it's not already running or starting
|
# Start Docker only if it's not already running or starting
|
||||||
if echo "$docker_status" | grep -q "not running"; then
|
#if echo "$docker_status" | grep -q "not running"; then
|
||||||
echo "Starting Docker service..."
|
echo "Starting Docker service..."
|
||||||
rc-service docker start 2>&1 || true
|
rc-service docker start 2>&1 || true
|
||||||
else
|
#else
|
||||||
echo "Docker service status: $docker_status"
|
# echo "Docker service status: $docker_status"
|
||||||
fi
|
#fi
|
||||||
|
|
||||||
# Wait for Docker to be ready
|
# Wait for Docker to be ready
|
||||||
echo "Waiting for Docker to be ready..."
|
echo "Waiting for Docker to be ready..."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue