Questions tagged [continuous-integration]

Continuous integration (CI) is the building and automated testing of the full software product on a frequent schedule: at least once a day, often several times a day and sometimes as often as after every check in to the version control system.

Filter by
Sorted by
Tagged with
0 votes
0 answers
7 views

Playwright why is the config.webServer exiting early?

I'm running E2E tests during github-actions but have been usuccessful so far. When I run npx playwright test e2e, it works as intended. playwright.config.js import { defineConfig } from '@playwright/...
ezg's user avatar
  • 735
0 votes
0 answers
7 views

gitlab docker container not overwrite latest tag

I am trying to create my own containers using ci / cd in Gitlab and upload them in Gitlab. But the project's latest tag is expected to be replaced, but it will not be replaced in the next uploads. Do ...
Reza Razani's user avatar
0 votes
0 answers
17 views

CI pipeline configuration for running Python unittest in docker-compose environment

I'm trying to set up a CI/CD pipeline in GitLab using docker-compose. I have two Docker services defined in my docker-compose.yml: flask: hosting a Flask web application postgres: hosting a ...
diamon's user avatar
  • 69
0 votes
1 answer
20 views

How to Report Mend Policy Violations in Azure DevOps Pipeline Without Failing the Build?

I'm working with Azure DevOps and have integrated Mend (formerly WhiteSource) for security and compliance scanning in my pipeline. Currently, if a Mend policy violation is detected, the build fails, ...
Adam's user avatar
  • 63
0 votes
1 answer
13 views

How to make dotenv parse and use values from environment for Github CI build?

I use .env file for local development and it's not in git. webpack loads env values from the file with this: const env = dotenv.config().parsed if (!env) { throw '.env file is missing in the root ...
Sergei Basharov's user avatar
0 votes
0 answers
11 views

Gitea runner repository cache between workflows

Is there any way to cache the checked out repository between workflow runs with Gitea runner? Let's say repository uses a lot of rarely modified LFS objects and it's too slow to checkout from scratch ...
user1188351's user avatar
0 votes
0 answers
17 views

Class library is not found while building the ASP.NET Core 7 Web API with Github Actions

I wrote this dotnet.yml to build my application and push the docker image to docker hub, placed in the root of my project under the folder .github/workflows/. name: .NET Docker CI/CD on: push: ...
shanji97's user avatar
-1 votes
1 answer
53 views

How to manage a system release containing multiple packages?

What we need to do is be able to find a consistent solution to create a single package (lets call it Master package) that contains multiple packages, check that these packages are compatible with each ...
Stepness's user avatar
0 votes
2 answers
54 views

Downloading Specific Artifacts with Different Job IDs in GitLab

I am utilizing the artifact download feature in GitLab by using the following command: curl --header "PRIVATE-TOKEN:${TOKEN}" -o MANO_ISO.ISO "https://domain.xx/api/v4/projects/50/jobs/...
robotiaga's user avatar
  • 402
0 votes
0 answers
4 views

Does Detox support Physical Devices when run from CI environment?

It's not totally clear to me if i can test Physical Devices (Android) with Detox when running on a CI (Jenkins or CircleCI) Environment. I Expect to test Real Devices (only Android) as well as ...
Andrea Saltari's user avatar
0 votes
0 answers
25 views

How to run a GitHub Action Workflow conditionally Based on the Success or Non-Trigger of Another Workflow?

I'm working on a GitHub repository with two distinct workflows, let's call them Workflow A and Workflow B. I am trying to achieve the following behavior: When both Workflow A and B are triggered ...
alfex4936's user avatar
  • 329
0 votes
0 answers
10 views

Issue with Chrome CI/CD "Chrome unable to launch with Github Action

I'm trying to intergrate CI/CD into my project. The project using mocha typescript with selenium. I can't figure out why Chrome isn't launch. Everything works fine on my local machine. I hope this is ...
Axel Alinsky's user avatar
0 votes
1 answer
18 views

How can I deploy only modified files in bitbucket pipeline

I have a bitbucket pipeline code to deploy when the PR to master is merged. The only problem is that everytime the pipeline deploys all the files irrespective of whether they have changed or not. How ...
Krish's user avatar
  • 401
-1 votes
1 answer
34 views

How to pass azure tags to Packer CLI?

I need to pass azure tags to resources created by packer. Documentation says that I need to use the azure_tags parameter, but its not very clear with the actual structure of the value. The command ...
Stepness's user avatar
0 votes
1 answer
49 views

Azure Pipelines variable ${{ variables['Build.SourceVersionMessage'] }} is always empty on a specific pipeline

I'm using the following setup for 2 different pipelines that target two different github repositories: trigger: batch: true branches: include: - '*' pool: name: 'Azure Pipelines' ...
XDS's user avatar
  • 3,864
1 vote
1 answer
31 views

Use GitLab REST api to get information about running pipeline

Here is pseudo code for a pipeline definition I have: include: - template: Security/Container-Scanning.gitlab-ci.yml stages: - build - scan - query build_job: stage: build ... ...
Cake's user avatar
  • 116
0 votes
1 answer
37 views

Maven cannot find a package with jpa entities

I'm trying to build up application that operates as shelter service. I have 3 micro services: one (external-service) contains external interfaces such as controllers and authorization logic and cats &...
pllenxx's user avatar
-1 votes
0 answers
13 views

Can you check that functions/classes have been added to sphinx docs pages in CI?

When adding new features its sometimes quite easy to forget to add new functions and classes into the API documentation. As far as I know (at least in python sphinx) You need to explicitly add the new ...
Callum's user avatar
  • 119
0 votes
0 answers
15 views

Teamcity. How to force the browser to view an artifact, instead of download it?

I want to be able to click on the link in a TeamCity build log which opens an artifact's log, but I can only get one of them to open in browser window. The other one downloads the log. Can anyone tell ...
Peter Moore's user avatar
  • 1,757
0 votes
0 answers
5 views

Grouping logs in CircleCI

Some CI providers have a way of grouping logs into collapsible segments, making reading long log outputs easier. For example, GitHub has something like this: ::group::{section title} {logs that should ...
Miroslav Jonas's user avatar
0 votes
1 answer
71 views

Terraform fails with "Can't access attributes on a list of objects." - Cannot access fields on resources created using `for_each = toset(...)`?

Terraform fails with "Can't access attributes on a list of objects." - Cannot access fields on resources created using for_each = toset(local.domains[*].domain_name)? local.domains[*]....
Shuzheng's user avatar
  • 11.8k
-2 votes
1 answer
56 views

Using any action in YAML file throws not found error in VS Code, but it's ok in GitHub actions

I'm writhing YAML file in my workflow and using any action get red underlined in VS Code and throw error that repo or version is not found, but file is ok and working on GitHub actions name: ci on: ...
HamidFt's user avatar
0 votes
0 answers
20 views

Unable to build using python-app.yml in git

I have a simple python application that will read json file from a folder path, create dataframe out it and test the schema of the dataframe. I am using python-app.yml in git actions to build and test ...
awesome_sangram's user avatar
-1 votes
0 answers
32 views

How can i separate workflow branch development and production?

So i have project in github, and i must separate branch development and production. So that i have roll back source code I try this code *branch development **Function for application development *...
Secure Space's user avatar
-1 votes
1 answer
130 views

Static Code Analysis and Static application security testing

I need Free tools for implementing SCA & SAST for my Azure Devops pipelines. I was started research on some tools like fortify, checkmark,trivy,balckduck, sonarqube, snyk, etc is there any free ...
ayaz basha's user avatar
0 votes
0 answers
31 views

argocd: why helm app not applying values.yml 2023

Hi I have this issue of argocd not taking helm values.yml i have files like this logstash-main.yml apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: logstash-0 namespace: argocd ...
Neil Shah's user avatar
-1 votes
0 answers
20 views

Local development and Continue Integration against cloud databases?

MongoDB Atlas Search is only available in the cloud. Confluent's Kafka Connectors is also in the cloud. And installing all of this stuff locally can also be tricky - complex docker compose files that ...
Raz Buchnik's user avatar
  • 7,869
1 vote
1 answer
61 views

Conditional rule always trigger job

Version used: gitlab.com (free tier) I have this rule on a job rules: - if: '$CI_PIPELINE_SOURCE == "trigger"' when: never The way I understand it (which is also what I want it ...
titiyoyo's user avatar
  • 923
0 votes
0 answers
47 views

Nuget restore myapp.sln is not being recognized as a command in Gitlab CI/CD for ASP.NET Web forms app

I'm trying to setup CI/CD for my ASP.NET Web forms application. I need to do it in Gitlab. So I researched a lot and used the templates for dotnet CI on Gitlab. These are some of the sources I used ...
dharani kumar's user avatar
0 votes
1 answer
94 views

error msg NETSDK1129:Publish target is not supported without specifying a target framework, project is targeting multiple frameworks

I am getting this error while building a CI pipeline in Azure devOps The error message NETSDK1129: The 'Publish' target is not supported without specifying a target framework suggests that your ...
Mayur Panchale's user avatar
-1 votes
1 answer
69 views

Github Action failing to run pytest due to ModuleNotFoundError

I have a python project structure using poetry as package manager and pytest to run tests. The project has a structure like: .github/ workflows/ test_workflow.yml src/ __init__.py exceptions....
Mariano's user avatar
  • 11
0 votes
0 answers
13 views

Is it Possible to Keep Concurrent Package Versions in a Azure Build Pipeline?

I am trying to create a versioning script in my Azure pipeline. I have spent more time than I care to mention working on it as this is my first time writing YAML/Powershell scripts. My end goal is to ...
Low-Signal's user avatar
-2 votes
0 answers
31 views

Github Actions: use json string from inputs

I followed this tutorial for a multi server deploy: https://philo.dev/how-to-use-github-actions-build-matrix-to-deploy-artifacts-to-multiple-servers/ In the tutorial is a step where the server infos ...
Pennywise96's user avatar
0 votes
1 answer
88 views

PowerShell on Target Machines v2.* logs

I am trying to execute on powershell script while deployment on a server SO i used Azure CI/CD task named "PowerShell on Target Machines v2.*" but i am not getting any logs from that ...
Tech_dopamine's user avatar
0 votes
1 answer
63 views

Create "diff-based" pull request gate in Azure DevOps

I have a gate (Build Verification / Status Check) that runs some benchmark tests I wrote. The benchmark runs the new code and returns the total run time of the new code. Instead of a hard-coded ...
nrofis's user avatar
  • 9,176
0 votes
1 answer
21 views

Okteto service restarts and fails

I'm working on a project using Okteto to deploy my services. I'm not sure why but one of my services keeps restarting and then fails. enter image description here It has worked before but since I ...
Seppe's user avatar
  • 1
0 votes
0 answers
139 views

How to settings jenkins correctly to make continous integration jenkins xcode freestyle build success?

I follow this article about Basic Continuous Integration with Jenkins, Xcode, but failed to get green on jenkins build I try all article step but still cannot jenkins build success, always failure. I ...
GuideMePlease's user avatar
0 votes
0 answers
28 views

Completely automate publishing of an extension to Google Chrome Web Store for CI-CD

I want to continuously integrate a chrome extension I made, which means that I want to be able to easily publish it to the chrome store with a single CLI command. I found this page that explains well ...
Léonard Krief's user avatar
0 votes
1 answer
33 views

Maven multiple local repositories for containerized CI

Our Java applications have many dependencies, and during CI a lot of time is spent on downloading the artifacts. Since many dependencies are used in almost all applications (Hadoop, Scala, Jackson, ...
shay__'s user avatar
  • 3,827
2 votes
3 answers
55 views

Access array list item by name using jq

Consider the following json data, sourced from from Docker image nginx:1.25-bookworm: # docker pull nginx:1.25-bookworm # docker image inspect 81be38025439 | jq '.[].Config.Env' [ "PATH=/usr/...
Kris's user avatar
  • 77
0 votes
0 answers
13 views

Integration JIRA and Appspider

Anyone have worked with integration between JIRA and Appspider using PowerShell? Any tips to share how to use both API? It was given to me the task of integration JIRA to Appspider in order to every ...
eternalx theone's user avatar
0 votes
0 answers
64 views

Gitlab CI: automatically merge main into the feature branch on each push

I would like to have my developers frequently integrate changes in the mainline into their feature breaches on each push of feature branch to the remote. Dev makes change in their feature branch ...
pixel's user avatar
  • 9,889
2 votes
3 answers
79 views

Create Selenoid Image With DockerFile

I need to publish a Dockerfile that contains https://aerokube.com/selenoid. This has to be a Dockerfile so I can publish it to our container registry which will be used as a service container as part ...
damiensprinkle's user avatar
-1 votes
1 answer
50 views

How to automatically clean the latest git-commit message from special keywords like p.e. "[build]" that are meant to trigger a CI pipeline?

In some CI setups special keywords might be used to trigger specific behavior in the pipeline. For example the CI pipelines might build feature branches if and only if the latest git commit message in ...
XDS's user avatar
  • 3,864
0 votes
1 answer
37 views

GItLab CI - Maven run test disabled tests with JUnit 5

I tried to run CI pipeline on GitLab, but all time maven goal "test" is failed. Maven runs disabled tests by @Disable annotation. This tests for not implemented yet functionality, and as ...
Ilya Zhukau's user avatar
0 votes
2 answers
72 views

Azure Dev OPs Pipeline Variable is not being evaluated

I want to check if my pipeline is running on a branch called releases. This would then enable/disable stages for the pipeline. variables: isReleaseBranch: $[contains(variables['Build.SourceBranch'], ...
bigdallus's user avatar
-1 votes
0 answers
30 views

Jenkins checkout : How are the sources obtained on the workers (controller/agent architecture)?

I got into trouble with Jenkins with sources not up-to-date making the process fail. And where after investigation, it was the agents using bad sources, could say corrupted. In my scenario, the ...
Sandburg's user avatar
  • 767
0 votes
1 answer
33 views

Multiple sections in "extends" these days (Gitlab)

I need to do extends of more than one section in .gitlab-ci.yml. I have three+ "prerequisite" sections, but I don't want to use them all every time in subsequent "production" ...
LetMeSOThat4U's user avatar
0 votes
0 answers
29 views

Healthcheck inheritance in docker compose with extends attribute

In docker compose file when I use the extends attribute does it use/inherit the healthcheck definition from the extended service or do I have to define a separate one? backend: image: docker-image ...
regex-guru's user avatar
0 votes
0 answers
32 views

How to use CI and doxygen to know only if new code is well documented

I have a very old c++ project. This project is not completely documented and with my colleagues we have decided to document the new code of this project. So my question is: Is there a way for Doxygen ...
Tom Penard's user avatar

1
2 3 4 5
278