Last active
February 3, 2019 10:45
-
-
Save toolmantim/c731730b4b4b7989f8f045956346bcfe to your computer and use it in GitHub Desktop.
Revisions
-
toolmantim revised this gist
Feb 3, 2019 . 2 changed files with 2 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,11 +1,7 @@ Firstly, build the Docker image: ```bash curl https://gist.github.com/toolmantim/c731730b4b4b7989f8f045956346bcfe/raw/Dockerfile | docker build -t bk - ``` Then try to use it in a project that has a buildkite pipeline.yml file: This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ FROM buildkite/agent:ubuntu ADD https://github.com/buildkite/cli/releases/download/v0.2.0/bk-linux-amd64-0.2.0 /usr/bin/bk RUN chmod +x /usr/bin/bk -
toolmantim revised this gist
Feb 3, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ FROM buildkite/agent ADD https://github.com/buildkite/cli/releases/download/v0.2.0/bk-linux-amd64-0.2.0 /usr/bin/bk RUN chmod +x /usr/bin/bk -
toolmantim revised this gist
Feb 3, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ FROM buildkite/agent:ubuntu ADD https://github.com/buildkite/cli/releases/download/v0.2.0/bk-linux-amd64-0.2.0 /usr/bin/bk RUN chmod +x /usr/bin/bk -
toolmantim revised this gist
Feb 3, 2019 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ Firstly, build the Docker image: ```bash pushd /tmp git clone https://gist.github.com/c731730b4b4b7989f8f045956346bcfe.git bk-run cd bk-run @@ -10,6 +10,6 @@ popd Then try to use it in a project that has a buildkite pipeline.yml file: ```bash docker run -it --rm -v "$(PWD):/app" bk run local ``` -
toolmantim revised this gist
Feb 3, 2019 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -11,6 +11,5 @@ popd Then try to use it in a project that has a buildkite pipeline.yml file: ``` docker run -it --rm -v "$(PWD):/app" bk run local ``` -
toolmantim revised this gist
Feb 3, 2019 . 2 changed files with 18 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1 +1,16 @@ Firstly, build the Docker image: ``` pushd /tmp git clone https://gist.github.com/c731730b4b4b7989f8f045956346bcfe.git bk-run cd bk-run docker build -t bk . popd ``` Then try to use it in a project that has a buildkite pipeline.yml file: ``` cd ~/app docker run -it --rm -v "$(PWD):/app" bk run local ``` This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -3,4 +3,6 @@ FROM buildkite/agent ADD https://github.com/buildkite/cli/releases/download/v0.2.0/bk-linux-amd64-0.2.0 /usr/bin/bk RUN chmod +x /usr/bin/bk WORKDIR /app ENTRYPOINT ["bk"] -
toolmantim renamed this gist
Feb 3, 2019 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
toolmantim created this gist
Feb 3, 2019 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ # Example This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ FROM buildkite/agent ADD https://github.com/buildkite/cli/releases/download/v0.2.0/bk-linux-amd64-0.2.0 /usr/bin/bk RUN chmod +x /usr/bin/bk ENTRYPOINT ["bk"]