What does a single exclamation mark do in YAML?

I'm working with the YamlDotNet library and I'm getting this error when loading a YAML file: While parsing a tag, did not find expected tag URI. The YAML file is supposed to be well-formed...

Installing PHP YAML Extension with XAMPP on Windows

Hey folks I am currently doing some work on PhP that requires me to parse a YAML file by using the yaml_parse_file() function. I am still new to the language and all so when I tried using that...

How to share Swagger documentation

I recently started using Swagger for my documentation but there are few things that are still unclear to me. I created my YAML document and now I would like to be able to share my documentation in...

Cannot connect to Cassandra on localhost

First time using cassandra, I have attempted to configue the yaml file according to other related posts but had no luck so far. Any idea how do so on the localhost? The specified host(s) could not...

Parsing an indentation based language using parsimmon library

My question is inspired by this one, but for javascript, using the parsimmon parser-combinator library. I want to parse an indentation-sensitive language, like python or yaml. I've managed to...

How to pass variables to pandoc for use in HTML template?

I use pandoc in VSCode to generate HTML files from Markdown files. I use the following htmlOptString in VSCode: "pandoc.htmlOptString": "-s -f gfm -t html5 --template=pandoc-template.html" I...

Unable to connect to the server: dial tcp 192.168.99.100:8443: getsockopt: no route to host

Here is my YAML file : apiVersion: apps/v1beta2 kind: Deployment metadata: name: tomcat-deployment spec: selector: matchLabels: app: tomcat replicas: 1 template: metadata: ...

Is there a tool to validate an Azure DevOps Pipeline locally?

When making changes to YAML-defined Azure DevOps Pipelines, it can be quite tedious to push changes to a branch just to see the build fail with a parsing error (valid YAML, but invalid pipeline...

OpenShift :: POD is not inheriting "name label" from the deployment config

I created a build config from the git repo (Docker based app). oc new-build <git-url> --name=myApp Created a deployment config using: oc create dc myApp --image=<image-stream-repo> I am adding...

Setting file path location in yaml

I have three directories which are in the root directory of my machine: yaml, data and json. Within my yaml directory I have a configuration yaml file which points to the json directory. Now I...

If condition possible in yaml file?

I need to add one more name based on if condition. If If variable value from another .yml file is "yes" then add a new name in the list I've the following code in my yaml file: JsNames: - name:...

What is the difference between Azure Container Instances and Web App for Containers?

I just deployed a web app (node.js container and mongo container) using Azure multi-container instances. It's a bit like Docker Compose but works with an Azure specific yaml file:...

How to setup a dynamic gitlab-ci file

I’m trying to setup a dynamic gitlab-ci file that includes the needed gitlab-ci file based on a project variable. Unfortunately I can’t seem to get this to work, i’ve read the documentation...

How to save response value to an variable in Tavern?

I am using Tavern to test my web server in python3. Tavern is to test the service based on a predefined yaml file. I have a backend API when response an auto generated id value to client. How can...

I want to get the host MAC address in kubernetes pod where that pod runing on

I want to get the MAC address of the host in the POD, the POD network doesn't use hostnetwork. I found that the node UID's suffix is the host' MAC address and I want to find the source where this...

HERE API map style generator?

i'm developping a map with Here api (https://developer.here.com/documentation) and looking for a website similar too https://snazzymaps.com/ but for generate the style of the map in Here. The...

deployment.AsyncDevicesGetter - adb not found

I installed Android Studio 4.0. Added Flutter plugin. Installed Flutter already. Flutter doctor also shown everything is running well. > C:\Users\Alvin>flutter doctor > Doctor summary (to see all...

Class not found: io.kubernetes.client.openapi.models.V1Service

I get the following error when trying to use the YAML file from my GitRepo to deploy to kube cluster. Here is the content of my .yaml file: apiVersion: v1 kind: Service metadata: name:...

How can send a message to Slack using curl from gitlab-ci.yml file?

I am using GitLab for a CI/CD process. I want to send messages to my channel in Slack. Following the API works from the terminal: curl -X POST -H 'Content-type: application/json' --data...

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 for all of our templates. The repo...

How to remove number from toc title with pandoc+beamer

I am using pandoc to generate a beamer slideshow. I activated the generation of a TOC and specified a TOC headline. But there is an extra number added to this title as if the TOC would span...

Running ansible on the first node

I am trying to configure a series of web servers. I have the following in my inventory file: web_servers: hosts: 1.2.3.4: 1.2.3.5: I want to make sure the very first host (1.2.3.4) has...

GitLab CI: avoid duplication of skip-ci for each job

Currently, I'm duplicating the information about skip-ci in every single job, like so job1: except: variables: - $CI_COMMIT_MESSAGE =~ /skip-ci/ ... job2: except: variables: ...

AWX fails to retrieve collections from Ansible Galaxy

I have a project with roles/requirements.yml and collections/requirements.yml. This - I think - per AWX / Tower guidelines. On project update the roles/requirements.yml is picked up successfully...

How to interpret response for bounding box , google cloud endpoint

I have trained and deployed End Point of a custom object detection model using new Vertex AI in google cloud. When I test the model on cloud I see perfect bounding boxes on a image. But when I...

Zabbix on docker-compose don't start zabbix-agent

I have used docker-compose based zabbix version 4.x in the past. When I started the environment I could count more than 5 containers, including zabbix-agent. I am now trying to start versions 5.0,...

Error response from daemon: Unrecognised volume spec: file '\\.\pipe\docker_engine' cannot be mapped. Only directories can be mapped on this platform

I'm new to the docker. Any help and tips are welcome. Environments: Windows: Windows 10 Pro 21H1 Docker Desktop: 3.4 I can run hello work example without any issues. But seems like I can't use...

Why doesn't this argo workflow run?

I am trying to configure my Argo workflows. I know how to correct an error, but how do I debug if they do not run? I am running Argo 3.0.10 on Ubuntu 20.04 argo: v3.0.10 BuildDate:...

Couldn't determine repo type for URL (gitlab + Mac)

I'm trying to execute "make gen" command in my project directory, but have an error: "Сouldn't determine repo type for URL: https://gitlab.myproject/podspecs.git: (): mapping values are not...

"key cannot contain a space" error while running docker compose

I am trying to deploy my django app to app engine using dockerfile and for that after following a few blogs such as these, I created a docker-compose.yml file but when I run the "docker compose...