Skip to main content
10 votes
Accepted

Lean and reusable DX Bitbucket Pipeline for PR checks

Here is a short Bitbucket pipeline script that solves the purpose image: salesforce/salesforcedx:latest-full definitions: steps: - step: &verifyInScratchOrg name: Create scratch ...
Anmol Kumar's user avatar
  • 3,631
5 votes
Accepted

CI/CD w/ SFDX: Where to store the jwtkeyfile in my repo?

A common strategy is to encrypt the JWT keyfile and commit the encrypted version to source control (perhaps under an assets directory). Then, you store the passphrase in a CI variable so that your ...
David Reed's user avatar
  • 93.2k
3 votes

Heroku container push fail: "no basic auth credentials ▸ Error: docker push exited with Error: 1"

Just log in to the Heroku Docker registry before. heroku auth:token | docker login --username=_ registry.heroku.com --password-stdin Docs. https://devcenter.heroku.com/articles/container-registry-and-...
Tom Wojcik's user avatar
2 votes

CI/CD w/ SFDX: Where to store the jwtkeyfile in my repo?

Store the JWTKey in a Repository variable. Run a bash command to create a file and store JWTKey from the Environment variable to that file. (Something like printf $JWT_KEY > server.key) Now, run ...
Abhishek Saxena's user avatar
2 votes

Copy file to Docker executor on Circleci for SFDX project

Scratch orgs are intended to be disposable: you create an org, populate it with your metadata, do work in it, capture any work you wish to persist, and then destroy the org. Scratch orgs generally ...
David Reed's user avatar
  • 93.2k
2 votes
Accepted

manifest for salesforce/salesforcedx:latest not found: manifest unknown: manifest unknown

Solution Change the contents of the Dockerfile to: FROM salesforce/salesforcedx:latest-rc-full I imagine once Code Builder is officially released the value FROM salesforce/salesforcedx will be ...
Robs's user avatar
  • 9,386
2 votes
Accepted

Jenkins, Docker and SFDX: Share SFDX "cache" between docker containers

I found the solution: mount a volume for container folder /root/.sfdx With this volume, SFDX keep in memory the scratch orgs created and used between Docker containers. Example: -v /tmp/myvol_sfdx:/...
Nicolas Vuillamy's user avatar
1 vote
Accepted

How to install a specific version of the Salesforce CLI on Linux?

Install it using the node package manager (NPM): $ npm install [email protected] --global Replacing 0.0.0 with the desired version number.
Renato Oliveira's user avatar
1 vote

Heroku container push fail: "no basic auth credentials ▸ Error: docker push exited with Error: 1"

After a month of coding it was time to push and had the same issue. THIS time, I think this is actually a workable answer: From Heroku docs: $ docker login --username=_ --password=$(heroku auth:token)...
blah's user avatar
  • 71
1 vote

Heroku container push fail: "no basic auth credentials ▸ Error: docker push exited with Error: 1"

[this has been superseded by answer above.] Now it pushes successfully, following (of course) the exact same steps. Is this an answer? Perhaps. Perhaps whatever was wrong with Heroku container last ...
blah's user avatar
  • 71
1 vote
Accepted

Heroku: running a MongoDB and Flask site, defined with Docker-Compose

It would seem this is not possible. Note Heroku support says to go to StackExchange, so this is now the official answer. Individual channels have advised me that IBM, Microsoft, or Amazon, may offer ...
voltagesmaintenance's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible