| 1 | # mbt-docker |
| 2 | |
| 3 | ## Diff from devxci |
| 4 | |
| 5 | * source integrity, source authentication, etc. |
| 6 | * build debug logs |
| 7 | * smoke tests |
| 8 | * version handling compliant with renovate for automated upgrade |
| 9 | |
| 10 | Ref: https://github.com/SAP/cloud-mta-build-tool#the-cloud-mta-build-tool-images-deprecated |
| 11 | |
| 12 | ## Usage |
| 13 | |
| 14 | * Piper: `dockerImage: 'docker.wdf.sap.corp:50000/com.sap.emobility/mbt-docker:<version>'` |
| 15 | * Local: `docker pull public.int.repositories.cloud.sap/com.sap.emobility/mbt-docker:<version>` |
| 16 | |
| 17 | ## Links |
| 18 | |
| 19 | - [ProjectPortal](https://projectportal.tools.sap/#/projectview/ght-e-mobility-mbt-docker) |
| 20 | - [xMake](https://xmake-nova.wdf.sap.corp/job_finder/?input=ght-e-mobility-mbt-docker-OD-common) |
| 21 | - [Artifactory](https://int.repositories.cloud.sap/ui/packages/docker:%2F%2Fcom.sap.emobility%2Fmbt-docker?name=com.sap.emobility&type=packages) |
| 22 | |
| 23 | ## How-To Build docker image |
| 24 | |
| 25 | - Make sure the latest `main` branch version in [.xmake.cfg](https://github.tools.sap/E-Mobility/mbt-docker/blob/main/.xmake.cfg) |
| 26 | 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) |
| 27 | - Open [xMake](https://xmake-nova.wdf.sap.corp/job_finder/?input=ght-e-mobility-mbt-docker-OD-common) |
| 28 | - Click _Build with Parameters_ |
| 29 | - Change _TREEISH_ to `main` |
| 30 | - Change _BUILD_DEPLOY_ to `build_and_deploy` |
| 31 | - Click _Build_ |
| 32 | |
| 33 | ## One-Time Setup Setup |
| 34 | [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) |
| 35 | [xmake-config.yml](https://github.tools.sap/E-Mobility/mbt-docker/blob/config/services/production-services/build-service/config.yml) |
| 36 | |
| 37 | [Kudos - Richards images](https://github.wdf.sap.corp/D057156) |