Category "yaml"

Cannot import script from repository in pytest using GitHub actions

I am learning to implement automatic testing using GitHub actions. I am trying to solve the following import error. The error is: utils\test_capitalize.py:2: in

Ansible AnsibleUndefinedVariable no attribute

I have the following files vars/main.yml testconfig: - {hostname: router123, example: no ip cef} cisco_891_l2interfaces: - FastEthernet0 - FastEthernet1 -

How to escape colon with following space in a GItLab CI/CD YAML value?

I have the following line in GitLab CI/CD: script: - echo "Backend image: $BACKEND_IMAGE" But YAML interpreters treat this as an object. Then I googled t

How to define default null value in application.yml in Spring Boot

I'm trying to define the default value as null value in application.yml with SpringBoot version 1.3.0.RELEASE. The goal is be able to refer it with a class with

How to find out size of my POST request for yandex.tank ammo?

I create on my own ammo for Yandex.Tank: POST /some/path HTTP/1.1 Host: some.host Content-Length: 169 Connection: Close { "some": "json" } As I get from d

How to enter a value to a textbox from an external excel or YAML file in Appium?

I'm aware of the fact that it is possible to enter a value to a text box using Appium sendkeys. Is it possible to pass values from an external excel or YAML fil

Git tag name in Azure Devops Pipeline YAML

Summary How do I get the name of the current git tag in an Azure Devops Pipeline YAML-file? What Am I Trying to Do? I am setting up a build pipeline in Azure

.gitlab-ci.yml Syntax Error

I'm working with the following .gitlab-ci.yml config: image: node:latest stages: - build - test build: stage: build script: - npm install test

Bitbucket Pipelines hangs when testing a Nuxt app with Cypress

I have a Nuxt app that I want to test with Cypress in CI. I've seen in the Cypress documentation that you have to install some third-party package to wait for t

How to merge rules on a GitLab CI Job

Let's suppose I have this hidden "base" job. .base_job: rules: - if: "$CI_COMMIT_TAG" when: never - if: '$CI_PIPELINE_SOURCE == "web"' I'd like

Python 3.3: Convert XML to YAML

I'm trying to convert XML files to YAML using Python 3.3. This is my code: #! /etc/python3 test_filename_input = './reference-conversions/wikipedia-example.xm

In Azure yaml, how to use local variables, conditional variables and template variables together?

Consider the following scenario, on where a job (or stage), needs to use some local, conditional and template variables: # (1) Local for the yaml file variables

Does application.yml support environment variables?

I tried using env variables in my application.yml configration like: spring: main: show_banner: false --- spring: profiles: production server: addr

Docker-Compose file has yaml.scanner.ScannerError

compose.yml file, which looks like this: version: '2' services: discovery-microservice: build: discovery-microservice context: /discovery-microserv

How to install php yaml on CentOs?

On the start I was getting this error: Call to undefined function yaml_parse_file() I have tried everything what I have found over google: yum install libya

Bamboo: Reuse same yml specs in multiple projects

I'm using Atlassian Bamboo 7.1.1. I'm creating pipelines as a code using YAML. I have one git repository with a YAML specs to reuse in multiples pipelines. Let'

Use variables in Azure DevOps Pipeline templates

We have a collection of Azure DevOps pipeline templates that we re-use across multiple repositories. Therefore we wanted to have a file that contains variables

YAML equivalent of array of objects in JSON

I have a JSON array of objects that I'm trying to convert to YAML. {"AAPL": [ { "shares": -75.088, "date": "11/27/2015" }, { "shares": 75.08

Java.io.FileNotFoundException : YAML file does not exists

When I am submitting the spark job from terminal I am getting below error that file does not exists. Although I have already placed config file to my local. spa

Repository Name as a GitHub Action environment variable?

How would you get the repository name (not the user or organization) as an environment variable in GitHub Actions? I found github.repository but that contains t