yaml Questions
4
I have been writing some terraform and using Azure Devops to deploy the pipeline. However if I use a variable $(serviceconnection) for the service connection it fails with the following error:
Ther...
Lightish asked 28/6, 2022 at 13:32
2
I am trying to use beamer_presentation in RMarkdown and in the YAML header I include, say, title: "Long title". This title appears on the first title page of my slides but also at the bottom of all...
Scoter asked 8/5, 2018 at 4:22
3
I am trying to parse a helm chart YAML file using python. The file contains some curly braces, that's why I am unable to parse the YAML file.
a sample YAML file
apiVersion: v1
kind: ConfigMap
metad...
Negotiant asked 20/8, 2020 at 7:49
2
I am getting following error :
create_nuget
The file '/home/runner/work/MyNugetPackage/MyNugetPackage/MyNugetPackage/bin/Release/net6.0/MyNugetPackage.dll' to be packed was not found on disk.
This...
Endomorph asked 13/11, 2023 at 6:51
6
Solved
I try to start the cfn-init with:
Fn::Base64: !Sub |
#!/bin/bash
sudo apt-get -y install python-setuptools
mkdir aws-cfn-bootstrap-latest
curl https://s3.amazonaws.com/cloudformation-examples...
Subscription asked 11/4, 2018 at 9:41
3
Solved
I'm using yaml-cpp on a for a variety of things on my project. Now I want to write out some data as JSON. Since JSON is a subset of YAML, at least for the features I need, I understand it should be...
2
Please help me to understand how can I comment out a single line from a clang-tidy configuration file.
Bautista asked 4/3, 2021 at 9:13
2
Solved
We know that, by default, gitlab ci runners uses set -o pipefail, as explained in coderwall.com this particular option sets the exit code of a pipeline to that of the rightmost command to exit with...
Moulding asked 8/1, 2019 at 9:12
5
Solved
So, I'm working with Github Actions on end-to-end testing. The setup I'm looking at is having one job retrieve a list of urls to be tested, and my second job creates a matrix with that list and tes...
Redon asked 12/7, 2022 at 13:54
7
Solved
I realise this question as been asked before (What's the best practice using a settings file in Python?) but seeing as this was asked 7 years ago, I feel it is valid to discuss again seeing as ...
Fathom asked 4/4, 2018 at 5:56
5
Solved
I'd like to do this
test: >
This is a long string
\n\n\n
with new lines
But it prints out the "\n" instead of making new lines.
I know it's possible to do
test: "This is a long string
...
Injector asked 20/7, 2012 at 15:59
2
Solved
I have this GitLab CI-Component:
spec:
inputs:
message:
default: test
---
.test-component:
script:
- echo "$[[ inputs.message ]]"
Also I have this Pipeline:
stages:
- test
include...
Chromatid asked 11/4 at 14:58
3
Solved
I need to be able to set up quartz to run depending on the profile. I am using an integration test to make sure that each profile is getting the scheduler started (or not), but I am checking a prof...
Epifaniaepifano asked 29/7, 2020 at 19:46
4
Solved
There is a folder in one of the repositories (Source Repo) that I like to copy to another repository (Destination Repo) using Azure Pipeline (as they needed to be in sync)
so far I can Copy a folde...
Silicosis asked 13/2, 2021 at 11:5
3
I'm using SnakeYAML 2.0 to parse YAML files in Java. But I face a problem here. This is my User class:
package ir.sharif;
import java.util.ArrayList;
import java.util.List;
public class User {
i...
1
I had tried using paths-ignore that I read about from https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scannin...
Arch asked 11/10, 2022 at 15:50
4
I'm having trouble setting null as a property value.
This is how the value is defined in YAML file:
my-property: null
This is how I inject it in code:
@Value("${my-property}")
private St...
Discover asked 23/11, 2020 at 18:53
6
Solved
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 files first.yaml, second.yaml and thi...
2
Solved
I'm using Node.js and I'm having trouble figuring out how could I read a YAML file, replace a value in it, and write the updated value to the YAML file.
I'm currently using the module "yamljs" whi...
Earthshine asked 2/10, 2018 at 21:12
2
Solved
Background:
This is an Ansible playbook using templates to CONSTRUCT a yaml file from a template. So basically I have a jinja2 template file with a line as such:
private_key: {{ myvar }}
Ansi...
3
Solved
How convert JSON file into YAML and vice versa in command line?
Any ways are welcome.
Modica asked 7/5, 2021 at 8:42
2
I need to compare yaml files that are generated from two different processes and are ordered differently and detect if they are logically the same ideally in python.
yaml file 1:
apiVersion: apps/v...
Edrei asked 22/7, 2021 at 16:54
3
I am trying to define a changeSet to insert two rows in a table using liquibase. In order to do this, I wrote the following changeSet:
- changeSet:
id: 1.0/7
author: stivlo
changes:
-insert:
...
4
Below is my YML file structure. I want the following up stages to be run without reinitializing the git repository. The git repository should only be initialized during the first stage, which is th...
10
I created a cluster.yaml file which contains the below information:
---
apiVersion: eksctl.io/v1alpha5
kind: ClusterConfig
metadata:
name: eks-litmus-demo
region: ${AWS_REGION}
version: "1....
Caravan asked 8/3, 2022 at 13:52
1 Next >
© 2022 - 2024 — McMap. All rights reserved.