Most Popular

1500 questions
14
votes
2 answers

Properly shutdown k3s on local machine

I've just installed k3s on my notebook (Ubuntu). Works fine. Great project. However, i do not need it to run 24/7 so, how do I properly shutdown the k3s cluster. Oddly, I cannot find anything about this in the documentation. Thanks
Moonlit
  • 243
  • 1
  • 2
  • 5
14
votes
2 answers

Does `npm audit` add any value when using `dependabot`

Context There are multiple ways to scan projects for vulnerabilities. Dependabot can be configured to check repositories for issues, and automatically submits pull requests to resolve. NPM Audit will scan the packages used in an NPM solution for…
JohnLBevan
  • 315
  • 1
  • 3
  • 11
14
votes
3 answers

Using Artifactory plugin in Jenkins declarative pipeline

I am using Jenkins Declarative Pipeline to automate my build process. We want to publish our artifacts to a remote JFrog repository only if certain conditions (Sonar,Checkmarx) pass. After a bit of research, I found that Artifactory plugin is…
Dharanidhar
  • 701
  • 2
  • 5
  • 10
13
votes
3 answers

How are you enforcing git behavior, including locally (particularly on Windows)?

I'm taking point on moving this .NET shop from svn to git, and have identified some ancillary issues I'd like to have a solution for before we flip the switch. The one I'm asking about in particular in this question is line-ending enforcement. By…
ndarwincorn
  • 133
  • 4
13
votes
2 answers

Gitlab CI error during connect: Get http://docker:2375/v1.40/containers/json?all=1: dial tcp: lookup docker on xx.xx.xx.x:xx: no such host

I've recently created a new repository in gitlab.com, started a new Ubuntu instance in digitalocean, installed docker and gitlab-runner in the ubuntu instance. Also, did gitlab-runner register and passed the correct host and token from gitlab.com…
punkbit
  • 349
  • 1
  • 2
  • 10
13
votes
2 answers

Is it possible to pass environment variables to multibranch pipeline job in a time of generating it via DSL?

I want to pass some environment variables in the time of generating the multibranch pipelines, so upon the build start, it will already have these variables. The only thing I found was this envInject plugin which is not supported by multibranch DSL…
mate200
  • 131
  • 1
  • 4
13
votes
4 answers

How to backup Amazon Cognito?

Amazon Cognito is a user management and authentication service provided by Amazon through Amazon Web Services: Amazon Cognito lets you easily add user sign-up and sign-in to your mobile and web apps. With Amazon Cognito, you also have the options…
Richard Slater
  • 11,747
  • 7
  • 43
  • 82
13
votes
2 answers

Continuous Integration infrastructure for multiple iOS projects

As a iOS developer, I was looking to create a CI and CCQ (= Continuous Code Quality) infrastructure for the iOS projects we have in development so far. We already use Jenkins and SonarQube for almost all the Web and Android projects (using a VM…
Dan Bodnar
  • 231
  • 1
  • 3
13
votes
3 answers

What Key Performance Indicators (KPIs) are used to measure DevOps?

I am trying to drive good behaviors within a DevOps transformation programme, to support this I am looking at identifying actionable metrics around the operations disciplines: Problem and Incident Management Capacity Management Change and Release…
Richard Slater
  • 11,747
  • 7
  • 43
  • 82
13
votes
4 answers

How to make Terraform Modules wait for resources to be created in place of using computed values

Today I am working on building out several custom Terraform Modules. The issue that I am trying to figure out how to work around dependencies within modules. Until TF 0.12 is released we cannot declare a module to be dependent upon another module.…
Steven K7FAQ
  • 666
  • 1
  • 5
  • 13
13
votes
3 answers

Jenkins vs Azure DevOps Pipelines

I've been doing some research on the Azure DevOps solution that Microsoft recently unveiled. Some background, I've been using Jenkins for years, and recently started exploring the containerisation rabbit hole (Docker, Kubernetes, etc), I'm unsure…
Anrich
  • 182
  • 1
  • 1
  • 6
13
votes
2 answers

How to implement the manual step at the end of continuous delivery?

The accepted answer to my question about "How does continuous integration relate to continuous delivery / deployment?" also explains the small difference between continuous delivery and continuous deployment. It appears to be related to the answer…
Pierre.Vriens
  • 7,225
  • 14
  • 39
  • 84
13
votes
2 answers

Docker tags for multi-stage builds for series of Docker images out of one Dockerfile

Thanks to Docker multi-stage builds, we can compile some artefacts in one environment and put them for execution in other one. As result, there are two images, where the final corresponding to the last stage and provided tag gets tagged as defined;…
Ta Mu
  • 6,792
  • 5
  • 43
  • 83
13
votes
2 answers

How to implement the four-eyes principle for emergency fixes?

Consider this scenario (any comparison with real world situations is purely by accident): 3:07 am: incoming support call "Something in production went down, I need your help!". 3:12 am: connected to the system (logon accepted) ... and no time for…
Pierre.Vriens
  • 7,225
  • 14
  • 39
  • 84
13
votes
2 answers

How do I run Ansible Azure playbooks while avoiding storing credentials in files?

Background We use Ansible to provision and manage Azure infrastructure. At the moment we run Ansible "manually" i.e. we manually execute playbooks for various automated tasks. No CI infrastructure. Probably not relevant but we manage our inventory…
Vish
  • 601
  • 5
  • 14