Most Popular
1500 questions
4
votes
1 answer
Accessing the committer's name as a Jenkinsfile environment variable
Using the env.BRANCH_NAME variable accessible in the Jenkinsfile outside of the pipeline{} block, I have set up a variable used to conditionally set the node used to build the git branch. I would like to also access the name of the developer who…
Michael Ficocelli
- 41
- 1
- 2
4
votes
1 answer
How should I update a single input to a Nix flake?
I have a Nix flake with several inputs whose URLs are remote git repositories. I want to update one input in flake.lock, but not the others; in particular, I want to avoid repinning nixpkgs.
When I run nix flake update, all inputs are updated. This…
Corbin
- 143
- 4
4
votes
1 answer
Declarative Jenkins Pipeline to Poll different branches?
We have a gitlab enterpise that host multiple project in one repo. Something like:
Repo/
projectA/
projectB/
projectC/
We have three pipelines that will run base on changes(whitelist region) when polling. They will start polling when received…
Zac Kwan
- 151
- 1
- 2
- 7
4
votes
1 answer
What are HiveQL limitations compared to SQL?
I'm aware that Apache Hive provides SQL-like interface to query stored data. So I would like to ask, what are the main limitation of Hive-based SQL-like compared to other relational SQL query languages (such as MySQL)?
kenorb
- 7,841
- 12
- 40
- 77
4
votes
1 answer
How to give value in runtime for chef
I got stuck with a scenario where I need to provide runtime value while restarting/starting httpd service using Chef.
I installed SSL certs where it asks password for every reload or start. I tried giving:
service 'httpd' do
supports restart:…
pandey
- 949
- 2
- 9
- 18
4
votes
0 answers
Can I use Bitnami Helm Chart to deploy Redis Stack?
Background
Currently, I am deploying a redis container using the [redislabs/redismod] (https://hub.docker.com/r/redislabs/redismod) image in the same pod as the application (nodejs). We are utilizing the RediSearch and RedisJSON modules to access…
virenstack
- 41
- 2
4
votes
4 answers
Definition of "Done" for DevOps
I've being recently interviewed for a DevOps position. One of the questions I was asked was:
What is your definition of "done" in the DevOps context?
The question is rather broad, but, as I understand, the answer has to cover Automated builds &…
alecxe
- 849
- 1
- 14
- 36
4
votes
1 answer
Ansible: How to get hostname without domain name?
How to get value from /etc/hostname ignoring domain name. For example, /etc/hostname says "client.test.dom" and I need to get "client".
I have tried "{{ ansible_nodename | replace('.rail.dom','') }}" but I get syntax problem and can't figure out how…
Виктор Гринько
- 41
- 1
- 2
4
votes
0 answers
How to create a bot user for an organization in GitLab?
Background: In GitLab it is possible to create bot users for projects and for groups. A project bot can only access one project by using one access token and a group bot can only access the projects that reside in a particular group.
Aim: to…
030
- 13,235
- 16
- 74
- 173
4
votes
2 answers
What is the best way to install ArgoCD as code?
Working on getting a full deployment pipeline set up using GitOps and Everything as Code. I, therefore, need to be able to spin everything up and down with a single click (or pretty close to it!). My target is to Terraform a Kubernetes cluster in…
James Geddes
- 251
- 2
- 7
4
votes
1 answer
Is Serf an added value when a container orchestration platform like kubernetes is used?
When the Hashicorp's website was checked it seems that there is another tool, i.e. Serf. Back in the day there was another tool called otto, but that was deprecated at a certain moment.
After reading the use cases I wonder whether it is an added…
030
- 13,235
- 16
- 74
- 173
4
votes
2 answers
LambdaA -> delay mins -> lambdaB
I need to launch a LambdaA function and after X minutes I need to launch a LambdaB function with parameters passed from LamdaA
I have testing the following:
APIGW > LambdaA > SQS with delay > SQS can't trigger lambda functions
APIGW > LambdaA > SNS…
RuBiCK
- 305
- 1
- 13
4
votes
1 answer
How to provide multiple configs for EC2 node using Terraform and cloud-init?
I need to use several configs on my EC2 node using Terraform.
data "template_cloudinit_config" "puppetserver_config" {
gzip = true
base64_encode = true
part {
filename = "initial.sh"
content_type =…
Alexander Nekrasov
- 141
- 4
4
votes
1 answer
Jenkins Promotions vs Pipelines
We've been starting to link build&test&deployment jobs together into sequential tasks (for now as simple as: build -> run tests -> if tests pass -> deploy) and had some experiments with Promoted Builds and Pipelines.
Is our understanding correct…
alecxe
- 849
- 1
- 14
- 36
4
votes
3 answers
Skip terraform resource if it exists
I'm Getting an error creating a secret because it was created manually.
Error: error creating Secrets Manager Secret: ResourceExistsException: The operation failed because the secret already exists.
Is there any way to tell Terraform to…
DorAmar
- 43
- 1
- 1
- 3