Skip to main content

Questions tagged [bash]

Most common system shell in Unix/Linux environments. Integrates very well with other softwares having a command line interface. Widely used in CI scripts and buildscripts.

0 votes
1 answer
68 views

(Was asked here, was closed because "not about programming or software development.") Situation: I have a Docker Compose setup with multiple containers from different images. I have Docker ...
fabpico's user avatar
  • 101
0 votes
1 answer
55 views

I want to understand how much disk space I have left on my virtual machine. I am running df -h and get results. Then to doublecheck I am running du -sh * to see which folders consume the space. I am ...
MiamiBeach's user avatar
1 vote
1 answer
118 views

I am adding a production deployment pipeline to a Bitbucket project. The YAML file is roughly image: php:8.2.20 pipelines: branches: master: - step: name: Deploying to ...
Yanick Rochon's user avatar
-1 votes
1 answer
2k views

I'm trying to unzip multiple files which has a prefix in common service1.zip service-2.zip service_3.zip and so on... Now, when I try to unzip all those files at once using the command unzip service*....
AV Reddy's user avatar
  • 101
1 vote
1 answer
380 views

GitLab offers a Project-level Secure Files, the API has you add this to your .gitlab-ci.yml, test: variables: SECURE_FILES_DOWNLOAD_PATH: './where/files/should/go/' script: - curl --silent ...
Evan Carroll's user avatar
  • 3,081
1 vote
2 answers
677 views

I have a block of code that work fine at the moment. But reuse that code is a little ugly. pipeline { agent any stages { stage('Stage 1') { steps { script { ...
navebinario's user avatar
0 votes
1 answer
277 views

I am trying to run the following command as part of a deployment in Gitlab. TIMESTAMP=$(date +%s) docker stack deploy --with-registry-auth --compose-file $(`printf "docker-compose.%s.unimark.yaml&...
CodeWeed's user avatar
  • 139
2 votes
1 answer
753 views

Is there anyway to allow the ports from CLI? I have an instance in GCP and I have installed a service which by default runs on Port:8080. I know there is an option to change the firewall rules to ...
AV Reddy's user avatar
  • 101
2 votes
1 answer
9k views

I'm trying to run a shell command in an ansible task but I keep getting an error. This is the task item and the shell command I want to run: - name: Set File Watch Limit ansible.builtin.shell: ...
learningtech's user avatar
1 vote
1 answer
2k views

In a Dockerfile, I'm trying to clone several Gitlab repositories that are specified in a file, one per line, using an access token passed as an environment variable set in docker-compose.yml: COPY my-...
dvilela's user avatar
  • 121
0 votes
1 answer
562 views

I have a simple node application running on the EC2 instance, everything is working just fine and I want to integrate this application with CircleCI for the continuous deployment. I have been ...
Mukul Kumar Jha's user avatar
2 votes
1 answer
14k views

This is my little newbie Groovy script, trying to cobble together a very beginner understanding of Jenkins Pipelines: node { stage("hello") { def var = "val" echo "${var}&...
StoneThrow's user avatar
3 votes
5 answers
16k views

I'm doing multi-platform builds with buildx and would like to know if there is a way to determine what platform is currently being build so I can avoid certain steps for certain environments. For ...
Tracker1's user avatar
  • 133
1 vote
2 answers
1k views

When I type git reset --help I don't get output in the bash terminal, but a new tab opens in my code editor to reveal some dense HTML. How can I change Git's behavior to display the help message in ...
Craig's user avatar
  • 11
1 vote
2 answers
75 views

This isn't a deploy related question, but I believe it belongs here. I've found out about the od tool yesterday, and began to fiddle with it. The question is about utf-8 encoding. See the examples: ~ $...
Niloct's user avatar
  • 121

15 30 50 per page