Merge branch 'main' of https://github.tools.sap/E-Mobility/mbt-docker into multiple...
[mbt-docker.git] / README.md
CommitLineData
403c6ed0 1# mbt-docker
57991892 2
73a3385e 3## Diff from [devxci](https://github.com/SAP/cloud-mta-build-tool)
a39c8ea9 4
b4603354 5* latest versions of node/sapmachine/maven
73a3385e 6* python 2->3
b4603354
JB
7* SAP security policy compliance: binaries authentication and integrity check
8* build debug
9* build stopped at any error => no corrupted images can be pushed
a39c8ea9 10* smoke tests
a39c8ea9
AV
11
12Ref: https://github.com/SAP/cloud-mta-build-tool#the-cloud-mta-build-tool-images-deprecated
13
14## Usage
15
16* Piper: `dockerImage: 'docker.wdf.sap.corp:50000/com.sap.emobility/mbt-docker:<version>'`
fb21e6b6 17* Local: `docker pull public.int.repositories.cloud.sap/com.sap.emobility/mbt-docker:<version>`
a39c8ea9 18
403c6ed0
AV
19## Links
20
21- [ProjectPortal](https://projectportal.tools.sap/#/projectview/ght-e-mobility-mbt-docker)
22- [xMake](https://xmake-nova.wdf.sap.corp/job_finder/?input=ght-e-mobility-mbt-docker-OD-common)
4e8e7253
AV
23- [Artifactory](https://int.repositories.cloud.sap/ui/packages/docker:%2F%2Fcom.sap.emobility%2Fmbt-docker?name=com.sap.emobility&type=packages)
24
403c6ed0
AV
25## How-To Build docker image
26
27- Make sure the latest `main` branch version in [.xmake.cfg](https://github.tools.sap/E-Mobility/mbt-docker/blob/main/.xmake.cfg)
767e42af 28 is higher than the latest published version on [Artifactory](https://int.repositories.cloud.sap/ui/packages/docker:%2F%2Fcom.sap.emobility%2Fmbt-docker?name=com.sap.emobility&type=packages)
403c6ed0
AV
29- Open [xMake](https://xmake-nova.wdf.sap.corp/job_finder/?input=ght-e-mobility-mbt-docker-OD-common)
30- Click _Build with Parameters_
767e42af 31- Change _TREEISH_ to `main`
403c6ed0
AV
32- Change _BUILD_DEPLOY_ to `build_and_deploy`
33- Click _Build_
34
4e8e7253
AV
35## One-Time Setup Setup
36[Register Project Portal](https://github.wdf.sap.corp/pages/xmake-ci/User-Guide/Setting_up_a_Build/Create_a_Github_project/#default-builds) + [templates](https://projectportal.tools.sap/#/availableTemplates)
37[xmake-config.yml](https://github.tools.sap/E-Mobility/mbt-docker/blob/config/services/production-services/build-service/config.yml)
38
482fe6a2 39[Kudos - Richards images](https://github.wdf.sap.corp/D057156)