Hot answers tagged

11 votes
Accepted

Why is build size such a concern?

When I raise build size issue as a concern, it usually doesn't come from "it is so big, it will be expensive to store it". The main problems with large builds are the following - increased shipping ...
Evgeny Zislis's user avatar
11 votes

How to get rid of develop branch for simplified Git flow

Let's say you take out the master branch (you can rename develop to master to confuse your team if you like later) and simply use tags for releases either on develop or hotfix branches. You took out ...
Jiri Klouda's user avatar
  • 5,807
9 votes
Accepted

How to restrict filesystem access in Atlassian Bamboo builds?

There is currently no ability to restrict jobs which are able to run on the same agent from potentially interacting with each other. There are a bunch of feature requests asking for this sort of ...
hvindin's user avatar
  • 1,734
8 votes
Accepted

What exactly are "Truly reproducible builds"?

What exactly are they? Here is a quote from reproducible-builds.org: Reproducible builds are a set of software development practices that create a verifiable path from human readable source code ...
Pierre.Vriens's user avatar
  • 7,185
8 votes
Accepted

How to get rid of develop branch for simplified Git flow

IMHO the problems you're facing are just a side effect of the poor branch strategy you started with: you're effectively plowing new development on develop (i.e. what converges towards the future ...
Dan Cornilescu's user avatar
8 votes

Crash course in Dev for Ops?

Since you've tagged this question as "culture", I'm assuming you're not interested in a specific application, but in the broader questions of workflow and management. I'd probably start with "The ...
Stuart Ainsworth's user avatar
7 votes

How to create staging servers for multiple git branches?

1) How can I run several different branches on the staging server? Docker 2) How would I set up the DB evolution system to make sure it always has appropriate DB for each branch? This depends on ...
James Shewey's user avatar
  • 3,724
7 votes
Accepted

Is it possible to build Jenkins jobs without using build numbers?

It's not possible to avoid setting the BUILD_NUMBER environment variable, but you can avoid using it. Try using the Jenkins plugin Build Name Setter Plugin. It adds an option in your build ...
Peter G's user avatar
  • 1,092
7 votes
Accepted

Is Windows in general always slower than linux?

TL;DR depends on the use case with up to 12 times between best/worst Comprehensive testing has been done over at Phoronix (28.03.18) and the results are very mixed. The tests looked at: Clear Linux ...
Moritz's user avatar
  • 1,207
7 votes

Crash course in Dev for Ops?

This is not about DevOps, but straight software development, I assume. I want to understand the culture better Well, the big thing in straight development (without the "DevOps" angle) is ...
AnoE's user avatar
  • 4,866
6 votes

Why is build size such a concern?

Complementing Evgeny's answer with a few more examples. What you mean by build size may matter a bit: if it is the size of the artifact(s) being built (each one individually or their combined size) ...
Dan Cornilescu's user avatar
6 votes
Accepted

How to execute a Jenkins job until the build is green

This pipeline will run each day at 1 AM. It'll restart if the build fails. pipeline { agent any triggers { cron('0 1 * * *') } stages { stage ('Build') { ...
Hedi Nasr's user avatar
  • 736
5 votes

How to get rid of develop branch for simplified Git flow

You are already building and testing code on each of the pull-request and hot-fix branches. This means that in aggregate, the sum of all branches pending on pull-request are your virtual develop ...
Evgeny Zislis's user avatar
5 votes

Why do companies use JFrog Artifactory or other repositories instead of Maven central repository?

Saved bandwith and faster downloads: Artifactory stores the artifacts that are downloaded from maven central. So if another developer needs the same dependencies they don't need to be downloaded again ...
jadephantom's user avatar
4 votes
Accepted

Maven command for Sonarqube analysis

Well, you can pass multiple goals to maven in command line simply by passing them as arguments. Skipping test require a java system property that you can also pass as an argument to the command line. ...
Fanch's user avatar
  • 74
4 votes

What exactly are "Truly reproducible builds"?

To provide a practical example of an attempt at creating a truly repeatable build consider the following - A build pipeline which starts with a git repository for which no user can ever rewrite ...
hvindin's user avatar
  • 1,734
3 votes
Accepted

How to make the Jenkins agent build then start the server?

You are running into a conflict between jenkins nature of making sure everything is done before a job is complete and your desire for some long-running things to be asynchronous. There is no right ...
chicks's user avatar
  • 1,838
3 votes

Should compilers be kept in artifactory?

There are a few main reasons why you would use Artifactory (or any other binary repository manager) over a traditional file storage (in your case NFS). The ability to manage your artifact versions A ...
Preston Martin's user avatar
  • 3,218
3 votes
Accepted

Using Anaconda instead of pip+virtualenv

In my field (science) Anaconda is probably the most common Python distribution in use. conda is the package manager (just to be clear of the distinction). It is difficult to find fault in conda when ...
Tiago Antao's user avatar
3 votes

How to get rid of develop branch for simplified Git flow

Well @dan-cornilescu says it well for your particular problem, but the more general case for Trunk-Based Development (mentioned in the Continuous Delivery, Lean Enterprise, and The DevOps Handbook) is ...
paul_h's user avatar
  • 314
3 votes

Why is build size such a concern?

I'll add a very concrete issue that we actually run into. It's a sideeffect of bad architecture that we're suffering currently: Since our build is large and we need to load a lot of dependencies ...
Worp's user avatar
  • 679
3 votes

What does "build step" mean?

In a CI/CD pipeline a build step is whatever you want it to be. It is the equivalent of a function or procedure from a traditional programming language. Examples of build steps from a CI/CD ...
chicks's user avatar
  • 1,838
2 votes

RPM's, VM's : time consuming

For a laptop, desktop or standalone server, consider trying out Docker containers. These containers are designed to allow you to provide differing libraries, packages and shared objects uniquely to ...
James Shewey's user avatar
  • 3,724
2 votes

RPM's, VM's : time consuming

Have you considered setting up a build server (i.e. Jenkins, TeamCity) with disposable build agents? If you do it in the cloud (i.e. via ec2 integration), you can literally set up an AMI with generic ...
maplebird's user avatar
  • 676
2 votes
Accepted

Jenkins Testing PR's - allowing broken builds

On GitHub - you can't. Basically, their PRs are temporary branches, and there's no check if base commit is HEAD of branch to merge in. This problem is solved with gating systems like Zuul, which puts ...
chupasaurus's user avatar
2 votes

How to create staging servers for multiple git branches?

I'd argue that this isn't actually about staging servers. A staging server closely mimics the production environment, and is where a release goes immediately prior to going to production. A feature ...
Xiong Chiamiov's user avatar
2 votes
Accepted

Build Design - Docker vs Fedora's Mock

Docker is going to be far more well-known than Mock. I consistently see Docker used during build in companies that I work for. I think I have seen Mock before, but only because I am a Fedora user. ...
user2640621's user avatar
  • 1,395
2 votes
Accepted

Should compilers be kept in artifactory?

In many cases compilers are used as-is, already packaged by 3rd parties. When changing the structure of the build systems changing compilers usually translates into switching to a different version, ...
Dan Cornilescu's user avatar
2 votes
Accepted

Dockerfile COPY command with three input parameters

As per this docker documentation the copy instruction may have multiple sources but only one destination. Your first copy is coping two file /etc/passwd and /etc/group to /etc.
storm's user avatar
  • 1,759
2 votes

How to have kubernetes (re)build containers on deployment similar to openshifts ImageStream

You need something that will do basically CI/CD. There are few options (in no particular order): Gitlab + autodeploy (or custom deployment) skaffold + git-sync + kaniko There are more, but basically,...
soandos's user avatar
  • 131

Only top scored, non community-wiki answers of a minimum length are eligible