Questions tagged [yaml]

To clarify, when using this tag, please limit your questions to the YAML data serialization format specifically. It is not intended for inquiries related to programs or examples that happen to utilize YAML configuration. For concerns about the CSS framework named YAML, please use the [yaml-css] tag instead.

Is there a way to incorporate an array within an object using YAML?

Suppose you have a Map<String, Object> called "something" in YAML something: The corresponding JSON should be as follows: "something": { "else": "then", "array": [ "element in array" ] } So for this YAML specification ...

unable to run multiple commands simultaneously in shell script using terminal

I'm attempting to run the following commands in parallel using &: ENV=prod npm run SettingsSuite -- --runid Prod_E2E_$BUILD_NUMBER --APPNAME Prod_E2E --squad ops --track coreServices; echo $? >> "$log_file" & ENV=prod npm run InventorySuite -- ...

The test execution in Azure Dev Ops using react-scripts seems to be stuck indefinitely

Having trouble getting my React app's tests to stop running in Azure Dev Ops after they finish. The pipeline just hangs indefinitely while the tests have already completed. This is a simple create-react-app with a few tests included. Here is the YAML ...

The yaml2json tool effortlessly converts a single line of YAML code into JSON format without generating any errors, specifically

This is my first time using yaml2json. I am running Windows 7 and using git bash. I feel like there could be something basic that I am missing, so any help or guidance would be greatly appreciated. I attempted to send the output of a bash text processing ...

Link a YAML file with interfaces in JavaScript

I'm currently learning JavaScript and need to convert a YAML file to an Interface in JavaScript. Here is an example of the YAML file: - provider_name: SEA-AD consortiumn_name: SEA-AD defaults: thumbnail Donors: - id: "https://portal.brain ...

Customizing build dependencies in Google App Engine allows developers to tailor their applications to

For my application to be built, it requires cmake, libx11-dev, and libpng-dev. I found guidance in this documentation suggesting that these dependencies can be listed for the Google App Engine platform, but I am unsure of the process. While I managed to ...

Testing the performance of artillery on Graph QL endpoints using a YML file without the ability to view debug logs or identify issues post-execution

Currently, I am utilizing the artillery node JS tool for performance testing using yml-based scenarios. All necessary plugin libraries have been successfully installed and I can execute artillery tests without an issue. However, I am encountering a problem ...

What is the best method for extracting all of the !ImportValue values from a Cloudformation YAML template?

I'm currently working on a project that involves parsing an AWS CloudFormation YAML file to extract all the !ImportValue instances from the template. For this task, I've decided to utilize ruamel.yaml for parsing (even though it's new to me), and so far, ...

Divide various text files into separate arrays using jq

I'm faced with a challenge involving files containing multiple key value pairs that I need to convert into arrays. Allow me to demonstrate this with some examples from the file contents: # cat content/1.yaml time: "2020-09-14T22:33:40Z" id: ...

What is the process for setting up the configuration to retrieve npm packages from Jfrog artifacts for a YAML-based Azure CI Pipeline?

I am looking to set up an Azure DevOps yaml CI pipeline for a front-end angular app, specifically needing to retrieve all npm packages from Jfrog Artifacts in a defined way. Could someone kindly assist me with how to specify endpoints for pulling Jfrog np ...

Trouble with Swagger UI 2.1: Unable to retrieve resource list

Lately, I have been working on a RESTful API that I recently created. However, knowing myself, I'll probably forget how to use it in a few months. To avoid this, I decided to document my API using Swagger, but little did I know the frustrations that would ...

Retrieving search results from Google using YAML

Note: I am completely new to YAML and have not yet grasped the concepts behind it. Therefore, my question might include some irrelevant content related to YAML. Please excuse me and feel free to correct any mistakes. While using a music player (MusicBee), ...

Is there a way to retrieve the value of an option passed by serverless CLI in serverless.ts file?

As I explored the serverless framework with serverless.ts for configuration, a certain question came to mind. When utilizing the serverless CLI, passing values can be done in the following way: serverless offline --stage prod In the serverless.yml file, ...

Transform YAML into JSON with no need for a specific structure

Services: - Orders: - ID: $save ID1 SupplierOrderCode: $SupplierOrderCode - ID: $save ID2 SupplierOrderCode: 111111 I am facing a challenge while trying to convert a dynamic YAML string to JSON format. Since the source data ...

Is it possible to implement a Node.js application within an Azure DevOps deployment process?

Recently, I embarked on my journey to learn Node.js and Azure DevOps. To get a better grasp of how things function in Azure DevOps, I attempted to execute a basic Node.js example. Unfortunately, I hit a roadblock when an error surfaced, leaving me unsure a ...

JavaScript based Yaml and Swagger linter and validator tool available on npm

Currently, I am involved in a project where we are managing version control of a .yml file that is crucial for defining our API. Unfortunately, there is no consistent linting standard in place because team members are using different editors and tools. I ...

Dynamic service imports in Symfony 2 allow for the flexible inclusion of services

I have defined parameters as follows: parameters: config1: title: Title 1 data_proc: getDataOne options: [things, stuff] config2: title: Title 2 data_proc: getDataTwo options: [things, stuff] #... A ...

Scripting method to transfer multiple subdirectories using a cpanel.yml file (excluding the use of the wildcard)

I have been referring to the documentation found at My current issue is that when I try to copy my subfolders, it doesn't work properly unless I use a workaround. The only way I am able to achieve the desired outcome is by utilizing the following command ...

What steps should I take to obtain more specific test results on AWS Device Farm using Appium and node.js?

When conducting Appium node.js tests on AWS Device Farm, I encounter an issue with the granularity of test results displayed. Currently, all tests are grouped under one "Tests Suite" result, causing the entire suite to fail if even a single small test fail ...

What causes the delay in processing YAML compared to JSON when dealing with the same or larger data sets?

Just a couple of hours ago, I executed this code: python -c "import sys, yaml, json; json.dump(yaml.load(sys.stdin), sys.stdout, indent=4)" < input.yaml > output.json I'm dealing with a massive 450 MB YAML file and the amount of time it's taking to ...

What is the correct way to integrate the rewrite plugin with Express Gateway policies?

After successfully installing the rewrite plugin, I encountered an error when trying to integrate it into my gateway.config.yml file. The specific error message reads: Error: data.policies[8] should be string at Config.loadConfig (/home/lovro/SI_Exam ...