on 2022 Aug 23 10:44 PM
Hello Community,
Anyone here had setup GitHub Actions with SAP Commerce Cloud code repository? How are you building the code without platform?
We are trying to setup sonar cloud, codeql analysis
Thanks
Request clarification before answering.
Hi Anil,
In that case, if you want to replace Jenkins altogether with GitHub Actions, you can still leverage the CCv2 automation API or CLI tools and start a build and deployment on the CCv2 automation platform from GitHub Actions.
To build and deploy SAP Commerce codes, you can either your local Dev environment or the CCv2 automation platform, GitHub Actions like Jenkins is just a cloud based CICD server for building automation pipelines, it does not support the runtime environment for SAP Commerce. You still need the SAP Commerce platform to build and deploy your Commerce codes, either locally or in the CCv2 cloud.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
There is a CX Works article on that with Jenkins:
I am using not Github for Tests and sending to sonarcloud, but it should also work there.
I assume the underlying question is, where do i get the binaries (platform) of SAP Commerce cloud?
We have a separate repo for the platform (see in the article as "Core Commerce zip" same binaries you have for your local SAP Commerce when developing) and another for the java version which is the together used for the build.
Kai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Kai, we are have Jenkins setup but looking to eliminate the Jenkins altogether and replace with GitHub Actions.
Hi Anil,
I'm not aware of the GitHub action support on the Commerce Cloud, but if you don't want to build the codes on CCv2 platform, you can integration the CCv2 Automation Engine with your local CICD pipelines through the CCv2 API or CLI tools. This way you can still leverage the static code analysis tools like sonar and codeql.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the response samuel.yang, I'll be making use of CCV2 APIs or CLI tools to build and deploy in CCv2 but before going there, wanted to build the code outside CCV2 to run sonar and codeql in Github Actions (Makes use of github runners) which requires platform packages to be available in the runner.
User | Count |
---|---|
19 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.