You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Following the Continous Integration here's an example of a continuous deployment workflow.
Some of the steps can be optimized using caches ar archives but conceptually this is what you want to achive.
--- title: Continuous Deployment --- stateDiagram-v2 classDef failedState fill:#f00,color:white,font-weight:bold,stroke-width:1px,stroke:yellow classDef successState fill:#040,color:white,font-weight:bold,stroke-width:1px,stroke:blue # states running : Job is running checkedout : Master is checked out sql: Database DDL verified built: Maven workflow verified thebuild: "The build" thedeploy: "The deployment" deployapp: App deployed updatedb: Database updated success ::: successState : Workflow successful failed ::: failedState : Workflow failed state build <<choice>> state deploy <<choice>> state thebuild { [*] --> built : Maven [*] --> sql : SQL sql --> [*] built --> [*] } state thedeploy { [*] --> deployapp : Push .jar file [*] --> updatedb : Run SQL deployapp --> [*] updatedb --> [*] } # Transitions [*] --> running : Push to issue master running --> checkedout : action/checkout checkedout --> thebuild : merge issue branch thebuild --> build build --> failed : "The build" failed build --> thedeploy: "The build" succeeded thedeploy --> deploy deploy --> failed: "The deployment" failed deploy --> success: "The deployment" succeeded failed --> [*] : Fail success --> [*] : SuccessBeta Was this translation helpful? Give feedback.
All reactions