Most Popular
1500 questions
8
votes
3 answers
Why is build size such a concern?
I often hear (from people, but also from informative CLIs) that the "build/slug size is large". This is particularly so when the build is 0.5 - 2 GB in size
Why (or under what circumstances) is build size such a concern?
Note: the reason I ask is…
stevec
- 185
- 1
- 6
8
votes
3 answers
Should developer wait for CI pipeline to complete or start next task after pushing
My company is integrating CI/CD, so far we have implemented CI from what I understand. Currently when a developer pushes code to our git repo, the CI pipeline runs.
Currently our CI pipeline include building the project and the doing static code…
iqueqiorio
- 181
- 3
8
votes
1 answer
Access service in remote Kubernetes cluster using ingress
I'm attempting to access a service in an existing kubernetes cluster deployed in a remote machine. I've configured the cluster to be accessible through kubectl from my local mac.
$ kubectl cluster-info
Kubernetes master is running at…
Pasan W.
- 203
- 1
- 5
8
votes
2 answers
How to report Code Coverage metrics across git repositories?
We are using private git repositories in Azure DevOps and I have a requirement to create code coverage report across git repositories. Our build CI/CD pipelines are using both TeamCity & Azure DevOps.
I have looked at options and there is no…
Emil
- 181
- 2
8
votes
3 answers
The Phoenix Project and Military service
I have recently been reading "The Phoenix Project".
While I can relate to most aspects of the story, I am struggling to understand the frequent references to the military background of many characters (e.g. Bill himself, Stefe, Erik, ...).
Since I…
mbschenkel
- 189
- 6
8
votes
2 answers
How to make Jenkinsfile credential visible to many stages
In Jenkinsfile, I want to make an ssh key visible to all stages in the pipeline.
From the official document, I learned that:
environment directive is used to defy environment variables for used within Jenkinsfile
The scope of the variables defined…
Tran Triet
- 819
- 3
- 10
- 19
8
votes
3 answers
How to remotely update AMI id in Jenkins EC2 plugin?
I have been looking for a way to update AMI id in Jenkins EC2 plugin configuration after a packer build is run. After some digging, I found a promising way to do it IF the packer run is done by Jenkins itself, via postbuild groovy plugin (mind you,…
Michael Bravo
- 366
- 2
- 9
8
votes
2 answers
Passing variables between scripts in a Jenkins pipeline
I have a declarative Jenkins pipeline that looks like the following:
pipeline{
agent {
...
}
stages {
stage("Provision EC2 Instance and Set ENV Variable"){
steps {
dir("docker-image-builder"){
…
Preston Martin
- 3,278
- 4
- 17
- 39
8
votes
3 answers
How to implement a frozen test environment?
Here is a partial quote from an answer to the question about "How to avoid continuous integration-caused instabilities in test environments?":
This environment usually freezes during the tests.
My question: what are sample implementations of a…
Pierre.Vriens
- 7,205
- 14
- 37
- 84
8
votes
2 answers
Best way to launch 100 identical Docker machines on AWS?
I need to do some large scale testing on a system. The system consists of 2 main parts: Manager and Nodes. There will be only one manager server, but 100 nodes. Both the manager and nodes are Docker images.
I want to be able to spin up a setup on…
Trolley
- 183
- 2
8
votes
2 answers
Placing an AWS Lambda in a public subnet
Is it possible to place an aws lambda in a public subnet and thus avoid paying for NAT?
The docs state the following
If your Lambda function needs Internet access, do not attach it to a public subnet or to a private subnet without Internet access.…
Ulad Kasach
- 181
- 1
- 4
8
votes
3 answers
DevOps vs SRE vs Production Support Engineers
DevOps primarily focuses on Delivery Speed and SRE focuses on Reliability in production but where does Production Support Engineers fit who also focuses on production monitoring, alerting, performance, user experience, incident management, RCA and…
Sam
- 81
- 1
- 1
- 3
8
votes
6 answers
Cheapest and easiest way to run a periodic Docker process
I have a dockerized Python process that a client would like to run once or twice a month. It calls a number of Google APIs and stores the results in a Google Sheet. It does not accept network requests. I want to provide one "magic button" that will…
asciimo
- 81
- 4
8
votes
2 answers
How can I simulate failure of an AWS Availability Zone?
In order to test that our load balancers and Multi-AZ RDS instances are working the way I'd expect them to, I'd like to simulate failure of an AWS Availability Zone.
Short of locating one of the datacenters and setting fire to it (which probably…
Tim Malone
- 1,215
- 1
- 13
- 26
8
votes
1 answer
How not to break Jenkins Pipeline when adding new parameters (declarative pipeline)
An Issue I have been struggling with is whenever I add a new parameter to a Jenkins Pipeline, the next job will not correctly get this parameter.
This is especially an issue if those parameters are required for certain pipeline procedures like…
Inbar Rose
- 411
- 1
- 6
- 14