Questions tagged [versioning]

Questions about versioning, e.g. should semantic versioning be used and how to increment it

24 questions
15
votes
3 answers

What are best practices for docker tag versioning?

I've recently hooked our CI servers up to build docker images upon git commit. We have about 8 different containers that get built, each with their own language / frameworks. Some are node and have a package.json, others are python services that…
Jack Murphy
  • 333
  • 2
  • 7
5
votes
1 answer

Sarbanes-Oxley (SOX) Versioning Strategy

When dealing with publishing SOX application artifacts what is the best strategy for versioning SNAPSHOTS? I'm currently following the semver pattern .. and wondering if it is necessary to get granular with the version strategy…
a11hard
  • 151
  • 3
5
votes
2 answers

How to version control shared database?

We have several C# applications using a shared monolithic database (on-premise SQL server) using Stored Procedures as an exclusive interface. The C# code repositories include only Stored Procedures that are relevant to them, which means a single…
Zikato
  • 153
  • 4
4
votes
2 answers

feature flags vs versioning for APIs

We are looking at moving to a trunk based development branching strategy rather than gitflow that we currently use. I understand that feature flags are crucial to trunk based development. However, is there still a place for versioning APIs if I am…
4
votes
3 answers

What is the Maven versioning strategy for Continuous Delivery or Deployment?

At the moment, we're doing "traditional" deployment, where every couple of weeks, we roll a release. We rely on Semantic Versioning, which has worked well for us. However, we now want to release faster, using Jenkins Pipelines etc, but I'm not sure…
eerriicc
  • 141
  • 2
4
votes
1 answer

What is the meaning of source artifacts that must be in a scripted form?

Quote from rom https://www.ibm.com/developerworks/library/a-devops6/index.html The key prerequisite to versioning everything is that all source artifacts must be in a scripted form. This goes for the infrastructure, the data, configuration, and the…
RuizSerra
  • 43
  • 2
4
votes
2 answers

Creating a Separate Technical and Business Versioning System

A common problem at my company is versioning. We follow a versioning system formatted very similar to semantic versioning (but not by definition). Our current versioning is not only used by development, but also by marketing/sales in their release…
Preston Martin
  • 3,288
  • 4
  • 18
  • 39
3
votes
1 answer

Is it ever OK to delete Git version tags used for promoting software through the release process?

I wonder if anyone has any experience to help me understand if it's acceptable to delete git tags that represent pre-release versions of your software. Before anyone provides a knee-jerk reactive answer to my question, please read the situation…
2
votes
0 answers

AWS Cloudformation - managing multiple stages versioning and deployment

I'm working on a simple cloudformation stack for a web app (some lambda functions, api gateway, cloudfront distribution, etc). The cloudformation stack template is currently versioned on a gitlab project and we're using the feature branch model to…
2
votes
2 answers

Best Practice for Container Image Versioning

I'm looking for some guidance on best practices for container image versioning and despite reading a number of the best practice guides they leave some ambiguity. I understand that most container images use Stable versioning and that the version tag…
Paul H
  • 123
  • 1
  • 5
2
votes
1 answer

GitLab Maintain versions of the code in GitLab CI/CD pipeline for the develop branch

I would like to ensure that code merged via merge request in a GitLab from the feature branch to our develop branch has always a new unique version (gitflow strategy). Version currently stored as the part of the code and depends on the project…
Ievgen
  • 121
  • 4
2
votes
1 answer

Can you remove a commit made to a branch on AWS code commit?

I know of git rebase but don't know if it can be used with AWS code commit? Or if there's any other method of removing a commit to revert back to before it was made and merged?
doug
  • 523
  • 2
  • 6
  • 15
2
votes
1 answer

How does one build a build pipeline with versioned build artifacts?

I'm not sure quite how to phrase this question. I'd like to learn either by answer here or sharing a reference to read from: How do I build a pipeline with versioned build artifact? I've inherited an established Jenkins build infrastructure that I…
John Rocha
  • 121
  • 1
1
vote
1 answer

How do I create separate versions of lambda functions through terraform?

I'm Running Terraform v0.11.14 resource "aws_lambda_function" "test_lambda" { filename = "lambda_function.zip" function_name = "test_lambda" role = "${aws_iam_role.iam_for_lambda_tf.arn}" handler =…
doug
  • 523
  • 2
  • 6
  • 15
1
vote
1 answer

Jenkins won't substitute variables when trying to check out from perforce

I want to generalize my code so that it can pull from perforce for any files marked with a type "perforce" because some files need to downloaded from the artifactory instead. I want to sub in the variable perf[0].ID into the 'view' parameter so that…
1
2