This repository has been archived by the owner on Feb 15, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
310 additions
and
39 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# address of bitbucket server with Snake CI plugin installed | ||
# master_address: "" | ||
|
||
# log: | ||
# debug: false | ||
# trace: false | ||
|
||
# a custom name of runner, hostname is used as default | ||
# name: "" | ||
|
||
# specify custom runner token. you should never add it unless you are moving | ||
# your runner to another location and want to save it's id | ||
# token: "" | ||
|
||
# path to use to save token retrieved by master during registration | ||
# token_path: "/etc/snake-runner/token" | ||
|
||
# how often should runner let master know that it's online | ||
# heartbeat_interval: "30s" | ||
# | ||
# how often should runner ask for a job | ||
# heartbeat_interval: "5s" | ||
# | ||
# how many parallel pipelines can be running, 0 means to use number of CPUs | ||
# max_parallel_pipelines: 0 | ||
# | ||
# path to ssh key that will be used for retrieving git repositories. it's not | ||
# required because snake-runner can generate it and send public part to Snake | ||
# CI plugin to add to repositories during job execution | ||
# ssh_key: "/etc/snake-runner/id_rsa" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
FROM alpine:3 | ||
|
||
COPY /snake-runner.docker /bin/snake-runner | ||
|
||
RUN mkdir /etc/snake-runner/ | ||
COPY /conf/snake-runner.conf /etc/snake-runner/snake-runner.conf | ||
|
||
ENV SNAKE_MASTER_ADDRESS "" | ||
ENV SNAKE_LOG_DEBUG "" | ||
ENV SNAKE_LOG_TRACE "" | ||
ENV SNAKE_NAME "" | ||
ENV SNAKE_TOKEN "" | ||
ENV SNAKE_TOKEN_PATH "" | ||
ENV SNAKE_VIRTUALIZATION "" | ||
ENV SNAKE_MAX_PARALLEL_PIPELINES "" | ||
ENV SNAKE_SSH_KEY_PATH "" | ||
|
||
VOLUME /var/run/docker.sock | ||
VOLUME /var/lib/snake-runner/secrets/ | ||
|
||
CMD ["/bin/snake-runner"] | ||
|
||
# vim: ft=dockerfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.