Salesforce is excited to announce new integrations with GitLab. GitLab provides developers a single, unified application for the complete DevOps lifecycle. Together, Salesforce and GitLab aim to make adopting modern software development best practices like Git-based version control and automated continuous integration and delivery (CI/CD) with Salesforce development easy and straightforward.
Heard a lot about CI/CD but don’t know where to begin?
Salesforce DX tools enable test automation and continuous delivery, but getting started can be daunting. We have partnered together to provide templates that make GitLab’s CI/CD work out of the box, easy to customize, and integrate well with GitLab’s other leading capabilities, such as project planning, testing, and security. Here is what we are launching today:
- A new Trailhead module — Build an Automated CI/CD Pipeline with GitLab: Learn how to get started quickly with CI/CD using GitLab and Salesforce DX tools. This detailed Trailhead module will walk you through how to set up your first project and automated GitLab CI/CD pipeline. Throughout the way, you’ll glean technical guidance, step-by-step, on individual tasks like defining your gitlab-ci.yml file, provisioning scratch orgs, and deploying to sandbox orgs. By completing the Trailhead module, you will have gained hands-on experience on how a change made in the UI in a scratch org can proliferate automatically through production leveraging this same pipeline.
- Single sign-on (SSO) with your Salesforce credentials to GitLab.com: We wanted to make it super easy to use GitLab as a unified development tool within your teams, so now, you don’t even have to remember a new username and password. Just log in to GitLab.com with your Salesforce credentials from the GitLab login screen to get started or create a new account.
- SFDX project template for GitLab: If you are starting a new project in GitLab, create it with the SFDX project template in just a few clicks: one click to create a new project, another click to ‘Import’ via ‘Git Repo by URL’ and enter this git url. With these simple steps, you will have created a new project and repository with a scaffolded Salesforce DX project which includes a pre-configured GitLab CI/CD pipeline definition file, a GitLab attributes file, and SFDX project directories and associated JSON files, along with a readme providing instructions on how to get going.
- SFDX gitlab-ci.yml template: Already have a repository or project and just want to start using CI/CD pipelines quickly? No problem, we worked with GitLab to create a new SFDX.yml template. You can find the template in the SFDX namespace on GitLab. There are directions in the repository on how complete set up so scratch orgs for testing are created from your devhub. The next time you commit, your CI/CD pipeline will run automatically.
But the fun doesn’t stop there! Between May 29 to July 31, 2019, when you sign up for a new account on GitLab.com using your Salesforce credentials, you will get three months of GitLab Gold for FREE. GitLab.com Gold provides you the ability to run 50,000 CI pipelines per month (with a 4-hour support SLA) along with advanced DevOps features and functions which include project management, portfolio management, advanced security (SAST, DAST and automated solutions for vulnerabilities) and application performance alerts.
Learn more and sign up for this promotion here.
Details:
- This offer is available until July 31, 2019 and will provide you three months FREE of GitLab.com Gold for you and your team from the day you sign up.
- Existing Salesforce customers or customers looking to try GitLab Self Managed can reach out directly to enroll in the GitLab three-month trial for your Salesforce development and admin teams.
- For new accounts, once your three-month free trial is over, your account will be downgraded to GitLab.com Free tier or you can choose to subscribe to a higher tier. Details of features and functions across different product tiers of GitLab.com can be found here.