Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FLOW :: Deploy Setup #21

Closed
27 of 40 tasks
iPoetDev opened this issue Jul 17, 2023 · 0 comments
Closed
27 of 40 tasks

FLOW :: Deploy Setup #21

iPoetDev opened this issue Jul 17, 2023 · 0 comments
Assignees
Labels
Flow: Deployment Plan #Flow Activity: Flow - Workflows, Processes, Checklists

Comments

@iPoetDev
Copy link
Owner

iPoetDev commented Jul 17, 2023

FLOW: Deploy Flow

Document: Developer Practice | Industry Practice | Developer Skills | Industry Conventions

App Initialise

Common Configuration

  • Login to Heroku
  • Create a new App, name and select Europe region, do not add to pipeline
  • Deployment Method: GitHub, connect to iPoetDev, and add dash-and-do-github repository
  • Automatic Deploys: Linked to the Heroku trunk branch., and enable.
    • Await until CI have completed, is deployable and branch tests have passed. ⛔ Costs incurred.
  • Manual Deploy: useful if you want to redeploy a branch repeatedly.
  • Snapshot the new app settings
  • Buildpacks: Use to install dependencies, and configure environment
    • NodeJs: version v
      • Requirements:
    • Python: version v
      • Requirements:
  • Investigate if custom buildpacks for ... a) cost and b) are needed, and c) configuration requirements
    • Heroku-Django
    • Django

Pipeline Define & Strategy

  • Create two Pipelines
    • Create a Development Pipeline with one build stage:
      1. Development:
        • Intent: Initial stages, high churn, rough and error prone.
    • Create a Release Pipeline with two build stages:
      1. Integrate: Staging: Review
        • Intent: Review, Check, User Acceptance Testing and higher quality.
      2. Live: Production - Submission Quality
        • Intent: Submission quality, User Accepted,
  • Add an app per a stage in a pipeline
    1. dash-and-do-dev: Development App: dash-and-do
    2. dash-and-do-release: Staging App: dash-and-do-integrate
    3. dash-and-do-release: Production App: dash-and-do-github
  • Connect multiple apps together and promote code
    • Connected pipelines, with GitHub i.e. Connected to iPoetDev/dash-and-do-github by iPoetDev iPoetDev
      • dash-and-do-dev/dev (app) automatically deploys from github/heroku-dev branch
      • dash-and-do-dev/integrate (app) automatically deploys from github/heroku-integrate branch
      • dash-and-do-dev/production (app) automatically deploys from github/heroku-prod branch
    • Can enable review apps#
      • Review apps only for dash-and-do-dev pipeline.
    • Create apps, new builds for each new pull requests to each of these GitHub Branches
      • PR & Merge into github/heroku-dev => Build the dash-and-do-dev pipeline's Development App: dash-and-do
      • PR & Merge into github/heroku-integrate => Build the dash-and-do-release pipeline's Staging App: dash-and-do-integrate
      • PR & Merge into github/heroku-prod => Build the dash-and-do-release pipeline's Production App: dash-and-do-github

Continuous Integration and Deployment

  • Bare bones
  • Two Pipes, with Dev being a dead-end, disposeable, and iterable
  • Review apps on the dev pipe
  • Extra work to move code between dev trunk, integration trunks and heroku's 3 trunks - Think about effort v performance?

@iPoetDev iPoetDev self-assigned this Jul 17, 2023
@zube zube bot added the [zube]: Inbox label Jul 17, 2023
@iPoetDev iPoetDev added #Flow Activity: Flow - Workflows, Processes, Checklists Flow: Deployment Plan labels Jul 18, 2023
iPoetDev added a commit that referenced this issue Jul 18, 2023
Intent: Deployment/Infrastructure Design,
Readme: Section 15.1, 15.2, 15.3 & 15.4
Tag: project,readme,documentation
Sprint: 02: Ends 23-7-21, #4
Issues:  #21, #14, #23
Changelog: 2023-07-18 v00.00.001:01
- add:
  - Diagrams images in `docs/readme`
    - Commit & Branch into Deployment
    - Cloud Hosting Platform Config: Deployment Create Apps
    - Cloud Hosting Platform Config: Deployment Create Apps
- update: Readme | 15.0 Deployment
  - Readme Section 15.1 Commit Flow
  - Readme Section 15.2 GitHub Deployment Flow
  - Readme Section 15.3 Heroku Integration
  - Readme Section 15.App Web URI
  - Diagrams
    - Docs/assets add Other Readme images
- note:
  - [ ] Move/Update Images later
  - [ ] Reconnect links/file paths

---
Agilelog:
- epic: The Arch & Deploy / DESIGN: System (Architecture)
        and Infrastructure (Deployment) Design

---
AssesmentLog:
- pass: LO-06-Pass
- merit: LO-06-Merit
- distinct:
iPoetDev added a commit that referenced this issue Jul 18, 2023
Intent: Deployment/Infrastructure Design,
Readme: Section 15.1, 15.2, 15.3 & 15.4
Tag: project,readme,documentation
Sprint: 02: Ends 23-7-21, #4
Issues:  #21, #14, #23
Changelog: 2023-07-18 v00.00.001:01
- add:
  - Diagrams images in `docs/readme`
    - Commit & Branch into Deployment
    - Branching Strategies
    - Cloud Hosting Platform Config: Deployment Create Apps
- update: Readme | 15.0 Deployment
  - Readme Section 15.1 Commit Flow
  - Readme Section 15.2 GitHub Deployment Flow
  - Readme Section 15.3 Heroku Integration
  - Readme Section 15.App Web URI
  - Diagrams
    - Docs/assets add Other Readme images
- note:
  - [ ] Move/Update Images later
  - [ ] Reconnect links/file paths

---
Agilelog:
- epic: The Arch & Deploy / DESIGN: System (Architecture)
        and Infrastructure (Deployment) Design

---
AssesmentLog:
- pass: LO-06-Pass
- merit: LO-06-Merit
- distinct:
@iPoetDev iPoetDev closed this as completed Aug 1, 2023
@zube zube bot removed the [zube]: Done label Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Flow: Deployment Plan #Flow Activity: Flow - Workflows, Processes, Checklists
Projects
None yet
Development

No branches or pull requests

1 participant