Most Popular

1500 questions
4
votes
2 answers

Is there an alternative to the Jenkins dir() to change to a directory on a Docker container?

Here's my current set-up: Jenkins Master running in Docker on an Ubuntu 18.04 host. A Node running Ubuntu 18.04 with Docker installed. Desired job spins up docker containers on the node which build products in parallel and output to a shared…
Argyle
  • 1,018
  • 2
  • 9
  • 20
4
votes
1 answer

Where do you start with hosting the infrastructure for your infrastructure?

So I'm trying to get started with the HashiCorp stack, but the question I keep asking myself, when looking at any of this DevOps infrastructure stuff, is what infrastructure should you be using to host the tools that will be managing - well - your…
oh_hello
  • 41
  • 1
4
votes
3 answers

Tips for separating DevOps Git repos?

We currently have a Git repo with automation code (with tests), iaas-code and lamba-code. The automation code is mostly Fabric, Python and unittests. The Iaas-code is mostly CloudFormation, Docker-compose and some Terraform. The AWS lamdas are…
ujjain
  • 241
  • 1
  • 5
4
votes
1 answer

Can't install MongoDB docker on raspberry

If I want to execute any docker file from https://hub.docker.com/r/library/mongo/tags/ on my raspberry Pi 3B with raspbian stretch installed I always get the same error namely something like : Pulling mongodb (mongo:)... latest: Pulling from…
4
votes
4 answers

DevOps tools and automation of manual processes

This is a general question, but couldn't find a better place to ask. I'm a new DevOps member in a company, and I've been ask to "update" our DevOps technologies. Generally speaking, in what areas do we need to provide tools, and what are some…
Tina J
  • 151
  • 3
4
votes
1 answer

How to setup artifact filters to differentiate for deployment

We would like to deploy only the artefacts that are built from our dev branch to the dev environment. and master branch to be deployed to staging(stage) and production(PRD) environments As a tool, we are using…
4
votes
1 answer

What's the practice to perform a releasing with Git?

I'm using GitLab CE with Maven project, and try to follow the Environment branches with GitLab flow and The 11 Rules of GitLab Flow The step for releasing is as the following: - feature +--- +--- +--- / \ / \ / …
Charlee Chitsuk
  • 168
  • 1
  • 2
  • 9
4
votes
2 answers

How to calculate server capacity?

I am trying to answer a question: Do we need more worker machines to handle current load? We have a variable number of jobs coming in and each job takes different time. Here is a snapshot of our system for a period 12 hours. But the number of jobs…
Rohit
  • 141
  • 1
  • 3
4
votes
2 answers

How to skip play in ansible-playbook?

I have 2 plays in my sites.yml file: - name: First play hosts: all remote_user: root roles: - role1 - name: Second Play hosts: all remote_user: ansible become: yes become_method: sudo connection: ssh gather_facts: yes …
Prakash
  • 349
  • 4
  • 5
  • 16
4
votes
1 answer

Docker ADD always invalidates cache

I've got problem with my Dockerfile. After building an image it is pushed to repository as cache-image, so on next builds I can pull it and use with --cache-from. Problem is that build stops using cache after first ADD command. Step 20/30 : WORKDIR…
Blejwi
  • 151
  • 2
4
votes
1 answer

when does currentBuild.changeSets in Jenkins gets filled?

Some background: The project I'm working on is in SVN. Very very large. A lot of tests are running on Jenkins. I want to implement a new tests which should be executed only if files in certain directory have been changed. The idea that I had…
cauchi
  • 143
  • 1
  • 1
  • 5
4
votes
1 answer

When to get rid of '-SNAPSHOT'

I'm working on a Git workflow (not git-flow) for a Java project that uses Maven and Artifactory for artifact storage. On develop and feature/* branches the version number contains '-SNAPSHOT'. It is not desirable to have release/* or master branches…
luizfzs
  • 141
  • 4
4
votes
1 answer

What is a glob in salt-stack?

I was going through targeting minions in salt. There I came across a term called glob. Can someone explain with an example what is a glob in Salt-Stack?
4
votes
2 answers

AWS or Azure with usage auto shutdown occasional usage

I'm looking for recommendations on which cloud service provider we should be looking at. The situation: I'm part of a small team looking to leverage more powerful analytics. Most of our day to day can be done on local machines but we want to explore…
4
votes
2 answers

How to use Jenkins to manage a repository from Github with a submodule from Bitbucket?

For my Jenkins build, I need to manage a Github repository to automate building a project. However, the issue is that this repository needs to pull a submodule from Bitbucket. This requires two difference instances of authentication, one for each…
david3de
  • 41
  • 1