Skip to content

simkim/salesforcedx-gitlab-ci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

How to use

Manually with a local project

docker run --rm -ti -e CI_SFDX_USERNAME=XXX@XXX -e CI_SFDX_CONSUMER_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX -v YOUR_PROJECT_FOLDER:/app -v YOUR_KEY:/app/assets/server.key  salesforcedx-gitlab-ci sfdx-test.sh

With Gitlab CI

  • copy and rename gitlab-ci.yml in YOU_PROJECT_FOLDER/.gitlab-ci.yml
  • Create a pipeline variable secret_key with your pem key (server.key) encoded in base64