8
votes
Accepted
How to version control shared database?
I personally made the unwise choice of cramming five different apps into a single database about 20 years ago. I then had to deal with the repercussions of that. The bad news is, this is really hard. ...
7
votes
Accepted
What are best practices for docker tag versioning?
I would direct you to my post Coupling docker registry and source control where dmaze answered from the official forums.docker.com. Commit hash and branch name or tags suffices.
In your Dockerfile, ...
4
votes
Accepted
Best Practice for Container Image Versioning
First a couple key points:
Tags are mutable in most registries, so v1 today may be different from v1 a month ago. However clients do need to pull this tag again to see the updates.
Multiple tags may ...
3
votes
Accepted
What is the meaning of source artifacts that must be in a scripted form?
IMO these could be possible synonyms for scripted, in the context of your question here:
in a textual format, which you can edit in some editor, like YAML, XML, JSON, PHP, etc.
NOT in a binary format,...
3
votes
Accepted
Creating a Separate Technical and Business Versioning System
It seems to me that your customers should be dictating the versioning. Both teams seem to be heading towards the same thing but only partially understanding the customer impact. For development, when ...
2
votes
What are best practices for docker tag versioning?
How to ensure that each tag has a unique semantic version number for
the specific images?
One could create a tag that consists of multiple elements, e.g. a combination of a timestamp, git commit ...
2
votes
feature flags vs versioning for APIs
The two approaches whilst somewhat overlapping solve two different problems:
Feature flags allow you to decouple the action of deployment from the action of release. i.e. you can push a change to an ...
2
votes
How to version control shared database?
Disclaimer: I'm not a RDBMS DBA and I have zero experience with MSSQL. Everything below is a hypothesis.
Each app should have it's own stored procedures in migrations, and shared procedures should be ...
2
votes
Best practise/standard practise for semantic versioning in development
Version bumps should happen every single build. Waiting until a formal release and releasing everything as 1.0.0 is an option, but you should still know what build you are using in your alpha/beta.
...
2
votes
Can you remove a commit made to a branch on AWS code commit?
Simplest answer is to just revert the commit. AWS Code Commit is standard Git and will support everything Git allows you to do.
I.e. find commit hash:
git log -n1
commit ...
1
vote
Accepted
A case for exceeding docker's max depth
I ended up using docker-squash.
Install: pip install docker-squash
Example usage, squash up to <LAYER>:
docker-squash -f <LAYER> -t <IMAGE>:squashed <IMAGE>:<TAG>
1
vote
Accepted
How to put production-like data into version control
it depends a bit what kind of cms you use, most cms offer a way to package data in to packages that you can check in to git and deploy to databases almost like code to webapps.
For example, we work ...
1
vote
Accepted
How do I upgrade or pin a Terraform Provider?
Upgrading to the newest version
You can upgrade the provider with
terraform init -upgrade
So long as you don't have the version specified anywhere in a required_providers block.
Pinning with a ...
1
vote
GitLab Maintain versions of the code in GitLab CI/CD pipeline for the develop branch
While I generally do not recommend GitFlow these days, fully automated way to do what you ask is possible to achieve with an external system. Below I will describe how to do it with Reliza Hub (which ...
1
vote
Command "git [command] --help" opens as HTML in my code editor - no output to terminal. How do I revert to default behavior?
This is not the default behavior of git so you have made some local config change to cause this to happen. Look in your ~/.gitconfig to see if there's anything that doesn't make sense to you. Try ...
1
vote
How does one build a build pipeline with versioned build artifacts?
I know this question was asked a long time ago but I still want to answer it.
How products are build, versioned and delivered depend highly on the combination of the used tools, the infrastructure and ...
1
vote
Sarbanes-Oxley (SOX) Versioning Strategy
I suggest to follow the principles that are defined in the Semantic Versioning 2.0.0 documentation.
1
vote
Accepted
How to manage images versions via docker-compose with Ansible
The best way is of course (like Zeitounator comments) to use a inventory var. Either you use the version number in the docker-compose task as a variable or you create a Jinja2 template docker-compose....
1
vote
How do I create separate versions of lambda functions through terraform?
I just needed to set
publish = true
I then enconter another issue for creating seprat versions but finding this answers my initial question
1
vote
Jenkins won't substitute variables when trying to check out from perforce
Your string isn't being interpolated at the correct time because it's in single quotes. Instead it's being passed to the checkout method as an un-interpolated string. By the time the checkout method ...
1
vote
What is the Maven versioning strategy for Continuous Delivery or Deployment?
I've just done this and so far it's working well for us.
Basically we use a Jenkinsfile and retrieve the version from the POM (which is using semantic versioning) and remove the snapshot.
stage('...
1
vote
What is the Maven versioning strategy for Continuous Delivery or Deployment?
we now want to release faster
And from your comment:
Basically, since the artifacts depend on each other, we need to release them in the correct sequence. And since there's a lot of them, it takes ...
1
vote
Creating a Separate Technical and Business Versioning System
In my opinion the software version should not be updated if the documentation changes, while the software itself does not change.
I do not prefer to use different versioning for technical ...
1
vote
What are best practices for docker tag versioning?
I suppose that you use one of the DevOps tools for CI/CD like Jenkins, I suggest the following approach,
If you use something like Jenkins-
You can configure your job such a way that you can use ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
versioning × 24docker × 3
environments × 3
jenkins × 2
amazon-web-services × 2
continuous-integration × 2
terraform × 2
git × 2
deployment × 2
cicd × 2
build-pipeline × 2
artifacts × 2
monorepo × 2
kubernetes × 1
ansible × 1
docker-compose × 1
containers × 1
gitlab × 1
continuous-deployment × 1
python × 1
databases × 1
helm × 1
aws-lambda × 1
bash × 1
builds × 1