15,855 questions
0
votes
0
answers
26
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 ...
-2
votes
0
answers
68
views
Creating a stack in portainer with docker compose in R
I would need how to create the yaml to deploy the stack making sure it has alll these libraries and that it uses these ports
Libraries:
1.1- openxlsx
1.2- xml2
1.3- rdflib
1.4- jsonld
1.5- jsonlite
1....
1
vote
1
answer
85
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
...
0
votes
1
answer
121
views
Spring 3.5.x gives 'name' must not be null after upgrading from Spring 3.4.x
I got this shortened yaml configuration file:
apiconfiguration:
apiList:
-
queryParameters:
- something
This is my Java class:
@Getter
@Setter
public class ApiConfig {
...
-1
votes
1
answer
45
views
Github composite outputs "suddenly" not propagating to the next job
I'm doing Infrastructure as Code for a project and it involves setting up the Azure infrastructure via Github workflow.
What i do in my composite is:
Create a resource group
Build bicep files
Run &...
-1
votes
1
answer
42
views
How to correctly use retry_delay or retry_delay_sec in Airflow YAML DAG?
I'm currently working with Apache Airflow and trying to configure retries for my DAG tasks using the retry_delay (or retry_delay_sec) parameter in a YAML-based DAG definition.
However, I'm running ...
1
vote
1
answer
90
views
Retrieve schema name created with databricks asset bundles
I´ve created a schema in DAB with this code in my yml file.
resources:
schemas:
my_schema:
name: my_schema_name
catalog_name: my_catalog
The schema is created ...
1
vote
1
answer
93
views
How to retrieve a specific variable from Azure Devops library dynamically
I have a simple yaml pipeline that calls a template analyze-and-deploy.yml.
I concatenate ${{ parameters.Environment }}_USERNAME to create a username parameter dynamically and pass it when calling ...
0
votes
0
answers
83
views
Avoid encoding emojis when using yq --prettyPrint
When I convert my JSON file to YAML, i want any unicode chars to be part of the content and not escaped with backslash and quotes. Example: This is my file.json
What can I do in order to make YQ not ...
0
votes
0
answers
43
views
Azure Pipeline Stages to Run show "Unable to load the pipeline's stages."
I checked some netizens' errors.
Currently I've tried change Triggers>YAML>Insert something to "Default agent pool for YAML"
But seems "Unable to load the pipeline's stages" ...
0
votes
0
answers
27
views
Why does the IntelliJ YAML inspection show errors for variable outputs/uses in GitHub workflow?
IntelliJ 2024.3.3 (Ultimate Edition) shows numerous errors for yaml code in a GitHub workflow such as this (excerpt):
jobs:
setup:
runs-on: 'ubuntu-latest'
name: Setup
env:
...
2
votes
1
answer
88
views
How to change a specific YAML value for only certain YAML objects with yq
Let's assume the following YAML file:
---
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: Bucket
metadata:
name: kratix
namespace: flux-system
spec:
interval: 10s
provider: generic
...
0
votes
0
answers
26
views
Apply a method to a class defined in yaml file (hyperpyyaml)
I want to use the class defined in yaml file to get a method associated with it.
Intuitively, it's something like -
!apply: !ref <class.method>
But since input to apply is a callable string, ...
0
votes
0
answers
55
views
How to set pipeline variables based on another pipeline variable whose value is assigned using Library variable?
I am having difficulty in achieving a requirement. I need to determine the Agent pool based on Build.Reason. If the reason is PullRequest, I need to assign the value of agent pool using value of a ...
0
votes
0
answers
86
views
Gitlab CI: Import GPG key and get reprepro to sign with it
I have a GitLab pipeline in which I need to import a GPG key from a variable and sign with it. Signing fails because the key is not trusted.
YAML attached. Some remarks:
Masking variables does not ...
1
vote
2
answers
88
views
using mikefarah/yq find the Nested keys with parent
need to get all the nested keys from a yaml file using mikefarah/yq(installed v4.25.1)
tried the below 2
this gives only the parent level keys not the child keys under it
yq eval 'keys' "...
4
votes
1
answer
129
views
How can you set proxyName and proxyPort values in Spring Boot Application YAML for embedded tomcat instance?
In the past, I have had to set the proxyName and proxyPort (along with scheme and secure) so that when Okta Saml SSO assertions are made/validated the correct domain values are used (since my app is ...
1
vote
0
answers
70
views
Kotlin serialize simple class with explicit Serial Name
I've tried to use kotlinx.serialization with the third party Yaml plugin from @charleskorn.
In the past I already did something with Python using pyyaml, where I explicitly set a custom yaml_tag for ...
0
votes
0
answers
34
views
OAS Generator creates classes even for referenced schemas
I have two yml files
Common.yml and application.yml
Both under same folder
I have certain schemas like sortOrder that are defined in common schema
And using $ref it is referred in application.yaml
...
-1
votes
1
answer
64
views
GitLab CI YAML fails to validate. Why?
I write a GitLab CI YAML.
This:
test:
script:
- echo 'hello: world'
Fails with the error: "This GitLab CI configuration is invalid: jobs:test:script config should be a string or a nested ...
0
votes
1
answer
107
views
How to update the values for all keys matching a given pattern using yq?
I have a yaml file looks like
part1:
name: tom
some_field: true
part2:
name: jerry
other_field: true
and I would like to change the value of all keys that end with field into false, that is, ...
0
votes
1
answer
74
views
Prevent ruamel.yaml from touching unchanged lines when round-trip dumping YAML
I’m automating small edits to YAML files (and opening PRs), but I need only the lines I intentionally changed to appear in the diff—yet ruamel.yaml still rewrites lines I never touched. For example, ...
1
vote
2
answers
47
views
GitHub Actions Workflow Failing: Artifacts Array Returns [] During Firebase Deployment
I’m facing an issue with my GitHub Actions CI/CD setup for deploying a web app to Firebase Hosting. I’ve set up three workflows:
Pull Request Workflow: Validates code on PR creation.
Build Workflow: ...
0
votes
0
answers
153
views
Ansible Playbook error with netcommon bad escape
I have a module failure with a very simple playbook, I always have this error of bas escape
I can't send any config with the module
I'm trying to send it on 2 Huawei CE6885-48YS8CQ and I'm on Ubuntu ...
0
votes
0
answers
33
views
nunjucks after endif doesn't indent yaml correctly
I am having to use nunjucks to template some YAML and having an issue getting the indenting correct after an endif
Here is an excerpt of the YAML and the issue
metadata:
annotations:
{% if ...