Questions tagged [continuous-integration]

The concept of Continuous Integration (CI) involves regularly building and running automated tests on the entire software product. This process occurs at least once a day, frequently several times a day, and sometimes even after every change is made to the version control system.

The Github API checks are currently not properly parsing style attributes when given in the form of HTML within comment text

I have integrated github's create check run API to create a check run for my pull request. The JSON structure I am using for the request body is as follows: { "name" : name, "head_sha" : script.env.CI_COMMIT_SHA, &q ...

Encountering issues while deploying a Vue.js application on an Ubuntu server using GitLab Runner

Currently, I am in the process of deploying an application from a GitLab repository to a server running Ubuntu 20.04. The GitLab runner is registered and operational, with all SSH keys added accordingly. Although I have created the .gitlab-ci.yml file, I e ...

Automating the CI/CD process using a powerful combination of GitHub, Travis, NPM, and G

Implementing continuous integration (CI) from a master branch on Github using Travis-CI to push built files onto my server feels like hitting a brick wall. This is what I am trying to achieve: Push new code to a branch on Github After tests are run and ...

Encountering a 403 error while trying to retrieve my identity with npm-automation-token

Whenever I try the npm whoami command with an npm automation token, it returns a 403 error. Here is my npmrc configuration: //registry.npmjs.org/:_authToken=${NPM_TOKEN} Executing the following command results in the error: NPM_TOKEN=xxxxxx-xxxxx-xxxxxx-x ...

When I try to deploy to Vercel, I often encounter errors in Next.js that I didn't come across while developing. How can I address these issues pro

Recently, as I began deploying to Vercel, an issue arose where I needed to constantly check for errors during the build process. Strict TypeScript errors and messages like "Can't use <img> tag, please use next/image" kept cropping up after each ...

Tips on personalizing the BROWSERSTACK_BUILD_NAME within Jenkins

Currently, I am in the process of incorporating BrowserStack into my Selenium Python framework and utilizing Jenkins for running tests. However, I am encountering difficulties when trying to personalize the build name on the BrowserStack dashboard. ...

Can you explain the variance between running "npm install" versus "npm ci"?

Recently, while delving into the realm of continuous integration, I stumbled upon the npm ci command. I'm curious to know the benefits that this command could offer to my workflow. Will it speed up the process? Does it enhance testing capabilities and en ...

Guide to Uploading .webp Images

Hello, I'm currently exploring CodeIgniter and facing an issue with uploading webp images using the PHP CI Framework. Can anyone offer me some advice on how to successfully upload .webp images instead of just jpg files? ...

end the node.js automated testing process

I'm currently using Jasmine and Zombie JS to create automated tests. I have integrated Drone.io for Continuous Integration, and the tests are executing successfully. However, there seems to be an issue where after passing the tests, the process does n ...

Incorporate a visual element into an Angular Library Component Template using an image asset

Currently, I am working with Angular 10 and aiming to develop a component library that includes images and stylesheets. My main goal is to be able to access these images from the component templates defined in the HTML template. Although I have limited ex ...

Failure to install Playwright browsers in the continuous integration environment following the upgrade to a more recent version

, we are currently facing the following situation: For our e2e Playwright tests that rely on JS/TS, two crucial steps in our CI pipeline include: - Running the script: npm ci Displayed as 'npm ci' - Running the script: sudo npx playwright install --wit ...

Combining multiple repositories using docker-compose

Currently, I have two services deployed on separate GitLab repositories but running on the same host using supervisord. The CI/CD process in each repository pushes code to this shared host. I am now looking to transition from supervisord to Docker. To beg ...

npm fails to be recognized in GitLab-CI when running on a Windows server runner

I'm attempting to set up a basic continuous integration on my Windows Server (Windows 2012R). The only instruction in my job script is: npm install. However, when I run the pipeline, I receive the following error message: 'npm' is not recognized as an inte ...

The Jest Haste Map has detected a naming collision with the @providesModule

Currently, we are facing an issue with migrating our test cases to Jest in our Node app. While everything works smoothly in our local development environment, configuring CI on Jenkins has been problematic as we encounter numerous @providesModule naming co ...

What is the alternative command to npm ci in pnpm?

Can you explain the equivalent command for npm ci in pnpm? Referencing the documentation for npm install: pnpm install is utilized for installing all dependencies within a project. In instances of a CI environment, installation may fail if a lockfile exi ...

Is there a continuous integration system available that supports Java, Python, and Ruby?

We have a range of technology tools at our disposal, including Java, Python, and Ruby code (and no, we're not Google ;-) ). Any recommendations for a good CI framework to use? Hudson or something else? dwh ...

Automated CI: Streamlining Development Workflows

As I prepare to embark on Continuous Integration (CI), I have a sophisticated automated verification system in place. However, my concern lies in the fact that the automation runs only after the developer code is pushed to the cloud multiple times througho ...

I'm curious if anyone has successfully incorporated Selenium into their StoryTeller fixtures

Is there anyone who has successfully incorporated Selenium with StoryTeller fixtures? If so, what is the process for integrating them and how do they contribute to continuous integration? ...

Python offers a straightforward way to calculate the integration of multiplying a series of functions. Follow these steps

As I tackle the task of calculating the integration presented below: where p_{i} represent values and x serves as the variable, with N being equal to 5. I am aware that solving this equation using sympy might prove to be difficult. That's why I have ...

Execute test scenarios and upon successful completion, initiate deployment of a React JS application using Jenkins

I am currently facing an issue with running test cases and deploying a React-js app using Jenkins. After pushing my code to Git, I can successfully run the React-js app locally. However, when trying to execute the second command mocha (which is used to ru ...

executing automated tests with Selenium in headless mode using Jenkins on a Windows environment

I specifically designed my application to be compatible with Internet Explorer only, which is why it may not function properly in Phantom JS or HTML Unit Driver. Is there a way to run it in Jenkins in headless mode on Windows? ...

Error message: The tag name "[email protected]" is not valid when attempting to execute npm install

I'm encountering an issue while trying to build my Angular app using Azure Continuous Integration. Right before the build step, there is an npm install process that is failing and generating the following error: Error: Invalid tag name ""<a href=" ...

Create a continuous integration pipeline utilizing Azure DevOps platform

During my attempt to create a React application, I encountered an error while building the Azure pipeline using Azure DevOps. View the error image from the Azure pipeline in Azure DevOps The code for the azure-pipeline.yml file can be found in my GitHub ...

Can caching be utilized to optimize the speed of npm ci?

Currently, the preferred method for installing node modules during Continuous Integration is by using npm ci. However, this process tends to be quite slow. Is there a way to accelerate the speed of npm ci by utilizing cache or avoiding the complete remo ...

Access Github Package Registry without the need for an authentication token

For my node project, I aim to utilize both NPM and Github registries. This choice stems from the fact that while I rely on certain packages like request or async, I have also developed my own packages housed on the Github Packages Registry. I attempted ad ...

Streamlined Integration with Package Repository Activity

Is it possible for DevOps to automatically trigger a build when a new version of one of our project's dependencies becomes available? If so, how can this be set up? In addition to initiating a build, I am also curious about the best approach to update my ...

"Step-by-step guide on setting up Selenium with Java on a fresh system and implementing Jenkins as a continuous integration (CI) tool for

Embarking on Automation in my current project, I am looking to implement Selenium for Test Automation using Java. With Jenkins (formerly known as Hudson), I aim to generate accurate Test Reports. Could you guide me through the installation and configuratio ...

What is the most effective way to gauge the extent of automation coverage on a system being tested through analytical reports

What are some effective methods for quantifying automation statistics and coverage for a system being tested based on your experience? Summary: Presently, there are more than 100 tests (in feature files & scenarios) categorized by the area of the system ...

Looking for ways to speed up npm installation on TeamCity?

Having trouble using TeamCity to build and deploy my Ionic program. Every time, TeamCity needs to install all npm modules again. I attempted to backup the node_modules folder using PowerShell, but unfortunately TeamCity does not allow the use of remove-it ...

Utilize a module within a script in the continuous integration setup of a React application

I've created a module to verify if all the necessary environment variables are properly set in a React application. Here's a simple example of how it works: const getEnvironmentVariable = (key: string): string => { if (process.env[key]) { return p ...

Set up PHPUnit exclusively using Grunt and npm

Is it possible to automatically install PHPUnit using NPM/Grunt alone? I am aware of the grunt-phpunit package, but it still requires manual installation of PHPUnit through Composer or other methods. Is there a simple way to streamline this process? I am ...

Utilizing Font Awesome Pro within Azure DevOps

Is there a solution for integrating Fontawesome Pro with CI builds? I have successfully set up my build and Fontawesome Pro locally using these commands: npm config set "@fortawesome:registry" https://npm.fontawesome.com/ && \ npm config set ...

What is the best way to link docker containers together for optimal performance?

I am currently in the process of developing a web application that consists of three main components: A Node.js API A front-end web client that consumes the API Another Node.js service dedicated to data processing My goal is to establish communication b ...

phantomjs rate limiting in Bitbucket

My continuous integration builds are consistently failing with this error message: > <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="54243c353a203b393e2714657a6d7a63796561">[email protected]</a> install /home/t ...

Exploring the possibilities of TeamCity integration with NodeJS for streamlined API testing

I'm currently in the process of setting up a CI/CD pipeline that involves using TeamCity as the build server. The pipeline has 3 build steps that I have configured: Running npm install, Executing node server.js, Running node run_tests.js The issue ...

Issues with executing a Selenium project in Java using Maven - Troubles with the Surefire plugin

I encountered the following issue: While running my Selenium-Maven-Java project, I faced a Surefire plugin error. When building my project on Circle CI, I received this build error. I would appreciate any suggestions on how to rectify this. This is ...

Encountering problems with the build script in an npm package

We have been utilizing Azure DevOps pipeline for constructing the Azure Data Factory (ADF) ARM template. The process I followed is in alignment with the guidelines provided by Microsoft, which can be found here. To proceed with this build, it is necessary ...

In Jenkins, there do not exist any configurations specifically for NodeJS installations

I've been struggling with this issue for a while now and haven't been able to find a solution online. Using Jenkins as my CI tool and Git as the source of code. The build trigger is set to another build stability. The plugin manager indicates th ...