Category "yaml"

Gitlab CI/CD Spring boot Mysql sample Build and db connection successful but Junit test failing with Unknown database issue..! (DB exist)

Applying CI/CD With Spring Boot MySQL Gitlab I'm created very basic Spring boot crud application with MySQL, What I need to implement is Gitlab CI pipeline to a

How to configure the Keras Optimizer and Learning rate using config.yaml file?

I have defined few parameters in my config.yaml like as below. params: epochs: 10 batch_size: 128 num_classes: 10 loss_function: sparse_categorical_cros

Why is my Discord Bot in GitHub not working?

When I run main.py it's giving me this error. I was just trying to replicate a bot from GitHub and I didn't know it would be this difficult, here is the GitHub:

Sending email with Github Actions

I am exploring Github Actions and i want to send email with Github actions. but github is giving me the following error. Run dawidd6/[email protected] Err

AzurePipeline failing due to: The reference assemblies for .NETFramework,Version=v4.6.1 were not found

I have an Azure pipeline setup for my builds. I have been running into this issue recently and cannot figure out a way to fix this: ##[error]C:\Program Files\Mi

yq v4: print all key value pairs with full key path

I'm trying to determine the correct syntax for using yq to print all key/value pairs from a given yaml input using yq v4 - with the desired output having the fu

How to read from YAML file in java?

I have YAML file like this.. Product: ProductA: Suite: SuiteName_A: Environment_1: ["A","B","C"] Environment_2: ["X","Y","Z"] SuiteName_B

aws sam bucket deploy failed due to Encountered unsupported boolean value true

I tried to deploy a S3:Bucket with sam. But when i run sam deploy, it failes with the error message "Encountered unsupported boolean value true" Any idea why ?

How to set up SonarQube code duplication by folder or group of projects and not for the whole Solution in a single Azure DevOps repository?

In our product stack, we have an intricate projects structure. There is a main app that is responsible for core functions (routing, auth, etc.) and there are su

Job as a variable and use variable inside this job | github action & yaml

I'm currently deploying a security tool for my cluster. It worked well but I want to reduce the length of the code and avoid repeating code inside the file. Her

github action pip dependencies not working after found cache

I had wrote a workflow that included caching, following the docs of action/cache@v2. I'm using docker-compose to host my postgres db and doing tests with django

Bookdown:: word_document2 knits outdated word document

my manuscript output is no longer converted into an updated word document using bookdown or regular md. After knitting my .Rmd, I get an outdated version of the

GitLab job allow failure on certain exit code

I have a GitLab CI/CD job doing some stuff. I want some executed commands to be able to fail and result in a warning for this job, but I also want other command

Error While creating the Network Load Balancing in Cloud formation

Iam Trying to create Network Lode Balancing in Cloudformation But Stack it Getting fail with below error. Error : Listener protocol 'TCP' must be one of 'HTTP,

Error connecting to EFS mount from AWS ECS fargate container?

I'm trying to setup via CloudFormation an EFS mount for self-hosted Prometheus. Below is the CloudFormation for my setup: Resources: ServiceSecurityGroup:

How to add classpath resource in application.yml file

With spring-boot, in case of application.properties file there is provision to specify classpath in value. app.templates = classpath:app\mock-templates How to

How to add classpath resource in application.yml file

With spring-boot, in case of application.properties file there is provision to specify classpath in value. app.templates = classpath:app\mock-templates How to

What is the difference between '>-' and '|-' in yaml?

I wanted to know exactly what is the difference between '>-' and '|-' especially in kubernetes yaml manifests

Module failed to start Ansible

I'm new in Ansible. I'm working on an Ubunto machine. On the VM, I installed Ansible along with to apply play books to. When I run a playbook I receive the fol

How to make resource files privatly and locally accessible to the application with app.yaml in GAE?

In appengine-web.xml we have <resource-files> tag to make resources files accessible to the application at runtime but not public, but in the new app.yaml