Skip to content
Snippets Groups Projects

Native Step Runner Integration for Docker Executor

Merged Axel von Bertoldi requested to merge avonbertoldi/47414/steps-integration-docker into main
2 unresolved threads
Compare and Show latest version
3 files
+ 4
4
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 2
2
@@ -1149,7 +1149,7 @@ enabling [a network for each job](#create-a-network-for-each-job).
@@ -1149,7 +1149,7 @@ enabling [a network for each job](#create-a-network-for-each-job).
## Native Steps Integration
## Native Steps Integration
As of version `v17.6.0`, the Docker executor supports executing [CI Steps](https://docs.gitlab.com/ee/ci/steps/)
As of version `v17.6.0`, the Docker executor supports executing [CI Steps](https://docs.gitlab.com/ee/ci/steps/)
natively via the `gRPC` API provided by [`step-runner`](https://gitlab.com/gitlab-org/step-runner.git).
natively via the `gRPC` API provided by [`step-runner`](https://gitlab.com/gitlab-org/step-runner).
To enable this mode of execution, in addition to specifying CI jobs using the `run` keyword instead of the legacy
To enable this mode of execution, in addition to specifying CI jobs using the `run` keyword instead of the legacy
`script` keyword, you must enable the feature flag `FF_USE_NATIVE_STEPS`. This can be done at the job or pipeline level.
`script` keyword, you must enable the feature flag `FF_USE_NATIVE_STEPS`. This can be done at the job or pipeline level.
@@ -1181,4 +1181,4 @@ Note that this is temporary, and in the future we will inject a `step-runner` bi
@@ -1181,4 +1181,4 @@ Note that this is temporary, and in the future we will inject a `step-runner` bi
- Running a step that runs a docker container is subject to the same configuration and limitations as legacy `scripts`.
- Running a step that runs a docker container is subject to the same configuration and limitations as legacy `scripts`.
Namely, you must use
Namely, you must use
[docker-in-docker](https://gitlab.com/gitlab-org/gitlab-runner/-/blob/main/docs/executors/docker.md?ref_type=heads#use-docker-in-docker-with-privileged-mode).
[docker-in-docker](https://gitlab.com/gitlab-org/gitlab-runner/-/blob/main/docs/executors/docker.md?ref_type=heads#use-docker-in-docker-with-privileged-mode).
- Running [`Github Actions`](https://gitlab.com/gitlab-org/step-runner.git) currently does not work.
- Running [`Github Actions`](https://gitlab.com/components/actionrunner) currently does not work.
Loading