Category "yaml"

How to use 0/10 in cron in a yaml file?

I'm trying to use a cron job referenced in a yaml file part as part of my CircleCI CI system: I would like a job to run every 10 mins using the 0/10 * * * * for

pysimplegui auto-fill depending on listbox selection / text replacement in file - Python

Example yaml file being edited: FTP_Folder: C:/Users/admin/Documents/Data DBtables: CurrentMinuteLoad: CSV_File: trend.csv Table_Name: currentminutel

Docker in Docker configuration

I am having Jenkins running in K8s and now i am trying to run: docker build as one of the step in Jenkins build. Since Jenkins is running inside Docker, i came

Golang comparing two yaml files and updating them

Im a newbie in golang. I am trying to compare two yaml files and update the 2nd file's value if there is any new value in 1st yaml for that particular key. So t

How to pass complex DevOps pipeline template parameter to script

In an Azure DevOps pipeline template, I am declaring a parameter as an array/sequence parameters: mySubscription: '' myArray: [] steps: - AzureCLI@2 inp

504 Error for Cloudfront.net distribution and Route53 Domain

I'm trying to setup a static S3 website to be reachable via my custom domain, but when I've tested my cloudfront URL I'm getting 504 Error and in the logs, I se

ingress mariadb always return This site can’t be reached

I'm just learning about Kubernetes using ingress and MariaDB. I don't know which one make my code error that return "This site can’t be reached". The requ

Absolute url in hugo website front matter _index.md file

I'm stuck at the following issue being a new in Hugo. I want to redirect URL to a absolute URL rather than relative url. Here is what I means. In _index.md file

write tasks to install nginx and postgresql using ansible-playbook

.score.sh is given as #!/bin/bash pass=0; fail=0; if [ $? -eq 0 ];then worker=`ps -eaf|grep nginx|grep worker` master=`ps -eaf|grep nginx|grep master`

How do I create a googleads yaml file for python googleads lib?

im trying to use get functions for reports under googleads. #My code from googleads import adwords from googleads import errors import time import datetime impo

TF401019: The Git repository with name or identifier public does not exist or you do not have permissions for the operation you are attempting

I have two ADO repositories named private2 and public2. private2 references public2 as a submodule: I also added a yaml file (vsts-cicd.yml) for build as follo

Azure yaml pipeline using "extends"

I am trying to use extends as part of my pipeline. I am trying to get the first basic step working from Azure docs ie # pythonparameter-template.yml pa

How to convert a json response into yaml in bash

I read data from a json file with jq. I wanna append the results into a yaml file, but I dont get it working. I am quite new to shell programming. My goal is to

Changing a value in a yaml file using Python

I have a .yaml file I want to update with Python code. Let's say it looks something like that: state: 'present' I'd like to have a code that changes the stat

How to filter out a particular line from ansible output

I am facing an issue while running my ansible-playbook to filter out the IP address from the playbook output. Here is my code - hosts: myhost tasks: - nam

Spring Boot multiple log4j appenders in application.yml file

I need 2 different logging patterns in my SpringBoot application. let's say: first_pattern -- for root logger (INFO level) second_pattern -- for packages com.s

yaml anchors definitions loading in PyYAML

I'm using PyYAML. Is there a way to define a YAML anchor in a way it won't be a part of the data structure loaded by yaml.load (I can remove "wifi_parm" from th

Github Action - use Variable in the script [duplicate]

With Github Actions how to do a backup of a file? I need to create a new folder named with the date/time of today. name: Backup Database on:

How to split a YAML into multiple files with a proper name

I have a valid YAML: --- name: first metadata: a --- name: second metadata: b --- name: third metadata: c How can I split it using a one-liner AWK script in

Openshift routes are not redirected to particular service

I have deployed few services of my application on openshift : E.g., app-ui, app-backend,app-store ,main. I have defined separate routes for these services to ac