All Projects → forcedotcom → Sfdx Travisci

forcedotcom / Sfdx Travisci

Licence: apache-2.0

Labels

Projects that are alternatives of or similar to Sfdx Travisci

Sobject Remote
JavaScript library to simplify CRUD DML operations with JavaScript Remoting on the force.com platform.
Stars: ✭ 57 (-40%)
Mutual labels:  apex
Sfdc Convert Attachments To Chatter Files
📎 Easily migrate your Attachments to Salesforce Files.
Stars: ✭ 72 (-24.21%)
Mutual labels:  apex
Batch Entry For Salesforce.com
jQuery-based quick entry screen that works with any object. Highly configurable and flexible.
Stars: ✭ 82 (-13.68%)
Mutual labels:  apex
Purealoe
Salesforce Sample App part of the sample gallery. Agriculture and retail use case. Get inspired and learn best practices.
Stars: ✭ 65 (-31.58%)
Mutual labels:  apex
Cinnamon
Cinnamon is a Force.com app that enables you to build and run Selenium tests to validate custom UI pages with Visualforce/Javascript in your Salesforce org.
Stars: ✭ 70 (-26.32%)
Mutual labels:  apex
Visualforce Typeahead
A flexible typeahead component for use on Visualforce pages. Uses the typeahead.js library from Twitter.
Stars: ✭ 73 (-23.16%)
Mutual labels:  apex
Apex Legends Internal
Simple Apex Legends esp source
Stars: ✭ 53 (-44.21%)
Mutual labels:  apex
Automated Testing For Force.com
Salesforce testing automation runs all tests and emails your team. Native Force.com Apex code delivers lightweight Salesforce continuous integration.
Stars: ✭ 88 (-7.37%)
Mutual labels:  apex
Apex Dml Manager
Enforces CRUD/FLS in the least disruptive way possible
Stars: ✭ 70 (-26.32%)
Mutual labels:  apex
Apextestkit
A way to simplify your Salesforce data creation.
Stars: ✭ 80 (-15.79%)
Mutual labels:  apex
Lwc Recipes
A collection of easy-to-digest code examples for Lightning Web Components on Salesforce Platform
Stars: ✭ 1,147 (+1107.37%)
Mutual labels:  apex
Rflib
Salesforce open source library with logging framework, trigger framework, feature switches, and advanced monitoring capabilities
Stars: ✭ 69 (-27.37%)
Mutual labels:  apex
Processbuilderblocks
apex invocable methods for use in Process Builder
Stars: ✭ 77 (-18.95%)
Mutual labels:  apex
Apex Domainbuilder
Framework to setup Apex test data in a highly flexible and readable way using the Test Data Builder pattern.
Stars: ✭ 61 (-35.79%)
Mutual labels:  apex
Dialogue Generation
Generating responses with pretrained XLNet and GPT-2 in PyTorch.
Stars: ✭ 86 (-9.47%)
Mutual labels:  apex
Wsdl2apex
Stars: ✭ 54 (-43.16%)
Mutual labels:  apex
Connectapihelper
Helper class that makes it easier to post Chatter @-mentions, rich text, and inline images with Apex code.
Stars: ✭ 72 (-24.21%)
Mutual labels:  apex
Awesome Low Code
Awesome Low-Code Application Platforms | 全球低代码平台开发资源大全
Stars: ✭ 90 (-5.26%)
Mutual labels:  apex
Sirono Common
Common Apex utility classes and frameworks used by Sirono products
Stars: ✭ 87 (-8.42%)
Mutual labels:  apex
Query.apex
A dynamic SOQL and SOSL query builder on Salesforce.com platform
Stars: ✭ 78 (-17.89%)
Mutual labels:  apex

sfdx-travisci Build Status

For a fully guided walk through of setting up and configuring this sample, see the Continuous Integration Using Salesforce DX Trailhead module.

This repository shows one way you can successfully setup Salesforce DX with Travis CI. We make a few assumptions in this README:

If any any of these assumptions aren't true, the following steps won't work.

Getting Started

  1. Make sure you have the Salesforce CLI installed. Check by running sfdx force --help and confirm you see the command output. If you don't have it installed you can download and install it from here.

  2. Confirm you can perform a JWT-based auth: sfdx force:auth:jwt:grant --clientid <your_consumer_key> --jwtkeyfile server.key --username <your_username> --setdefaultdevhubusername

    Note: For more info on setting up JWT-based auth see Authorize an Org Using the JWT-Based Flow in the Salesforce DX Developer Guide.

  3. Fork this repo into your github account using the fork link at the top of the page.

  4. Clone your forked repo locally: git clone https://github.com/<git_username>/sfdx-travisci.git

  5. From you JWT-Based connected app on Salesforce, retrieve the generated Consumer Key.

  6. Set your Consumer Key and Username using the Travis CLI. Note that this username is the username that you use to access your Dev Hub.

    travis env set CONSUMERKEY <your_consumer_key> travis env set USERNAME <your_username>

  7. Add your server.key that you generated previously to the folder called assets.

  8. Open the .travis.yml file and remove the first line that starts with openssl ... and save the file.

  9. From the root folder of your local project, encrypt your server.key value:

    travis encrypt-file assets/server.key assets/server.key.enc --add

  10. IMPORTANT! Remove your server.key: rm assets/server.key, you should never store keys or certificates in a public place.

And you should be ready to go! Now when you commit and push a change, your change will kick off a Travis CI build.

Enjoy!

Contributing to the Repository

If you find any issues or opportunities for improving this repository, fix them! Feel free to contribute to this project by forking this repository and make changes to the content. Once you've made your changes, share them back with the community by sending a pull request. Please see How to send pull requests for more information about contributing to Github projects.

Reporting Issues

If you find any issues with this demo that you can't fix, feel free to report them in the issues section of this repository.

Test

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].