Questions tagged [devops]

Welcome to the realm of DevOps! This particular tag is exclusively reserved for inquiries related to programming in the context of DevOps, a unique software development approach that places great emphasis on effective communication, seamless collaboration, comprehensive integration, streamlined automation, and meticulous measurement of cooperation between brilliant software developers and talented IT professionals. Remember, if you have any non-programming queries, feel free to address them over at the amazing DevOps Newtab Q&A site.

Which authentication details should be utilized for deploying a React application on AWS?

After developing an app that leverages amplify for deployment and dynamodb for data retrieval, I am pondering the idea of using separate credentials solely for deployment purposes. The current set of credentials seems to be working fine for me, but is it r ...

Creating TypeScript utility scripts within an npm package: A Step-by-Step Guide

Details I'm currently working on a project using TypeScript and React. As part of my development process, I want to automate certain tasks like creating new components by generating folders and files automatically. To achieve this, I plan to create utilit ...

Solving the issue of 'sh: tsc not found' error in a docker container within Gitlab CI's docker-in-docker environment

My current project involves setting up Gitlab CI Docker-in-Docker. However, I'm facing a challenge as the job keeps failing due to the inability to locate installed NPM packages when executing commands. The error message reads: backend_1 | backend_1 ...

Error in Docker: Unable to resolve due to sender error: context has been terminated

After attempting to build my docker image for the project in VS Code terminal, I ran into an error. What are some possible reasons for this issue? Along with this question, I have also shared a screenshot of the error logs. ERROR: failed to solve: error ...

What is the process for setting up the configuration to retrieve npm packages from Jfrog artifacts for a YAML-based Azure CI Pipeline?

I am looking to set up an Azure DevOps yaml CI pipeline for a front-end angular app, specifically needing to retrieve all npm packages from Jfrog Artifacts in a defined way. Could someone kindly assist me with how to specify endpoints for pulling Jfrog np ...

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 ...

Customizing ESLint configurations for a more productive local development environment

Let's consider an inspiring scenario: I am in the process of coding and need to troubleshoot an issue, so here is a snippet of my code: function foo() { console.log("I'm resorting to printf debugging in 2016"); } However, our build setup involves esL ...

specifying a unique path for custom npm configuration in npm commands

Can I set a specific file path for the custom .npmrc file using npm command? The situation is as follows: in a node js build and release pipeline (azure DevOps and Jenkins pipeline), I am looking to avoid storing the .npmrc configuration, which includes p ...

What is the best way to deploy a docker image from my computer to the office server?

I have an Angular project that has been Dockerized on my personal computer. I am now looking to deploy it on my company's server without having superuser permissions. What steps should I take to achieve this? ...

Is it possible to invoke Cucumber stepDefinitions from a separate project at the same directory level?

Currently, I have a project called integration_test that includes all test projects utilizing cucumberjs, typescript, and nodejs. Project1 contains the login implementation, and I would like to use this implementation in Scenarios from Project2 and Projec ...

GitHub Action encounters a fatal error during the build process

As a new face in the DevOps world, I've decided to take the plunge and experiment with setting up a straightforward GitHub Action. My goal is to have my website automatically deployed to Firebase whenever I push changes to the master branch. However, I've ...

The <core.pid> file in Node.js is specifically generated on a single node

Running a high-availability architecture with two identical EC2 instances under a load balancer, I have a production workspace where the application is vue.js using 'nuxt' and daemonized with pm2. However, disk space on only one node keeps filling up due t ...

Having trouble installing npm packages after adding the private `.npmrc` file to Azure

Having some trouble installing npm packages due to a .npmrc file set up for a private library hosted on Azure workspace. After creating a new config file, everything works smoothly in localhost. How can I include two registries in the .npmrc file, one for ...

What is the reason for needing to execute the "FLUSH HOSTS;" command daily in my project?

My project using a LEMP stack is currently hosted on Digital Ocean and I'm encountering an error: Host '167.71.227.200' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts' Every day, I have to use FLUSH HOSTS; command to re ...

Using Docker to containerize a Vue single-page application, with the flexibility to switch API URLs based on the environment

I have a dockerized Vue.js application that communicates with an API hosted on a java backend. The API URL varies depending on the environment - it's app.example.com/api in production, staging.example.com/api in staging, and localhost:8081 when running loc ...

Streamlining the deployment process of Angular applications on IIS through automation tools such as Docker and Jenkins

I am currently manually deploying my Angular application on an IIS server by copying the build from my system to a specific location on the server. The code for my application is stored in a TFS repository. My application's backend is powered by Mulesoft ...