Skip to main content

Questions tagged [yaml]

Use this tag for questions about the YAML data serialization format only, not for questions about programs (or examples) that happen to have their configuration in a YAML format. Questions about the CSS framework also called YAML should be tagged [yaml-css] instead.

0 votes
1 answer
20 views

deployment.yaml: error parsing uri: scheme must be "mongodb" or "mongodb+srv"

I am trying to run an application on my EKS cluster. The Kubernetes cluster is supposed to access an AWS EC2 instance with Mongodb installed on there. I've applied both a service.yaml file and ...
user14682208's user avatar
0 votes
0 answers
7 views

trying to clean code yaml in dwains dashboard

I use Dwains Dashboard in Home Assistant and I have this code for the more page addon # dwains_dashboard #More_page addon view {% if _dd_more_pages %} {% for addon in _dd_more_pages %} - title: {{ ...
ithaqua974's user avatar
0 votes
2 answers
34 views

Lose quotes around date when writing to YAML file

I have this script: import json from datetime import datetime, timedelta import os import ruamel.yaml vulnerabilities = {} expiration_date = (datetime.now() + timedelta(days=29)).strftime('%Y-%m-%d') ...
S Kampen's user avatar
1 vote
0 answers
30 views

Make the pipeline fail if a specific sentence appears in the log

The goal of the task is to verify a build process in a GitLab CI/CD pipeline using PowerShell without saving any files on the server. Specifically, the task involves checking for configuration ...
Daniel's user avatar
  • 495
0 votes
0 answers
4 views

Yaml error undefined reference 'yaml_emitter'

I am trying to install risk-ISA-SIM through pulp/ara git but I got an error that yaml is missing. Then I installed the libyaml-dev pack, and now I get an error undefined reference to '...
Grigoris Has's user avatar
0 votes
0 answers
13 views

GitHub Dependabot auto merge pull requests

Currently I have this dependabot + github actions workflow to create pull requests and auto merge them using action. It works fine the only problem is i get two commits for every pull request in main ...
Richard's user avatar
1 vote
1 answer
32 views

How to serialize into a specific format

Using YamlDotNet, how to serialize a byte[] like that [49,20,50]? The yaml file I need is: device: name: device1 key: [49,20,50] I have tried: Defined the key as byte[], however, the ...
Romer's user avatar
  • 71
0 votes
1 answer
64 views

Azure DevOps Pipeline Error: No Agent Found with Version Greater Than 2.220.0

I recently started encountering an error in my Azure DevOps pipeline that previously built without any issues. The error message is as follows: No agent found in pool Default which satisfies the ...
Dinesh's user avatar
  • 107
-1 votes
0 answers
12 views

Mapping an existing Lambda function to existing DynamoDB tables

Is there anyway to add an existing Lambda function to existing DynamoDB tables using CloudFormation? Given that all the tables have turned on stream details. Here is my current script: ...
DaveTheNewBie's user avatar
0 votes
1 answer
30 views

How to create ConfigMap yaml manifest for Azure Kubernetes using shell or PowerShell script?

I have requirement to create yaml file which can be used to create configmap in kubernetes. I have 3 xml files which are need to be imported in template yaml file. YAML Template: apiVersion: v1 data: ...
New Progrommer's user avatar
0 votes
0 answers
26 views

How to download the latest artifact from Artifactory repository in YAML?

Need a help on this We are expecting the yaml code to download the artifact from artifactory. Earlier we used the nexus with direct API via GAVC to download the artifact. We have a code for shell ...
Vinod Devarakonda's user avatar
-1 votes
1 answer
12 views

AWS CodeBuild Fails with YAML_FILE_ERROR When Running Python Script in buildspec.yml

I’m trying to run a Python script in AWS CodeBuild using a buildspec.yml file. The Python script is supposed to send an email using AWS SES. Here’s the relevant part of my buildspec.yml: version: 0.2 ...
Yiffany's user avatar
  • 317
0 votes
0 answers
18 views

Kubernetes Gitlab Runner - Gitlab Jobs using System:Anonymous account instead of specified service account

I have a Kubernetes cluster with a namespace called "gitlab-runner" which contains service account "runner-service" rolebinded to allow access to create/destroy nodes and read ...
NickHayMan's user avatar
0 votes
1 answer
44 views

Can you use "netsh http add urlacl" conditionally in an Azure pipeline YAML file?

We need to register the HTTP listeren on our build servers and want our pipeline steps to all be "green" when everything's in order. So for our code to run, we have to run the following code:...
Tempuslight's user avatar
  • 1,103
0 votes
1 answer
28 views

How to use variables within !reference tag in gitlab-ci?

as far as I know, you can use the !reference tag for relating to some construct used in a parent template. The Gitlab documentation gives following example: file "config.yml" .setup: ...
Sandman's user avatar
  • 382

15 30 50 per page
1
2 3 4 5
1046