Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This section describes how to setup Datical project when you are using multiple branches in your development. These branches could be used for several reasons: You have

...

developers working on

...

multiple releases at the same time. You may have a branch called "release/1.0". You may also have another parallel branch called "release/2.0". 

Step-by-step guide

You will need to create multiple pipelines in your Datical project. For example, you will call them "pipeline1" and "pipeline2".

  1. Each pipeline will have it's own REF database. You may also have dedicated DEV and QA databases for each pipelne. For example:
    1. "pipeline1" will look like this: REF1 → DEV1 → QA1 → STAGE → PROD 
    2. "pipeline2" will look like this: REF2 → DEV2 → QA2 → STAGE → PROD
    3. Notice that STAGE and PROD is where pipelines merge.
  2. You will use these labels for your database environments:

    1. DB Environment in Datical projectLabel for the DB EnvironmentNotes
      REF1pipeline1All pipeline1 changes are deployed here
      DEV1pipeline1 AND !abandoned AND !hold
      QA1pipeline1 AND !abandoned AND !hold
      REF2pipeline2All pipeline2 changes are deployed here
      DEV2pipeline2 AND !abandoned AND !hold
      QA2pipeline2 AND !abandoned AND !hold
      STAGEpipeline1 AND !abandoned AND !hold, pipeline2 AND !abandoned AND !holdBoth pipeline1 and pipeline2 changes are deployed here
      PRODpipeline1 AND !abandoned AND !hold, pipeline2 AND !abandoned AND !holdBoth pipeline1 and pipeline2 changes are deployed here


  3. Based on the table above,  When you package your changes, Daticalyour changelog.xml will include changesets for both pipelines, for example:
    1. Image Added

  4. Your Datical project becomes an artifact that you publish to your artifacts repository such as Artifactory, Nexus, or artifacts repositories native to your deploy tool.
  5. When you deploy your database changes using your deploy tool Datical will automatically will know what changes to deploy to each environment.
    1. For example, with the above mentioned list of changes

 

Info

Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@1ff1d7
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("branch","multiple","labels","multiple-branches") and type = "page" and space = "DDKB"
labelsmultiple-branches branch multiple labels

...

Page Properties
hiddentrue


Related issues