Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [automation]

Automation is the process of building or integrating software that takes a manual or laborious task and brings it under machine control, thus reducing labour. Use this tag to describe questions that are about automation.

0
votes
2answers
25 views

How to avoid build scripts duplication

Let's say you've got several code repositories on GitHub. You want to build, test and deploy them. You picked a continuous integration service (e.g. Travis CI, AppVeyor or something else) and wrote ...
0
votes
3answers
37 views

Auto-scaling, how to securely get code from private repo

I want to setup an auto-scaling configuration but cannot think how I can securely get code from a private repo when I spin up new instances. I obviously don't want to put passwords in startup scripts,...
0
votes
1answer
21 views

Is there an elegant way to use a Dockerfile argument to tag an image?

I use and argument (ARG) in my Dockerfile to download a particular version of an application. I would like to tag my image with that version number. I end up writing something like that: sh$ ...
2
votes
1answer
37 views

Docker image two-steps build

I have a third party PHP application to install in a container. The application is shipped without its dependencies. There is a provided script to automate dependency installation, but it relies on a ...
1
vote
0answers
38 views

How to automate a work-flow in the cloud?

I'm currently trying to scale a crawler in the cloud. I'm wondering what would be the best way to automate the work-flow, considering the following conditions: - Guaranteed bandwidth, CPU and memory ...
1
vote
2answers
61 views

Take automatic screenshots of a website and send it to WhatsApp or Facebook Messenger

I am trying to automate the process of "sending the screenshots of a monitoring tool dashboard to my WhatsApp number" at regular intervals. So far I have achieved the following: Automated the ...
3
votes
1answer
73 views

Is there a system which automates everything (OS release, and above) to host websites on?

This is not really a DevOps question but more of a System Automation question (which DevOps covers only a part of, by popular opinion, so I hope it's okay). I feel like some 5 USD IaaS VPS with ...
0
votes
0answers
16 views

Is there ERP software with DevOps data integration?

Assessing DevOps methods in ERP context is a question of the sort "how can I gain more productivity and quality using DevOps approaches in context X". This is not the scope of this question but is ...
1
vote
0answers
29 views

How to integrate CI with federated AWS IAM roles?

Imagine a multi tenant environment using a CI (e.g. GitLab but can be any other) and AWS as a backend for test infrastructure. With fixed users, it is easy: save credentials as secrets. But what if ...
0
votes
2answers
29 views

Is it true to say that both a “shared server environment ” and a “VPS environment” can be either IaaS or PaaS?

Say I rent a DigitalOcean 20$ "VPS environment" (IaaS) or a SiteGround 10$ "shared-hosting environment" (PaaS). As far as I know, in both cases I share hardware with other customers (both ...
-1
votes
1answer
45 views

A cloud technology with automatic upgrades of my OS-release and web server release?

I desire a cloud technology that will redund my need of using Vagrant to continuously integrate OS release upgrades (say from Ubuntu 18.04 to 20.04 including all software installed by apt-get --- ...
-1
votes
1answer
35 views

Maximally-self-managed hosting-platforms and OS-and-above containerizators (like Vagrant)

A maximally-self-managed hosting-platform like DigitalOcean/Linode lets a customer quickly create its own VPSE (Virtual Private Server Environment) which includes a common FOSS operating system like ...
0
votes
0answers
10 views

Mocking CloudStack API

Is it anyhow possible to have a mock interface for the Apache Cloud Stack API? For example, in this bug report for Python Cloud Stack client I test an SSH key upload to CloudStack; a mock could help ...
0
votes
0answers
39 views

Login to docker registry using chef

We want to create a chef recipe which can able to login to docker registry and pull some images. I have tried using docker_registry resource as mentioned here https://github.com/chef-cookbooks/docker#...
0
votes
0answers
201 views

Powershell connect to Internet via Proxy Server

How do I configure Powershell upon first boot to use a Proxy Server for all Internet Access Requests? I have a Windows 2016 server (in AWS) that I need to be able to access the Internet to download ...
3
votes
4answers
185 views

DevOps tools and automation of manual processes

This is a general question, but couldn't find a better place to ask. I'm a new DevOps member in a company, and I've been ask to "update" our DevOps technologies. Generally speaking, in what areas do ...
2
votes
0answers
37 views

Creating a task for a backlog item automated in the release pipeline of VSTS

I'm looking for a possibility to create a task and attach it to a backlog-item from the release pipeline in Microsofts TFS/VSTS. So far I couldn't find anything that would make this possible. Has ...
5
votes
1answer
290 views

How to keep configuration files automatically during apt-get upgrade or install?

When performing and apt-get update; apt-get upgrade -y on a server I encountered the message: Setting up sudo (1.8.16-0ubuntu1.5) ... Configuration file '/etc/sudoers' ==> Modified (by you or by ...
7
votes
1answer
421 views

What is ansible-runner about?

I've read the README file from the github repository as well as the documentation site of ansible-runner (from the official ansible project) but I don't understand what is ansible-runner about and in ...
3
votes
1answer
844 views

Jenkins Job vs Jenkins Pipeline

BACKGROUND : We have one Selenium automation project which is shared in BitBucket repository. Project is maven project. we have 10 testng.xml files for all modules OVERVIEW: Now we want to trigger ...
3
votes
1answer
518 views

Docker tags for multi-stage builds for series of Docker images out of one Dockerfile

Thanks to Docker multi-stage builds, we can compile some artefacts in one environment and put them for execution in other one. As result, there are two images, where the final corresponding to the ...
1
vote
0answers
32 views

Jenkins Github Organization Metrics

I am using Jenkins with the Github Organization item option. On Jenkins with freestyle projects or others I am able to get build metrics: success, failure, date, node and so forth. On the Github ...
0
votes
0answers
202 views

How to use a Logic App to do a json filter and diff for monitoring automation of a third party system

I am trying to create monitoring endpoints in Site24x7 using their APIs. I am using Azure logic Apps to orchestrate this process as there are multiple third-party services. I was able to get the data ...
0
votes
0answers
84 views

A way to convert between bamboo and jenkins pipeline codes

Is there any format, and/or converter to move pipelines between these two CI systems?
3
votes
2answers
584 views

How do I replicate a Jenkins setup via automation?

I have a Jenkins setup running in production. I want to automate the Jenkins setup (installation) along with all the jobs that are set up in Jenkins. One crude way I can think of is to copy the whole ...
0
votes
1answer
571 views

Kubernetes create multiple jobs based on template and list

We are currently migrating many of our production data ingress/processing scripts/processes into a kubernetes cluster. Each "customer" or company that we interface with has a bunch of data and we want ...
5
votes
2answers
246 views

How to automate rolling upgrades for ec2 running linux behind elastic and/or application load balancer?

Would like to ask for recommendations on ready automated solutions or templates for rolling ec2 instance upgrade on AWS, requiring a reboot with ELB/ALB. Specifically required to perform the ...
2
votes
1answer
129 views

Is it possible to keep all the DSC configurations in Version Control and make Azure Automation fetch it from there automatically?

The Azure Automation DSC seems to know to integrate with GitHub, but it seems to expect only runbooks there. At least, this is what I understand from the following UI screen: I have just started to ...
5
votes
1answer
38 views

Does Oracle have an API that shows the latest stable JDK version?

There is an ansible role that installs jdk8, but is incompatible with jdk9. The role parses a couple of html pages and the commands are incompatible with java9. It was quite hard to make it work for ...
-1
votes
2answers
70 views

How to create Chef Package for Redhat. I have 2 rpms agents and 2 yaml files

Installation steps. There are two ELK agents to install: Metricbeat Copy the attached file metricbeat-6.0.0-x86_64.rpm to the target server Execute the command: sudo rpm -vi metricbeat-6.0.0-x86_64....
2
votes
3answers
105 views

How to get the latest stable version of Firefox?

How to get the latest version of firefox? This URL was found, but is there no API? I would like to get the latest version, e.g. 58.0.2 so this could be used for other purposes. Just latest is ...
1
vote
0answers
16 views

Actions Performed During FAI Repository Task Do Not Persist

Question My hook script for the repository task (see the list of FAI tasks) doesn't seem to be having an effect on the final state of installation. Why not? Is this the expected behavior? If so, why? ...
5
votes
1answer
333 views

Create multiple EC2 instances using python script (in loop iteration)

I Have JSON file in which email address and count of instances are specified.I'm using python script to iterate through that file and get username/count number (count number will be used as number of ...
2
votes
0answers
35 views

Installing Packages from a 3rd Party Repository with FAI

Problem I want to install Docker CE on a Debian Stretch system using FAI (Fully Automated Installation). The official Docker documentation recommends that you install Docker using their package ...
1
vote
2answers
184 views

How to get the latest Tomcat version?

If one checks the Tomcat homepage then one could see some versions, but not only the latest. Off course I could parse the website and find the version, but I am looking for a Tomcat API that shows the ...
1
vote
2answers
103 views

Automated Docker swarm reinitialization and token distribution

Imagine you want to reset your Docker swarm from time to time. How do you distribute join tokens to those zillions of nodes? How much automation is possible here?
6
votes
1answer
1k views

Creating ansible host_vars and group_vars files dynamically

Is it possible to populate host_vars and group_vars with results from a database like we do in dynamic inventories? Actually I'm doing it inside my playbook either with lookups, either by using shell ...
2
votes
0answers
268 views

How to automate unit testing a UWP app?

I have a Universal Windows Platform (UWP) application, but I am having trouble testing it. First off, there seems to be some issue with running MSTest in the latest versions of Visual Studio (...
7
votes
1answer
130 views

IT staff sizing in the DevOps era - how and when would a DevOps team scale up?

Given that DevOps allows IT staff actually to downscale and do more through all the automation, what are limits to that? That is, what are rules of thumb - if there can be any - where you would know ...
4
votes
1answer
39 views

Automated Testing Jobs

We have multiple environments close to 7 for an application that has UI and also integration server that accepts SOAP xmls. Its hard to maintain the environment integrity when many people working, ...
4
votes
2answers
32 views

Parallelizing dependent CI subjobs

Imagine you have resources for a job which has part 1 and part 2. Part 2 requires part 1, but both take considerable time. And, part 2 requires part 1 only at the end. Would you start them both in ...
7
votes
2answers
351 views

Application to run PowerShell scripts

I've created a number of scripts in PowerShell that require a number of parameters to be manually entered. Unfortunately, until we have our Jenkins server setup to support these additional tasks I ...
4
votes
1answer
51 views

Workplace viewport scripting

Working with DevOps toolchains requires switching contexts between code, dashboards and command line terminals (local and remote). That is just for one project - and many of us work in more than one. ...
8
votes
1answer
1k views

What is Chef Automate

I've noticed that now most of the Supermarket's recipes are using Chef Delivery (aka Chef Automate). There is little information about it on their site, and it looks for me like it is a "pig in a poke"...
8
votes
2answers
232 views

Data Science pipelines and monolitic model blobs

Normally, one important topic in DevOps is how we take care of automated creation and delivery of software artefacts. With the rise of data science there is a new type of artefact - monolitic binary ...
1
vote
1answer
643 views

How to pass dynamic properties to an MSbuild task?

Is it possible to pass a dynamic property group to an MSbuild task? So if I have the following properties and values: <MyPropertyGroup> <Foo>bar</Foo> <Foo1>bar1</...
7
votes
1answer
697 views

Testing Jenkins jobs and pipelines

Currently, we have a fair number of Jenkins jobs and pipelines for builds, testing, deployments and other automated activities. Every time we change or add a new job, we only test it manually - e. g. ...
2
votes
0answers
57 views

Defining and processing high-level DevOps events [closed]

Every CI tool defines more or less "their" view on how integration and delivery can work, and every DevOps team (re)invents their specific way to support the business using these tools. But, how ...
0
votes
1answer
313 views

Is Gradle used to automate deployment of EAR and WAR files to application servers?

I'm getting a bit deeper into Gradle and want to further automate the process. Generally speaking what are the approaches towards interacting with application servers? I'd want to automate deploying ...
11
votes
1answer
163 views

What is recommended to document an IT technology stack, including their relationship to one another, in a graph database?

Working for a large company with over 500 IT staff and over a 1,000 servers, with each server running its own business applications, we have a tremendous information and co-ordination challenge in ...