Versions Compared

Key

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

Table of Contents

...

For the purpose of the document, we will assume that the Datical project has the following pipeline and that all changesets generating from "temp_table.sql" were previously abandoned for release 1.0.0. And prior to getting abandoned, those changes had been deployed up until the QA environment. We now need to unabandon changesets from this script so that those can be deployed to STAGE and PROD environments as part of release 2.0.0. As such, you will remove the label "abandoned" from those changesets. And you will add the new label for the release (release/2.0.0).


REF1

DEV

QA

STAGE

PROD

Changesets from "temp_table.sql"

DEPLOYED

DEPLOYED

DEPLOYED

ABANDONED

ABANDONED

Initial labelstemp_table.sql,release/1.0.0,abandoned
Final labelstemp_table.sql,release/1.0.0,release/2.0.0


You can perform this task in automation, however, the user will need to provide two input parameters: 1) the script name to unabandon and 2) the new release label. In your automation system (Jenkins, Bamboo, UrbanCode Build, etc.), create a new job which will perform following operations:

...

    1. hammer deploy STAGE --labels "release/2.0.0 AND !abandoned"
    2. hammer deploy PROD --labels "release/2.0.0 AND !abandoned"


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 ("unabandon","abandon") and type = "page" and space = "DDKB"
labelsabandon unabandon

...