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.

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

Getting an Error . On using power-shell command to copy file/folder from Local system to Azure file share: Set-AzureStorageFileContent

To copy the folder/file from my local system to Azure File Share , i used below command:- Set-AzureStorageFileContent -Context $AzureStrContext.Context -ShareName sync-logs -Source $sourceDirectory -...
0
votes
0answers
5 views

Manage build dependencies in GitLab but not through triggers

What I have found out so far in GitLab, there is a "push notification" method through a trigger. If A is done, it triggers B. But if B* is a class of jobs dependent on A, how to tell every B to "...
0
votes
0answers
5 views

Running COM object from Jenkins as a Windows service

I am trying to set up a Jenkins slave running as a Windows service, so that it starts automatically and can be managed remotely for updates, restarts, etc. This works well but I am not able to build ...
0
votes
0answers
14 views

High-level initialization/deployment options

What are the existing options for high-level initialization and deployment of the infrastructure needed for containerized environments? For the sake of an example, lets say I want to end up with a ...
0
votes
0answers
11 views

Expanding recipes via the Chef REST API

Through the Chef API (or a convenience wrapper like PyChef) it is easy to get the run_list for a server, which comes as unexpanded roles, e.g. the very top level. Then obviously it is easy to recurse ...
0
votes
2answers
42 views

How do I configure Jenkins to trigger on a pull request based on the Git branch's name?

I want pull requests to Git where the target is master and the source has a string "foo" to trigger a Jenkins build. If this string "foo" appears in the source branch's name when there is a pull ...
0
votes
0answers
9 views

How to enable “Detect Drift” feature in AWS Cloudformation through the Cloudformation Templates or other Automation process?

I have been deploying infra through AWS Cloudformation templates. It is all automated through a CICD pipeline. Now, AWS has recently introduced "Detect Drift" feature that identifies the AWS ...
2
votes
0answers
21 views

Update Service Hooks in TFS2015 through Jenkins Job

Is there a way to modify what branch a service hook is monitoring through a Jenkins job? Our build jobs within Jenkins are triggered via service hooks within TFS. When we branch, inevitably we ...
4
votes
1answer
84 views

Building a CI/CD pipeline on GCP

I have a containerized web application on GitHub and I would like to build a CI/CD pipeline on GCP consisting of a trigger stage, a build stage and a deployment stage and be able to do continuous ...
0
votes
1answer
38 views

Automated testing of machines built using Vagrant+Ansible

What are the options for validation and testing of virtual machine built using Vagrant and Ansible? I have a set of tasks that need to be complete-able using a specific machine. Testing right now is ...
1
vote
1answer
19 views

How to have kubernetes (re)build containers on deployment similar to openshifts ImageStream

I am currently investigating how to manage the containers for our new data-processing pipeline. What I would like to do is to be able to have whatever tool I choose rebuild the docker images when I ...
0
votes
0answers
9 views

Performance test - simulate multiple users activity through RobotFramework on AWS

I am wondering what would be the best way to provision this, are there any terraform/provisioners setups that can be used. Also is it possible to achieve this on a single dockerized Windows host. My ...
0
votes
0answers
19 views

Build custom Linux distro ISOs with Docker?

Is it actually possible to use Docker containers as build environments for popular Linux distros like Ubuntu, Debian, CentOS, CoreOS or will be there some limitations? That is, output would be an ...
0
votes
1answer
26 views

how to run an Ansible command for specific number of hosts

I am new to Ansible and i have a question about limitting hosts in a host group at running commands.I have these host groups in my inventory: [primary] host1 host2 [standby] host3 host4 ...
0
votes
3answers
20 views

Is there any Selenium-like software for executables?

I have some app I want to test i.e. it has a window opening up and I want to press some of the buttons and fill in some text boxes, and I need to do the same process multiple times. I heard about ...
0
votes
1answer
19 views

AWS Automation Document Run Steps Against Different Servers Targeted By Tag

As the title describes I want to execute a step against a resource, but I want to specify that resource not by resource id but by tags, I have tried with the below example, but it doesn't work. What ...
0
votes
0answers
23 views

How can I automatically tag master branch after pull request has been rebased and merge on github?

On pure every new code goes by a PRs, once reviewed and TravisCI pass, we use “Rebase and merge” method to merge the PR into master branch. We use a dedicated commit to mark a new version, with ...
0
votes
3answers
57 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
42 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
36 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
41 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
40 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
65 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
2answers
122 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
25 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
69 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
42 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
52 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
40 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
81 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#...
4
votes
4answers
197 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
81 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 ...
9
votes
1answer
764 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 ...
10
votes
1answer
1k 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
3k 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 ...
5
votes
1answer
2k 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
35 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 ...
5
votes
2answers
2k 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
1k 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 ...
4
votes
2answers
595 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
191 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 ...
4
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 ...
-2
votes
2answers
95 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
2answers
120 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
21 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? ...
4
votes
1answer
567 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
45 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 ...
2
votes
2answers
350 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
138 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?
5
votes
1answer
2k 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 ...