Skip to content
This repository has been archived by the owner on Mar 18, 2019. It is now read-only.

[WIP] Clean up images #38

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 5 additions & 18 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,11 @@
steps:
- command: scripts/download.sh
name: "Download :buildkite: assets"
agents:
queue: docker-builder

- wait
- command: scripts/build.sh
name: "Build :docker: images"
agents:
queue: docker-builder

- wait
- command: scripts/test_all_images.sh
name: "Test :allthethings:"
agents:
queue: docker-builder
- command: .buildkite/steps/test.sh
name: ":hammer: Test"

- wait
- command: scripts/release.sh
name: "Push images to DockerHub :rocket:"

- command: .buildkite/steps/release.sh
name: ":rocket: Push to DockerHub"
branches: master
agents:
queue: docker-builder
Empty file added .buildkite/steps/publish.sh
Empty file.
Empty file added .buildkite/steps/test.sh
Empty file.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.git
.buildkite
1 change: 0 additions & 1 deletion .gitignore

This file was deleted.

8 changes: 0 additions & 8 deletions UPGRADING.md

This file was deleted.

35 changes: 0 additions & 35 deletions alpine/Dockerfile-1.11

This file was deleted.

37 changes: 0 additions & 37 deletions alpine/Dockerfile-1.9

This file was deleted.

27 changes: 27 additions & 0 deletions experimental/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
FROM alpine:3.4

RUN apk add --no-cache \
tini \
bash \
git \
perl \
openssh-client

ENV BUILDKITE_AGENT_VERSION 3.0-beta.10.1323
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be a build argument?


ADD https://download.buildkite.com/agent/experimental/$BUILDKITE_AGENT_VERSION/buildkite-agent-linux-amd64 /usr/local/bin/buildkite-agent
RUN chmod +x /usr/local/bin/buildkite-agent

RUN mkdir -p \
/buildkite/builds \
/buildkite/hooks \
/buildkite/plugins

ENV BUILDKITE_BUILD_PATH=/buildkite/builds \
BUILDKITE_HOOKS_PATH=/buildkite/hooks \
BUILDKITE_PLUGINS_PATH=/buildkite/plugins

ADD https://raw.githubusercontent.com/buildkite/docker-ssh-env-config/master/ssh-env-config.sh /usr/local/bin/ssh-env-config.sh
RUN chmod +x /usr/local/bin/ssh-env-config.sh

ENTRYPOINT ["/sbin/tini", "-g", "--", "ssh-env-config.sh", "buildkite-agent"]
102 changes: 0 additions & 102 deletions scripts/build.sh

This file was deleted.

40 changes: 0 additions & 40 deletions scripts/docker/entrypoint.sh

This file was deleted.

58 changes: 0 additions & 58 deletions scripts/download.sh

This file was deleted.

Loading