@@Thetips4youI tried without writing .Gitlab-ci.yml also through command line build the docker image and pushed to container registy successfully Thank you so much
@@Thetips4you I have setup a windows runner with Shell executor. I am facing an issues where below is part of the Yaml file. image: name: justb4/jmeter:5.3 entrypoint: [""] jmeter_tests: stage: tests script: - mkdir testresults - /entrypoint.sh -n -t ./testname.jmx -l ./testresults.log -e -o ./testresults here is the errro: /entrypoint.sh : The term '/entrypoint.sh' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. ANy suggestions?
Hi I want to fetch image from container registry dynamically whenever a new image is deployed. How can we write it in gitlab-ci file can you please help me on this
You can use pull_policy to fetch image all time. Also set the latest tag if you want to get latest image. Check the gitlab ci documentation, you will get more details.
Thank you, this was very straightforward to follow along, would be nice to see a CI/CD version of the same tutorial.
Thank you. Please refer the gitlab ci playlist.
nice
Thank you
A very clear tutorial, thanks for the hard work!
You are welcome.
Great
Thank you
thanks, to be able to run those commands, we need to install docker on our local? please advise.
Yes, if you want to use docker commands, you do need to set up docker locally. You can check out my videos on docker for it.
Very helpful, thanks!!1
You are welcome.
No need to write a .gitlab-ci.yml file we can directly build an image through the command line and push it to GitLab container registry?
It should be possible.
@@Thetips4youI tried without writing .Gitlab-ci.yml also through command line build the docker image and pushed to container registy successfully
Thank you so much
@@vrk8s You are welcome
where are you running these commands?
Running on a linux system which is having docker configured.
@@Thetips4you I have setup a windows runner with Shell executor.
I am facing an issues where below is part of the Yaml file.
image:
name: justb4/jmeter:5.3
entrypoint: [""]
jmeter_tests:
stage: tests
script:
- mkdir testresults
- /entrypoint.sh -n -t ./testname.jmx -l ./testresults.log -e -o ./testresults
here is the errro:
/entrypoint.sh : The term '/entrypoint.sh' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
ANy suggestions?
Hi
I want to fetch image from container registry dynamically whenever a new image is deployed.
How can we write it in gitlab-ci file can you please help me on this
You can use pull_policy to fetch image all time. Also set the latest tag if you want to get latest image. Check the gitlab ci documentation, you will get more details.
"Container Registry" option not show in my GitLab. how to enable it?
Are you using your own installed GitLab instance?
@@Thetips4you Yes sir
You have to contact the adminstrator to enable it. If you are the admin you itself can enable it. Please check the GitLab documentation.
me too / do you find solution ?
@@mohammadjafari4521 Not found proper steps for enable "Container registry" option.
I have watched halfway though now it is showing PREMIIRES in 19 hours 😂
How come :). May be an issue from TH-cam. I have published it as premier for tomorrow. You can continue watching it tomorrow.
@@Thetips4you yeah may be some issue. Surely I watch
So could we push docker images remotly to a other server that contains gitlab???
If you can access the other server, yes