Questions tagged [versioning]
Questions about versioning, e.g. should semantic versioning be used and how to increment it
25
questions
0
votes
1
answer
56
views
Version agnostic code in a branch-versioned monorepo?
Our repo at work has branch versions, branch names are like,
1.0
1.2
1.4
We also have version-agnostic code we're creating now for a plugin system.
Currently there is a proposal to put this version ...
0
votes
0
answers
23
views
Helm and cicd in a multi-repository environment: how to introduce a concept of build?
We have a set of microservices stored in multiple repositories which we deploy on k8s. Currently we use a simple cicd which is triggered by commit to repo. The cicd then builds an image, places image ...
2
votes
0
answers
32
views
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 ...
0
votes
0
answers
726
views
A case for exceeding docker's max depth
I am building a common library inside a docker container. A number of applications depend on the library. They build inside the common container and the compiled files are copied in a "slim" ...
1
vote
1
answer
80
views
How to put production-like data into version control
One goal of DevOps is to create reproducible, production-like environments from source-code repositories. To achieve this, I believe it's necessary to also restore all the data that is needed to setup ...
1
vote
1
answer
544
views
Does Terraform provide a mechanism to find the provider version?
Other than reading .terraform.lock.hcl is there a mechanisms in Terraform to find the version of the providers I am using with the cli interface?
I don't see the version when I run terraform providers ...
0
votes
1
answer
2k
views
How do I upgrade or pin a Terraform Provider?
This is a follow-up to The provider hashicorp/aws does not support resource type "aws_internet_gateway_attachment".
The crux of it is, I'm using 3.75.1 of the AWS provider, and I need to ...
2
votes
2
answers
2k
views
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 ...
2
votes
1
answer
502
views
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 ...
1
vote
1
answer
6k
views
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?
1
vote
2
answers
550
views
Command "git [command] --help" opens as HTML in my code editor - no output to terminal. How do I revert to default behavior?
When I type git reset --help I don't get output in the bash terminal, but a new tab opens in my code editor to reveal some dense HTML. How can I change Git's behavior to display the help message in ...
2
votes
1
answer
199
views
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 ...
0
votes
1
answer
39
views
Gradual rollout management for client applications
I want to rollout software to clients (1m+) devices in a gradual fashion due to high risk. Ideally i would be able to target users based on analytical data i posses and decide if they should receive ...
5
votes
2
answers
412
views
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 ...
0
votes
1
answer
93
views
Best practise/standard practise for semantic versioning in development
I have a project that looks like this:
SOME_MONOREPO, managed by lerna
- package-a
- package-b - depends on package-a, package-c
- package-c - is currently private, so ...
1
vote
1
answer
230
views
How to manage images versions via docker-compose with Ansible
I planned to use docker-compose and a few scripts to manage the deployment of my app on staging and production.
My idea was to use one docker-compose.yml with one .env file for each environment. In ...
4
votes
2
answers
2k
views
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 ...
1
vote
1
answer
424
views
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"
...
1
vote
1
answer
467
views
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 ...
1
vote
0
answers
71
views
Appropriate use cases for git submodule and braid [closed]
For what use cases are git submodules (or subtrees) better suited than braid and vice-versa?
4
votes
3
answers
906
views
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 ...
4
votes
1
answer
77
views
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 ...
5
votes
1
answer
177
views
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 <major>.<minor>.<patch> and ...
4
votes
2
answers
91
views
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 ...
15
votes
3
answers
8k
views
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 ...