Compare commits
2 Commits
173dc2d719
...
0d5bd3e0d1
Author | SHA1 | Date | |
---|---|---|---|
0d5bd3e0d1 | |||
412f09f942 |
@ -28,8 +28,6 @@ FROM python:3.11-slim
|
|||||||
ARG OPENTOFU_VERSION
|
ARG OPENTOFU_VERSION
|
||||||
ARG SEMAPHORE_VERSION
|
ARG SEMAPHORE_VERSION
|
||||||
|
|
||||||
ENV SEMAPHORE_RUNNER_CONFIG_FILE /semaphore/config.json
|
|
||||||
|
|
||||||
COPY --from=build /build/wheels /tmp/wheels
|
COPY --from=build /build/wheels /tmp/wheels
|
||||||
|
|
||||||
RUN apt-get update --yes && \
|
RUN apt-get update --yes && \
|
||||||
@ -52,10 +50,11 @@ RUN apt-get update --yes && \
|
|||||||
--no-cache-dir \
|
--no-cache-dir \
|
||||||
--find-links /tmp/wheels \
|
--find-links /tmp/wheels \
|
||||||
--disable-pip-version-check && \
|
--disable-pip-version-check && \
|
||||||
rm -rf /tmp/wheels && \
|
rm -rf /tmp/wheels
|
||||||
mkdir --parents /semaphore
|
|
||||||
|
|
||||||
ADD entrypoint.sh /entrypoint.sh
|
ADD entrypoint.sh /entrypoint.sh
|
||||||
ADD configure.py /configure.py
|
ADD configure.py /configure.py
|
||||||
|
|
||||||
|
VOLUME /semaphore
|
||||||
|
|
||||||
ENTRYPOINT ["/entrypoint.sh"]
|
ENTRYPOINT ["/entrypoint.sh"]
|
||||||
|
@ -1,3 +1,12 @@
|
|||||||
# semaphore-runner
|
# semaphore-runner
|
||||||
|
|
||||||
Runner for semaphore runner with custom environment dependencies
|
Runner for semaphore runner with custom environment dependencies
|
||||||
|
|
||||||
|
## Configuration
|
||||||
|
|
||||||
|
```shell
|
||||||
|
SEMAPHORE_RUNNER_REGISTRATION_TOKEN= # (required) registration token to authenticate to the server
|
||||||
|
SEMAPHORE_RUNNER_API_URL= # (required) URL of the Semaphore server API
|
||||||
|
SEMAPHORE_RUNNER_CONFIG_FILE= # runner state file
|
||||||
|
SEMAPHORE_RUNNER_MAX_PARALLEL_TASKS= # Maximum parallel tasks the runner can run at once
|
||||||
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user