Skip to content

Commit

Permalink
docker: remove docker image build and cleanup images
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrus committed Apr 14, 2020
1 parent 0757868 commit 1a8bb0e
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 330 deletions.
13 changes: 0 additions & 13 deletions .buildkite/code.pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -275,23 +275,10 @@ steps:
plugins:
<<: *docker_plugin

##################################
# Deploy jobs (master and devnet2)
##################################

# Wait for all jobs defined before this point
# to finish running in parallel before continuing.
- wait

- label: ":rocket: Deploy image"
trigger: oasis-core-build-image-context
async: true
branches: master devnet2
build:
message: "${BUILDKITE_MESSAGE}"
commit: "${BUILDKITE_COMMIT}"
branch: "${BUILDKITE_BRANCH}"

###########################
# Merge coverage and upload
###########################
Expand Down
68 changes: 0 additions & 68 deletions .buildkite/deploy.pipeline.yml

This file was deleted.

44 changes: 0 additions & 44 deletions .buildkite/scripts/get_docker_tag.bats

This file was deleted.

51 changes: 0 additions & 51 deletions .buildkite/scripts/get_docker_tag.sh

This file was deleted.

37 changes: 0 additions & 37 deletions .buildkite/scripts/set_docker_tag_meta_data.sh

This file was deleted.

1 change: 1 addition & 0 deletions .changelog/2838.internal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docker: remove docker image build pipelines and cleanup testing image
18 changes: 0 additions & 18 deletions docker/deployment/Dockerfile

This file was deleted.

37 changes: 0 additions & 37 deletions docker/deployment/build_context.sh

This file was deleted.

37 changes: 0 additions & 37 deletions docker/deployment/docker_build_and_push.sh

This file was deleted.

25 changes: 0 additions & 25 deletions docker/testing/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,6 @@ RUN apt-get install -y \
unzip jq \
libcurl4-openssl-dev zlib1g-dev libdw-dev libiberty-dev

# Install Docker client for building testnet images.
RUN VER="18.03.0-ce" && \
curl -L -o /tmp/docker-$VER.tgz https://download.docker.com/linux/static/stable/x86_64/docker-$VER.tgz && \
tar -xz -C /tmp -f /tmp/docker-$VER.tgz && \
rm /tmp/docker-$VER.tgz && \
mv /tmp/docker/* /usr/bin

# Install kubectl for deployment.
RUN VERSION="v1.10.0" && \
curl -LO https://storage.googleapis.com/kubernetes-release/release/$VERSION/bin/linux/amd64/kubectl && \
chmod +x kubectl && \
mv kubectl /usr/local/bin/kubectl

# Install kcov for coverage.
RUN VERSION="35" && \
wget -O /tmp/kcov-v$VERSION.tar.gz https://github.com/SimonKagstrom/kcov/archive/v$VERSION.tar.gz && \
tar -xf /tmp/kcov-v$VERSION.tar.gz -C /tmp && \
mkdir /tmp/kcov-$VERSION/build && \
cd /tmp/kcov-$VERSION/build && \
cmake -DCMAKE_BUILD_TYPE=Release .. && \
make && \
make install && \
cd ../.. && \
rm -r kcov-v$VERSION.tar.gz kcov-$VERSION

# Install codecov for coverage.
RUN wget -O codecov https://codecov.io/bash && \
chmod +x codecov && \
Expand Down

0 comments on commit 1a8bb0e

Please sign in to comment.