diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..82567b98f979e1c5213cc322d4895c5f86dbafe4 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,27 @@ +# This pipeline is to build a image with kubectl and helm enabled + +stages: + - build + +variables: + CONTAINER_IMAGE: gitlab-registry.eps.surrey.ac.uk/noc/kubectl + CONTAINER_TAG: helm + +build: + image: + name: docker:19 + services: + - name: docker:19-dind + variables: + DOCKER_HOST: tcp://docker:2375/ + DOCKER_DRIVER: overlay2 + DOCKER_TLS_CERTDIR: "" + stage: build + tags: + - noc-group-24-44 + script: + - docker login -u noc -p yDXtzxsCdG9mBG1KF2Ef gitlab-registry.eps.surrey.ac.uk + - docker build -t ${CONTAINER_IMAGE} . + - docker tag ${CONTAINER_IMAGE} ${CONTAINER_IMAGE}:${CONTAINER_TAG} + - docker push ${CONTAINER_IMAGE}:${CONTAINER_TAG} + diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..7f83727cb223c03c120d993e5aa39931978d2870 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,10 @@ +FROM gitlab-registry.eps.surrey.ac.uk/noc/kubectl:latest + +WORKDIR /usr/local/bin + +COPY ./helm . + +#EXPOSE 9801 + +#CMD ["/usr/bin/dcc"] + diff --git a/helm-3.7.0 b/helm-3.7.0 new file mode 100755 index 0000000000000000000000000000000000000000..86527f6945c3f5e4efd76c45741fff4c64aedec5 Binary files /dev/null and b/helm-3.7.0 differ