forcedotcom / forcedotcom/NextGeneration-DevOpsCenter

New Work Item -> New Feature Branch. How should I deploy these changes?

Aperta
#8 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Nessun dato sulla lingua
Stelle
7
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I created a very simple pipeline connected to an existing repo in GitHub hosting a Salesforce DX project. The "Production" stage is tied to my production org, and there is a single org tied to "Developer Environments" which is a Developer Sandbox (called "Carlos Developer Sandbox").

Screenshot before activating:
Image

Screenshot after activating the pipeline:
Image

I created a test work item in the project tied to this pipeline, and set this work item to "In Progress". This creates a feature branch (in this case, gs-salesforce/WI-000001).

Screenshot from the Work Items screen in Salesforce:
Image

Screenshot from GitHub:
Image

**What is the intended user journey now?** Should I:
1. Pre-requisite: have ensured that my default git branch of the git repo hosting my Salesforce DX project is synced with my production org?
2. Pre-requisite: [have back synced](https://help.salesforce.com/s/articleView?id=platform.devops_center_run_back_sync.htm&type=5) (through DevOps Center, see screenshot below) my development environment(s) with production prior to have set this work item to in progress?

Image

3. Make programmatic (code-based) changes in this feature branch?
4. (Somehow, and _**outside of Salesforce DevOps Center**_) deploy these code changes from my feature branch to the org associated with this work item (in this case, a Developer Sandbox)?

[alternatively to (3) and (4): make changes to the development org associated with this work item through declarative (point-and-click) development (aka [ClickOps](https://controlmonkey.io/resource/what-is-clickops/)), and then use [DX Inspector](https://help.salesforce.com/s/articleView?id=platform.devops_center_dx_inspector.htm&language=en_US&type=5) to [commit these changes](https://help.salesforce.com/s/articleView?id=platform.devops_center_commit_changes.htm&type=5) into my feature branch]

5. Verify things work in my development org, and then, _**in Salesforce DevOps Center**_, promote this work item to the next stage (in my case, the next stage being prod)? And Salesforce DevOps Center therefore does the deployment and also the commit back to the branch associated with the next stage?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Inizia dalle pagine Salesforce Help collegate relative a back sync, DX Inspector e committing changes, quindi ricostruisci il rapporto tra la feature branch della pipeline, Developer Sandbox e la fase Production. Documenta il percorso previsto sia per le modifiche basate sul codice sia per quelle dichiarative, indicando anche quando avvengono i deployment e i commit nel branch, in modo che ogni passaggio e il relativo stato di completamento siano chiari.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
git, github
Ambito
devops, documentation
Tipo di issue
Documentazione
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Tranquilla
Chiarezza
Da chiarire
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.