feat: bump runner version (#705)
* feat: bump runner version * feat: remove deprecated env var * docs: updating the docs Co-authored-by: Callum James Tait <callum.tait@photobox.com>
This commit is contained in:
parent
29260549fa
commit
743e6d6202
|
|
@ -35,7 +35,7 @@ jobs:
|
||||||
os-version: 20.04
|
os-version: 20.04
|
||||||
dockerfile: Dockerfile.dindrunner
|
dockerfile: Dockerfile.dindrunner
|
||||||
env:
|
env:
|
||||||
RUNNER_VERSION: 2.278.0
|
RUNNER_VERSION: 2.279.0
|
||||||
DOCKER_VERSION: 19.03.12
|
DOCKER_VERSION: 19.03.12
|
||||||
DOCKERHUB_USERNAME: ${{ secrets.DOCKER_USER }}
|
DOCKERHUB_USERNAME: ${{ secrets.DOCKER_USER }}
|
||||||
steps:
|
steps:
|
||||||
|
|
|
||||||
|
|
@ -1114,7 +1114,7 @@ configuration script tries to communicate with the network.
|
||||||
> Newer Istio instances can use Istio's `holdApplicationUntilProxyStarts` attribute ([istio/istio#11130](https://github.com/istio/istio/issues/11130)) to avoid having to delay starting up the runner.
|
> Newer Istio instances can use Istio's `holdApplicationUntilProxyStarts` attribute ([istio/istio#11130](https://github.com/istio/istio/issues/11130)) to avoid having to delay starting up the runner.
|
||||||
> Please read the discussion in [#592](https://github.com/actions-runner-controller/actions-runner-controller/pull/592) for more information.
|
> Please read the discussion in [#592](https://github.com/actions-runner-controller/actions-runner-controller/pull/592) for more information.
|
||||||
|
|
||||||
_Note: Prior to the runner immutable tag `82d1be7` or the date `2021-07-03` for the mutable tags, the environment variable referenced below was called `STARTUP_DELAY`. This has been deprecated and will be removed from the codebase later (currently we check for both). If you are using this feature please update to using `STARTUP_DELAY_IN_SECONDS` instead when you next upgrade your runner image to a current release._
|
_Note: Prior to the runner version v2.279.0, the environment variable referenced below was called `STARTUP_DELAY`._
|
||||||
|
|
||||||
You can add a delay to the runner's entrypoint script by setting the `STARTUP_DELAY_IN_SECONDS` environment
|
You can add a delay to the runner's entrypoint script by setting the `STARTUP_DELAY_IN_SECONDS` environment
|
||||||
variable for the runner pod. This will cause the script to sleep X seconds, this works with any runner kind.
|
variable for the runner pod. This will cause the script to sleep X seconds, this works with any runner kind.
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
FROM ubuntu:20.04
|
FROM ubuntu:20.04
|
||||||
|
|
||||||
ARG TARGETPLATFORM
|
ARG TARGETPLATFORM
|
||||||
ARG RUNNER_VERSION=2.278.0
|
ARG RUNNER_VERSION=2.279.0
|
||||||
ARG DOCKER_VERSION=19.03.12
|
ARG DOCKER_VERSION=19.03.12
|
||||||
|
|
||||||
RUN test -n "$TARGETPLATFORM" || (echo "TARGETPLATFORM must be set" && false)
|
RUN test -n "$TARGETPLATFORM" || (echo "TARGETPLATFORM must be set" && false)
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,7 @@ RUN adduser --disabled-password --gecos "" --uid 1000 runner \
|
||||||
&& echo "%sudo ALL=(ALL:ALL) NOPASSWD:ALL" > /etc/sudoers
|
&& echo "%sudo ALL=(ALL:ALL) NOPASSWD:ALL" > /etc/sudoers
|
||||||
|
|
||||||
ARG TARGETPLATFORM
|
ARG TARGETPLATFORM
|
||||||
ARG RUNNER_VERSION=2.278.0
|
ARG RUNNER_VERSION=2.279.0
|
||||||
ARG DOCKER_CHANNEL=stable
|
ARG DOCKER_CHANNEL=stable
|
||||||
ARG DOCKER_VERSION=19.03.13
|
ARG DOCKER_VERSION=19.03.13
|
||||||
ARG DEBUG=false
|
ARG DEBUG=false
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
FROM ubuntu:18.04
|
FROM ubuntu:18.04
|
||||||
|
|
||||||
ARG TARGETPLATFORM
|
ARG TARGETPLATFORM
|
||||||
ARG RUNNER_VERSION=2.278.0
|
ARG RUNNER_VERSION=2.279.0
|
||||||
ARG DOCKER_VERSION=19.03.12
|
ARG DOCKER_VERSION=19.03.12
|
||||||
|
|
||||||
RUN test -n "$TARGETPLATFORM" || (echo "TARGETPLATFORM must be set" && false)
|
RUN test -n "$TARGETPLATFORM" || (echo "TARGETPLATFORM must be set" && false)
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ NAME ?= summerwind/actions-runner
|
||||||
DIND_RUNNER_NAME ?= ${NAME}-dind
|
DIND_RUNNER_NAME ?= ${NAME}-dind
|
||||||
TAG ?= latest
|
TAG ?= latest
|
||||||
|
|
||||||
RUNNER_VERSION ?= 2.278.0
|
RUNNER_VERSION ?= 2.279.0
|
||||||
DOCKER_VERSION ?= 19.03.12
|
DOCKER_VERSION ?= 19.03.12
|
||||||
|
|
||||||
# default list of platforms for which multiarch image is built
|
# default list of platforms for which multiarch image is built
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# TODO: Remove `STARTUP_DELAY` entirely. `STARTUP_DELAY` is deprecated
|
if [ ! -z "${STARTUP_DELAY_IN_SECONDS}" ]; then
|
||||||
# Issue #673, PR #678
|
|
||||||
if [ ! -z "${STARTUP_DELAY}" ]; then
|
|
||||||
echo "Delaying startup by ${STARTUP_DELAY} seconds" 1>&2
|
|
||||||
sleep ${STARTUP_DELAY}
|
|
||||||
elif [ ! -z "${STARTUP_DELAY_IN_SECONDS}" ]; then
|
|
||||||
echo "Delaying startup by ${STARTUP_DELAY_IN_SECONDS} seconds" 1>&2
|
echo "Delaying startup by ${STARTUP_DELAY_IN_SECONDS} seconds" 1>&2
|
||||||
sleep ${STARTUP_DELAY_IN_SECONDS}
|
sleep ${STARTUP_DELAY_IN_SECONDS}
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue