Most Popular

1500 questions
5
votes
3 answers

How to create Golang Linux binaries using a Windows host

When go build is issued on a Windows host a .exe binary is created. How to ensure that a Linux binary is created on a Windows host? The following was tried, but did not solve the issue: GOOS=linux;go build hello-world.go
030
  • 13,235
  • 16
  • 74
  • 173
5
votes
1 answer

How to automate TeamCity installation using docker?

JetBrains TeamCity docker image describe build steps for already installed TeamCity. Is there any way to automate installation of TeamCity it-self? For example creating the admin account, enabling standard authentication and setting up the project?
kenorb
  • 7,841
  • 12
  • 40
  • 77
5
votes
1 answer

Where does TFS 2017 actually store artifacts?

We had been using a TFS build process that copies build output to some fileshare for later use. But with TFS 2017 we want to use that fancy "Publish Artifacts" build stage that has the TFS server provide a .zip file of the artifacts via the RESTful…
Aaron
  • 51
  • 1
  • 2
5
votes
1 answer

How to send SMS through AWS?

Can we send SMS through AWS for the below case? I have an application installed on Ec2 and that application runs few rules and may send SMS to end users if the rule conditions are met. I wanted to integrate it with some SMSC and thought of giving a…
lakshayk
  • 636
  • 1
  • 4
  • 8
5
votes
1 answer

k3s: The connection to the server localhost:8080 was refused - did you specify the right host or port?

When I run any kubectl commands, I'm getting The connection to the server localhost:8080 was refused - did you specify the right host or port?
Evan Carroll
  • 2,091
  • 3
  • 22
  • 65
5
votes
0 answers

Does the GitHub Container Registry provide something like a Deploy Key?

Currently I push to the GitHub Container Registry (GHCR) with my Personal Access Token. Is there a method to deploy a PRIVATE project "GitHub Container Registry" such that a token will only have access to specified images rather than all of my…
Evan Carroll
  • 2,091
  • 3
  • 22
  • 65
5
votes
5 answers

Bad edit to sudoers file on EC2 instance, how to fix it?

While writing a script to edit the sudoers file without using visudo, the script did not check for issue, and I have introduced some bad edits into the sudoers file, and thus cannot use sudo at all anymore. (I know I did a very bad thing, and should…
Adonis
  • 153
  • 1
  • 7
5
votes
1 answer

Wordpress on AWS, how to update only a theme

In order to setup a flow from developer code to a public URL, I've been testing some flows and the current one does not work that good: I have an AWS Pipeline that picks up the source code from CodeCommit, builds the Sage Theme using gulp and…
balexandre
  • 151
  • 3
5
votes
5 answers

How to correlate Devops deploy on demand with Agile Sprint Process

I'm not clear how a Sprint which is timed-box to a predetermined length (1/2/3 weeks) fits with a DevOps principle of being able to deploy on demand or as needed. Is deploying to production part of the definition of done rather than a post activity…
Beaux
  • 51
  • 3
5
votes
2 answers

How to automate Powershell's interactive Get-Credential method?

I am trying to write a python script which automates the powershell's Get-Credential method. Here is something i wrote: import subprocess COMMAND_LINE = 'powershell' powershell = subprocess.Popen(COMMAND_LINE, shell=True, …
Vivek Lohiya
  • 51
  • 1
  • 2
5
votes
1 answer

How to set CloudWatch alarms for non-compliancy in AWS Config rules?

I have a set of rules in my AWS Config dashboard. And, I want to set a AWS CloudWatch alarm to be triggered whenever Config detects non-compliant resource(s). [The plan is to link that alarm to an SNS topic for sending out emails to the team for any…
Dawny33
  • 2,816
  • 3
  • 23
  • 62
5
votes
1 answer

Ansible no user $HOME by default - so how do I run commands

I have thousands of servers that, by default, for security and space do not create a $HOME when you ssh in. This seems to be posing a problem for Ansible as it keeps trying to chdir to home that does not exist. Can I get Ansible to use another…
eekfonky
  • 151
  • 4
5
votes
1 answer

Is it possible to combine jinja templates in ansible like this is possible with erbs in puppet?

It is possible to include a subtemplate in another Puppet template. <%= scope.function_template("subtemplate.erb") %>
030
  • 13,235
  • 16
  • 74
  • 173
5
votes
2 answers

How to test the CI/CD pipeline itself?

I have gitlab CI/CD defined through .gitlab-ci.yml. It runs different jobs if the pipeline is triggered manually, from a merge request or from a scheduled pipeline. It accepts a bunch of environment variables used to modify some job behaviors or…
John Doe
  • 71
  • 2
5
votes
1 answer

CasC with Bamboo

While trying to get a clear picture how to setup a seamless CasC (Configuration as Code) build and deployment plan management, I have to admit that I get quite puzzled. Is the following (subjective) ideal scenario possible? Users can manage their…
Ta Mu
  • 6,772
  • 5
  • 39
  • 82