Skip to content

Commit 3539366

Browse files
authored
build: remove docker images support (#971)
1 parent 42bed9a commit 3539366

File tree

11 files changed

+25
-623
lines changed

11 files changed

+25
-623
lines changed

.circleci/config.yml

Lines changed: 1 addition & 91 deletions
Original file line numberDiff line numberDiff line change
@@ -161,88 +161,6 @@ jobs:
161161
command: |
162162
git push https://github.com/SAP/cloud-mta-build-tool.git --delete release
163163
164-
image:
165-
docker:
166-
- image: cimg/go:1.16
167-
working_directory: ~/go/src/github.com/SAP/cloud-mta-build-tool
168-
steps:
169-
- checkout
170-
- setup_remote_docker:
171-
version: 20.10.6
172-
- run:
173-
name: build image pre-setup
174-
command: |
175-
#Make sure HEAD points to master
176-
git checkout master
177-
git fetch
178-
git rebase
179-
- run:
180-
name: "build base image"
181-
command: |
182-
MBT_VERSION=$(cat ./VERSION)
183-
sh $PWD/scripts/build_image 0 0 ${MBT_VERSION}
184-
- run:
185-
name: "build Java 8 & Node 14 image"
186-
command: |
187-
MBT_VERSION=$(cat ./VERSION)
188-
sh $PWD/scripts/build_image 8 14.19.2 ${MBT_VERSION}
189-
- run:
190-
name: "build Java 8 & Node 16 image"
191-
command: |
192-
MBT_VERSION=$(cat ./VERSION)
193-
sh $PWD/scripts/build_image 8 16.15.0 ${MBT_VERSION}
194-
- run:
195-
name: "build Java 8 & Node 18 image"
196-
command: |
197-
MBT_VERSION=$(cat ./VERSION)
198-
sh $PWD/scripts/build_image 8 18.1.0 ${MBT_VERSION}
199-
200-
- run:
201-
name: "build Java 11 & Node 14 image"
202-
command: |
203-
MBT_VERSION=$(cat ./VERSION)
204-
sh $PWD/scripts/build_image 11 14.19.2 ${MBT_VERSION}
205-
- run:
206-
name: "build Java 11 & Node 16 image"
207-
command: |
208-
MBT_VERSION=$(cat ./VERSION)
209-
sh $PWD/scripts/build_image 11 16.15.0 ${MBT_VERSION}
210-
- run:
211-
name: "build Java 11 & Node 18 image"
212-
command: |
213-
MBT_VERSION=$(cat ./VERSION)
214-
sh $PWD/scripts/build_image 11 18.1.0 ${MBT_VERSION}
215-
216-
217-
- run:
218-
name: publish image
219-
command: |
220-
#Make sure HEAD points to master
221-
git checkout master
222-
git fetch
223-
git rebase
224-
MBT_VERSION=$(cat ./VERSION)
225-
echo "Image release: ${MBT_VERSION}"
226-
#Push to Docker Hub
227-
echo "$DOCKER_HUB_TOKEN" | docker login --username $DOCKER_HUB_USER --password-stdin
228-
sh $PWD/scripts/publish_image 0 0 ${MBT_VERSION} "devxci"
229-
sh $PWD/scripts/publish_image 8 14 ${MBT_VERSION} "devxci"
230-
sh $PWD/scripts/publish_image 8 16 ${MBT_VERSION} "devxci"
231-
sh $PWD/scripts/publish_image 8 18 ${MBT_VERSION} "devxci"
232-
sh $PWD/scripts/publish_image 11 14 ${MBT_VERSION} "devxci"
233-
sh $PWD/scripts/publish_image 11 16 ${MBT_VERSION} "devxci"
234-
sh $PWD/scripts/publish_image 11 18 ${MBT_VERSION} "devxci"
235-
236-
#Push to GitHub Container Registry
237-
echo "$CLOUD_MTA_BOT_GITHUB_TOKEN" | docker login "ghcr.io" --username $CLOUD_MTA_BOT_USER --password-stdin
238-
sh $PWD/scripts/publish_image 0 0 ${MBT_VERSION} "ghcr.io/sap"
239-
sh $PWD/scripts/publish_image 8 14 ${MBT_VERSION} "ghcr.io/sap"
240-
sh $PWD/scripts/publish_image 8 16 ${MBT_VERSION} "ghcr.io/sap"
241-
sh $PWD/scripts/publish_image 8 18 ${MBT_VERSION} "ghcr.io/sap"
242-
sh $PWD/scripts/publish_image 11 14 ${MBT_VERSION} "ghcr.io/sap"
243-
sh $PWD/scripts/publish_image 11 16 ${MBT_VERSION} "ghcr.io/sap"
244-
sh $PWD/scripts/publish_image 11 18 ${MBT_VERSION} "ghcr.io/sap"
245-
246164
ghpages:
247165
docker:
248166
- image: squidfunk/mkdocs-material:4.3.1
@@ -331,17 +249,9 @@ workflows:
331249
only: /release/
332250
branches:
333251
ignore: /.*/
334-
- image:
335-
requires:
336-
- release
337-
filters: # job runs on tag 'release' for no branches
338-
tags:
339-
only: /release/
340-
branches:
341-
ignore: /.*/
342252
- publish:
343253
requires:
344-
- image
254+
- release
345255
filters: # job runs on tag 'release' for no branches
346256
tags:
347257
only: /release/

.dockerignore

Lines changed: 0 additions & 9 deletions
This file was deleted.

Dockerfile_mbtci_alpine

Lines changed: 0 additions & 11 deletions
This file was deleted.

Dockerfile_mbtci_java11

Lines changed: 0 additions & 91 deletions
This file was deleted.

Dockerfile_mbtci_java8

Lines changed: 0 additions & 117 deletions
This file was deleted.

0 commit comments

Comments
 (0)