Skip to content

Commit 276bc37

Browse files
authored
ABAP Addon: Add details regarding SCR + API snapshot (#5296)
1 parent b4608e4 commit 276bc37

File tree

4 files changed

+19
-4
lines changed

4 files changed

+19
-4
lines changed

cmd/abapEnvironmentAssemblePackages_generated.go

Lines changed: 6 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

documentation/docs/scenarios/abapEnvironmentAddons.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ With the following tools the add-on deliveries are created.
8686
The ABAP Environment platform version of the assembly system is used to determine the minimum platform version for the add-on product version that is created.
8787
Such a system should not be nominated for the pre-upgrade option of ABAP Environment since then the add-on production could only be installed in systems with the pre-upgrade release.
8888

89+
!!! caution "API Snapshots"
90+
During the add-on build any changes to released APIs will be checked for compatibility. The corresponding ATC check can only function properly if there is an API snapshot available in the assembly system. Therefore, make sure to use a permanent system for the assembly if you need to fulfill consistency and stability criteria for your released APIs. Refer to [Checking the Compatibility of Released APIs](https://help.sap.com/docs/abap-cloud/abap-development-tools-user-guide/checking-compatibility-of-released-apis).
91+
8992
The ABAP system responsible for building packages based on software components in the systems. All actions related to the ABAP source code are executed on this system, e.g. running checks with the ABAP test cockpit (ATC) or the physical build of the software components. There are two communication scenarios containing the different APIs of the ABAP environment system: [Test Integration](https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/b04a9ae412894725a2fc539bfb1ca055.html) and [Software Assembly Integration](https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/b04a9ae412894725a2fc539bfb1ca055.html).
9093
The assembly system should be of service *abap/standard* and be provisioned with parameter `is_development_allowed = false` to prevent local changes.
9194

@@ -195,6 +198,9 @@ The leading software component is the software component that is, as opposed to
195198
In the `repositories` section of the add-on descriptor file the reuse software component should be the first, whereas a leading software component would be the last in order.
196199
This is to make sure that that the software components are imported in the correct order, making sure to adhere to dependencies.
197200

201+
!!! caution "Software Component Dependencies"
202+
In case the involved software components have dependencies between them, define them in [software component relations](https://help.sap.com/docs/abap-cloud/abap-development-tools-user-guide/software-component-relations).
203+
198204
The `version` of a software component influcences two aspects:
199205

200206
- The given version will be used as part of the [target vector](#target-vector)

documentation/docs/steps/abapEnvironmentAssemblePackages.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
* The Software Components for which packages are to be assembled need to be present in the system.
3131
* This can be done manually through the respective applications on the SAP BTP, ABAP environment system.
3232
* In a pipeline, you can do this, for example, with the step [abapEnvironmentPullGitRepo](https://sap.github.io/jenkins-library/steps/abapEnvironmentPullGitRepo/).
33+
* In case multiple software component are used, any dependencies between the components need to be defined in [Software Component Relations](https://help.sap.com/docs/abap-cloud/abap-development-tools-user-guide/software-component-relations).
3334
* The packages to be assembled need to be reserved in AAKaaS and the corresponding information needs to be present in CommonPipelineEnvironment. To do so run step [abapAddonAssemblyKitReserveNextPackages](https://sap.github.io/jenkins-library/steps/abapAddonAssemblyKitReserveNextPackages/) prior this step.
3435

3536
## ${docGenParameters}

resources/metadata/abapEnvironmentAssemblePackages.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@ metadata:
22
name: abapEnvironmentAssemblePackages
33
description: "Assembly of installation, support package or patch in SAP BTP ABAP Environment system"
44
longDescription: |
5-
This step runs the assembly of a list of provided [installations, support packages or patches](https://help.sap.com/viewer/9043aa5d2f834ad385e1cdfdadc06b6f/LATEST/en-US/9a81f55473568c77e10000000a174cb4.html) in SAP Cloud
6-
Platform ABAP Environment system and saves the corresponding [SAR archive](https://launchpad.support.sap.com/#/notes/212876) to the filesystem.
5+
This step runs the assembly of a list of provided [installations, support packages or patches](https://help.sap.com/viewer/9043aa5d2f834ad385e1cdfdadc06b6f/LATEST/en-US/9a81f55473568c77e10000000a174cb4.html) in SAP BTP ABAP Environment system and saves the corresponding [SAR archive](https://launchpad.support.sap.com/#/notes/212876) to the filesystem.
6+
<br />
7+
Among others a semantic version [API snapshot](https://help.sap.com/docs/btp/sap-business-technology-platform/creating-api-snapshots?version=Cloud) will be
8+
searched and marked as check-relevant in the assembly system, ATC checks for [consistency of software component dependencies](https://help.sap.com/docs/abap-cloud/abap-development-tools-user-guide/software-component-relations) as well as [API compatibility](https://help.sap.com/docs/abap-cloud/abap-development-tools-user-guide/checking-compatibility-of-released-apis) will run, and a new semantic version API snapshot will be created as well.
9+
<br />
10+
Refer to [Software Assembly Integration (SAP_COM_0582)](https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/26b8df5435c649aa8ea7b3688ad5bb0a.html).
711
spec:
812
inputs:
913
secrets:

0 commit comments

Comments
 (0)