14,065
questions
0
votes
0
answers
9
views
GitHub split-tests Action: Cannot Use junit-path Parameter Correctly
I am using the split-tests GitHub Action to split my tests into groups so they can be run in parallel using a matrix runner on GitHub.
successfully implemented a pipeline to split the tests, execute ...
0
votes
1
answer
22
views
GitHub multiple workflows fail to run
I have a problem with workflows. I have several files under .github/workflows directory.
For the sake of this post let's say 2: build.yml and cypress.yml. I want to trigger a workflow/job only if ...
1
vote
1
answer
14
views
How to synchronize with upstream opensource project while keeping your own private modified version?
I am working on a forked version of a open-source project which is written in golang. The problem is, while I do some modifications in my private repo, I realised that the opensource also releases ...
-2
votes
0
answers
41
views
Best choice for application deployment [closed]
We are developing a microservice application on .Net and we are choosing a CI/CD tool. We need to deploy the application to several virtual servers. Unfortunately, we do not have the ability to deploy ...
0
votes
0
answers
11
views
Why does pipeline variable not work in RULES section in gitlab-ci.yaml job description?
I have the following gitlab-ci.yaml file. And BUILD_NUMBER variable should be passed from upstream job to the downstream one (someproject). With the following configuration this trigger-job will be ...
0
votes
0
answers
27
views
Get software list from the Azure DevOps CI pipeline using Microsoft SBOM
We have SBOM integrated in our Azure DevOps CI pipeline. The purpose was to get the list of softwares and versions (eg. Node.js, .NET Core etc.) used by the application. Though SBOM generated a json ...
1
vote
1
answer
58
views
GitVersion doesn't give error message on Azure Devops Pipeline
I'm creating an Azure Devops pipeline to build a small library. As it's a tiny project, i don't use branches to develop functionnalities. I work inside the master branch.
Here is the beginning of my ...
0
votes
0
answers
20
views
Missing tag for some of pushed images in DigitalOcean Registry
I faced a strange behavior of DigitalOcean Container Registry. I use Github Actions pipeline below. But sometimes some of my images are pushed to container registry without a tag. Analyzed pipeline ...
0
votes
1
answer
29
views
Issue with GitHub Actions and Docker: 'GitHub Personal Access Token is not set' during Electron/Firebase build
I've been trying to set up CI/CD for my project that uses Electron and Firebase, but I'm facing issues with GitHub secrets. I placed my PAT (Personal Access Token) inside a secret, but when GitHub ...
0
votes
1
answer
50
views
How to consume docker image saved as artifact in Azure Pipeline from previous job/stage
In Azure Pipeline, how do I load image directly for job in subsequence stage as container?
Eg. saved image from previous stage
- task: PublishBuildArtifacts@1
inputs:
PathtoPublish: '$(...
0
votes
1
answer
14
views
Jenkins script cant call DiskSpaceMonitor.getFreeSpace(computer) on SlaveComputer
Trying to get the disk space for a node but running in to the following error:
No signature of method: java.lang.Class.getFreeSpace() is applicable for argument types: (hudson.slaves.SlaveComputer)
...
0
votes
2
answers
20
views
GitHub action chaosaffe/split-tests cannot be download in private project
I developed a sample GitHub workflow where I split the tests to be executed in parallel using multiple jobs. The splitting of the tests to chunks is performed by the chaosaffe/split-tests github ...
0
votes
0
answers
13
views
Gitlab Pipeline fails finding secure file in container
I currently have a Gitlab pipeline that is running the following node.JS code
const options = {
hostname: 'test.test.test.com',
port,
key: fs.readFileSync(path.join(process.env.CERT_PATH, '/'+...
0
votes
0
answers
10
views
Deployment and Code management strategy for multiple teams
I have a web application that is based on microservices architecture (both frontend and backend). We have four tiers: Dev, SIT, UAT, and Prod. Initially we started with only one team writing code and ...
0
votes
0
answers
14
views
Pipeline stuck when commit after semantic release
I’ve recently run into an issue where my GitLab pipeline gets stuck after executing npx semantic release. This pipeline has been running smoothly until now, and I haven’t made any changes that would ...
1
vote
0
answers
15
views
run command within container using Ktor-Docker
I have a containerized kotlin backend, and I use ktor docker to generate the dockerfile.
The goal is to install ffmpeg in this same container
How to do it? I don't have access to commands like "...
0
votes
1
answer
20
views
Using map merging (<<) in an externally included yml file in Gitlab CI/CD
The main gitlab CI configuration file looks like this:
.gitlab-ci.yml -
include:
- 'test.yml'
stages:
- build
- dev
.template: &deploy
dependencies:
- build
.template: &build
...
0
votes
0
answers
13
views
Android GitLab CI. Reuse compiled files through stages
I am looking for a solution to optimize the pipeline execution by reusing compiled files from previous stages.
Let's narrow it down to 2 stages: compile - test.
compile will share its build folder for ...
0
votes
1
answer
23
views
How to organize signing process of docker images in CI pipe?
Good afternoon.
We have a container image development and assembly infrastructure built on Gitlab. The developer develops the code and commits it to GitLab. The container image is assembled using ...
0
votes
0
answers
47
views
Git Hub - parallel-test execution junit
I am trying to configure a GitHub workflow to run the tests in parallel using the modified split-tests output.
The gradle command what each parallel runner requires to execute looks like:
./gradlew ...
0
votes
0
answers
15
views
NX affect works for build but not for release
I'm having a nx monorepo for a design system and would like to publish packages to NPM only when they have changed.
Unfortunately this doesn't work for me as you can see here:
npx nx affected:build --...
0
votes
1
answer
31
views
"Process completed with exit code 137" on running pytest on docker composition service in Github Actions
I have created a workflow for Github Actions to automate tests using pytest. When running on GitHub, I get an error.
I have a problem in the form of an error:
Process completed with exit code 137.
...
0
votes
1
answer
18
views
Gilab Run Second Job When First Job Starts
There are two jobs in two stages, when Terraform Apply is invoked, it needs to run the second job, ignoring the outcome of the Terraform Apply and not waiting for it to first finish.
Currently both ...
0
votes
0
answers
24
views
Run github action only if all checks for current commit have passed
I want to run a github action on schedule, or triggered by workflow_dispatch.
However, the action should only run if another action ran successfully at some point, for the most recent commit: if the ...
-1
votes
0
answers
22
views
Getting GTest to run in Gitlab with different repos
I want to get gtest up and running in gitlab testing code from different repos. Is this possible and and if there is can someone point me in a direction where i can set this up. Im rather new to to ...
0
votes
0
answers
29
views
Tools for Terraform that have support for Oracle Cloud Infrastructure resources
I am working (not out of choice) with Oracle Cloud Infrastructure and would like to implement some pre commit checks, mainly linting and static infrastructure scanning + testing. Is anyone aware of ...
0
votes
1
answer
29
views
Skip scheduled pipeline on tags
Hello I have a scheduled pipeline that runs on the main branch on Gitlab. I don't want it to run on tags
I tried adding:
rules:
- if: "$CI_COMMIT_TAG"
when: never
- if: '$...
0
votes
1
answer
38
views
How To get my github ci.yml gradle build to pass?
In my personal project that I am writing I am struggling to get the git build pipeline to work. Below is a link to the repo and failing run.
https://github.com/ashfrench/killer-sudoko/actions/runs/...
0
votes
1
answer
31
views
How to print GitHub Actions matrix values from another job?
Suppose I defined this job:
name: workflow
on:
push:
branches:
- main2
jobs:
job1:
runs-on: ubuntu-latest
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
strategy:
...
0
votes
2
answers
33
views
is it possible to call another jenkins file from a main jenkins file
I have a main Jenkins file from which i want to call other jenkinsfiles based on which is chosen. Is is possible to do so ?
I have the main jenkins file which will have a list of choice parameters. ...
0
votes
0
answers
11
views
Gradle Android build failed when using NFS PVC as cache on k8s
Gradle Android build failed when using NFS PVC as cache on k8s。
The reason for the failure is 'Duplicate class', and I suspect it may be due to some class path issues.
But it only reproduces on NFS ...
0
votes
0
answers
22
views
Broken AVD path
I'm trying to launch Android emulator in a docker container on CI. I have setup plenty of env variables:
# Install Android SDK
ENV ANDROID_HOME /usr/local/android-sdk
ENV ANDROID_SDK_HOME ${...
0
votes
0
answers
18
views
How to trigger different builds in a queue with different trigger frequency in jenkins?
I want to trigger 3 different builds in jenkins A,B,C. The frequency of triggering A and B is once every day and the frequency of triggering C is once every week. On the day C is getting triggered, I ...
0
votes
1
answer
23
views
CI on github: incomplete log
This is about CI in https://github.com/Reissner/latex-maven-plugin.
There you can see the complete ./.github/workflows/maven.yml configuring the workflow.
Many things don't work as I expect.
For ...
0
votes
1
answer
23
views
Get package.json version as a global variable in codemagic.yaml
I have a codemagic.yaml file and I'd like to read the version number out of package.json and expose it as a global CM_ENV variable named VERSION for scripts elsewhere in the file. Then I want to use ...
1
vote
1
answer
46
views
Best practice for multi-platform CI/CD
I am new to CI/CD and I want to create a CI/CD pipeline on gitlab that compiles my code on:
MacOS
Linux x86
Windows
So far, I have been doing it only on Linux using the following strategy:
I use a ...
0
votes
0
answers
24
views
Bazel: handling libraries in a multirepo environment
I'm looking for some advice on managing libraries in a multirepo environment. At the company where I work, we have two custom "build systems," and, to be honest, both are pretty bad. I've ...
0
votes
0
answers
19
views
how to sync CRM D365 on-premises with CRM D365 cloud in real time?
I want to synchronize data on CRM on-premises with dynamics 365 cloud CRM and opposite behavior
i search for the best way with high performance and secure method to implement this integration is there ...
0
votes
1
answer
62
views
Setup cypress tests in azure devOps for a CI project with 2 repos(one for main app and one for cypress tests)? [closed]
We have an azure DevOps CI project with separate repos for development code of our web app and cypress tests.
I need to create a test pipeline that runs whenever there are changes to the main branch ...
0
votes
2
answers
77
views
DevOps CD Pipeline Error Mutliple dacpac records
I hope you can help as I can't seem to find a structured scenario to fix the problem.
2024-08-22T15:44:19.1135863Z ##[section]Starting: SQL DB Deploy
2024-08-22T15:44:19.1143548Z
=====================...
-1
votes
1
answer
34
views
Wrong YAML syntax for github actions
Trying out github actions to auto publish an npm package but its showing these errors I don't know what's wrong. I have used my own name and email in the code instead of this dummy data shown in the ...
0
votes
1
answer
45
views
Azure Devops Custom Task with status checks
I am in the process of creating a custom pipeline task for Azure DevOps (e.g. Like PublishPipelineArtifact@1) by following these steps https://learn.microsoft.com/en-us/azure/devops/extend/develop/add-...
0
votes
1
answer
63
views
Azure pipeline CI: No profiles for 'com.my.app' were found
I am trying to use azure pipeline for CI/CD, but can't build my app. I set automatic code signing in Xcode. Also I uploaded all needed secure files both certificate and provisioning profiles.
pool: ...
3
votes
1
answer
71
views
Determining if a Go program has changed from a previous build
In a CI/CD system, I need a way to check if the hash of the source code for a Go executable has changed. I have the source code and the executable. I only want to deploy the built executable if it's ...
0
votes
0
answers
32
views
Issue building my flutter project with gradlew: minSdkVersion 16 cannot be smaller than version 19
Im working in a CI/CD for a flutter project, i tried to add a gradle wrapper to start testing the project with lint, but im having the next issue when i try to start building the project with ./...
0
votes
1
answer
26
views
Nextjs Build output is overloading my CI process, how to reduce the build output?
During CI build on remote machine, the npm build command of nextjs 13 yield to the terminal a lot of output (of things in process, things that the build is doing during the build etc)
is it possible ...
0
votes
1
answer
20
views
Github workflow : Why my jobs are skipped when use if & contain?
name: Build-test
on:
pull_request:
branches: [dev]
types: ["opened", "synchronize"]
jobs:
test-front-end-customer:
if: contains(github.event.pull_request....
0
votes
1
answer
49
views
Managing API changes across iOS and Android apps with different approval timelines to avoid compatibility issues
How to manage different versions of an iOS and Android app given varying approval times without causing compatibility issues?
I'm dealing with a challenge where the iOS and Android app approval ...
0
votes
0
answers
23
views
How can I trigger run of a GitHub Actions workflow created in runtime by some other workflow?
I have workflow, "creator.yml" which uses a script to create another worlflow, "new.yml". Now I want to trigger the run of "new.yml" automatically. Is is possible to do ...
0
votes
0
answers
31
views
Is there a simple way to merge one branch to another with a workflow?
We a two branches: main and prod. Both branches are used as refrence to build a website. Now I wanted a workflow that reacts to a certain commit message to be triggered. It should then auto merge main ...