15,826 questions
-2
votes
0
answers
107
views
Double-click selects partial word only in YAML files
This happened within the last month or so and I can't seem to find anything about it anywhere.
I haven't found an exact pattern but when I double-click most 2nd characters of a word, it will select ...
Advice
0
votes
14
replies
86
views
How to replicate serial port data to one or more tcp connections
Context
I have a smart meter which regularly emits telegrams about electricity (and gas/water) consumption over a serial port, which I have connected to a Pi. These telegrams are received once per ...
0
votes
1
answer
30
views
Agnostic volume mapping in Docker Compose yaml
I have:
services:
httpd:
volumes:
- "C:/path/to/repo:/path/to/code"
How do I make the source path agnostic so my colleague using a Mac can simply docker compose the yaml file?
2
votes
1
answer
73
views
Why does ansible-lint complain about "key-order" when more than one YAML anchor is used in the same task?
I have Ansible tasks with some code repetition which I want to address using YAML anchors as follows. When only using one anchor in one task - no ansible-lint warnings happen. However, if using more ...
Advice
0
votes
2
replies
31
views
How can Unity YAML scene files be interpreted in an external runtime?
I'm working on an experimental project called NextLiber VRM, which attempts to interpret Unity scene files outside the Unity runtime.
Unity stores scenes in YAML format, including transforms, ...
0
votes
0
answers
34
views
Making a link clickable in Azure Pipelines YAML
I have a YAML job where I want the link in the ManualValidation@0 task instructions to appear as clickable. Here is the job definition:
job: Manual_CreatePR
displayName: 'Manual: Open GitHub PR for ...
5
votes
1
answer
147
views
Python -> YAML: the strings yes and no get quotation marks (but shouldn't)
Is there a reason why yaml adds single quotation marks around the words yes and no when I create a YAML file from a Python dict?
MWE:
import yaml
def yes_or_no(
word: str,
) -> dict:
...
2
votes
2
answers
146
views
Combine JSON to YAML list
In a GitLab pipeline job I have multiple JSON files. I need these JSON files as YAML and I would like to have them in the same YAML file as a list. They do not always have the same keys.
I would like ...
Best practices
0
votes
1
replies
57
views
Deploying separate repos to production with azure-pipelines.yml
I have 4 repos in Azure (all are in development branch):
Web App
Web API
Mail Console 1
Mail Console 2
Here's how I deploy them in testing phase:
Publish Web App and Web API
Build Mail Console 1 ...
0
votes
1
answer
69
views
Replace value inplace while saving the old value
I'm looking to use yq to replace a yaml file values while still retaining the old value.
Essentially putting base/1.0.0/ after base.routes.paths ~/ and what comes after. The added value will be the ...
Advice
1
vote
1
replies
47
views
How do I convert a trx file into html in azure test pipeline
So how do I convert a TRX file into html in azure test pipeline.
We have a selection of pipelines which run tests on a nightly basis. The tests are designed in Visual Studio with C#, Playwright, ...
0
votes
0
answers
72
views
liferay javascript client extension not working
I created a JS client-extension for Liferay 7.4 (U60). Everything works fine on my local environment, but after deploying to our Dev environment through a Jenkins pipeline, I’m getting 404 Not Found ...
0
votes
0
answers
50
views
Error in Pod Update while building in Azure DevOps Pipeline for React Native
I'm setting up an Azure pipeline for a React Native project, but I'm running into an error during the Pod update step. Does anyone know what changes I might need to make in the Podfile, the YAML ...
1
vote
1
answer
90
views
Quarto trying to render script files
I'm putting together an academic website with a publications section. I've written a script that will turn a bibtex file into article-by-article quarto and bibtex files that then use a custom template....
0
votes
1
answer
141
views
Interpreting YAML parameters in ROS2 as dict
I'm using ROS2 for a project. I'm stuck in interpreting the following parameter:
my_node:
category_sector_mapping:
Plastic: 0
Paper: 1
Glass: 2
Aluminium: 2
Organic: 2
...