Skip to content

Commit

Permalink
add OriginHash to aakaas check (#5015)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiloKo committed Aug 23, 2024
1 parent 97e2868 commit b5561aa
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/abapAddonAssemblyKitCheck.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func runAbapAddonAssemblyKitCheck(config *abapAddonAssemblyKitCheckOptions, util
log.Entry().Info("╚═══════════════════════════╝")

conn := new(abapbuild.Connector)
if err := conn.InitAAKaaS(config.AbapAddonAssemblyKitEndpoint, config.Username, config.Password, utils, "", config.AbapAddonAssemblyKitCertificateFile, config.AbapAddonAssemblyKitCertificatePass); err != nil {
if err := conn.InitAAKaaS(config.AbapAddonAssemblyKitEndpoint, config.Username, config.Password, utils, config.AbapAddonAssemblyKitOriginHash, config.AbapAddonAssemblyKitCertificateFile, config.AbapAddonAssemblyKitCertificatePass); err != nil {
return err
}

Expand Down
12 changes: 12 additions & 0 deletions cmd/abapAddonAssemblyKitCheck_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions resources/metadata/abapAddonAssemblyKitCheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,13 @@ spec:
resourceRef:
- name: commonPipelineEnvironment
param: abap/addonDescriptor
- name: abapAddonAssemblyKitOriginHash
type: string
description: Origin Hash for restricted AAKaaS scenarios
scope:
- PARAMETERS
mandatory: false
secret: true
outputs:
resources:
- name: commonPipelineEnvironment
Expand Down

0 comments on commit b5561aa

Please sign in to comment.