Great video! One thing that I would suggest is to make a different job name from the stage name so the new beginner won't get confused in the first place. Thanks for the good work!
@vdespa
4 жыл бұрын
Yes. That is a good suggestion. Thank you for pointing it out.
@geetanjalibharambe694
4 жыл бұрын
Really a nice video for the beginners like me. And i also had same suggestion. Keep different names so that it will be more helpful and easier to understand. Thanks.
@pepin55i5
4 жыл бұрын
thank you very much, i didn't know where to start, and like almost always wecan easily drown in the official documentation ... a quick exemple like this is really nice !
@far-red
4 жыл бұрын
im trying to make this work with an ASP.NET MVC to run of my local 'git runner', however this is the first time that such builds works thanks... giving me confidence to explore further..
@vdespa
4 жыл бұрын
Good luck in getting this to run! 💪
@chitizshrestha9846
5 жыл бұрын
Thanks for the tutorial, I am wondering whether you can do some of tutorial highlighting different mode of a runner (shell, docker, ssh etc.. ), It will be very helpful. Regards,
@babakmaraghechi2040
3 жыл бұрын
As they say in German "short but crisp". Good job! Thank you!
@vdespa
3 жыл бұрын
Thanks, Babak!
@simon_sysadmin
4 жыл бұрын
Great tuto, tnxs
@vdespa
4 жыл бұрын
Thank you! I appreciate that.
@cizzlen07
4 жыл бұрын
Awesome stuff. I really like Gitlab source control over the rest. Smooth easy and functional. Thanks for the tutorial!
@vdespa
4 жыл бұрын
Thank you! I like GitLab as well.
@prasannapadmanabhan423
2 жыл бұрын
Excellent demonstration of a Simple Gitlab CI Pipeline. Thank you very much.
@vdespa
2 жыл бұрын
Glad it was helpful!
@davidhiggzmusic
3 жыл бұрын
Thank you! Easy and simple Tutorial, way better then the original documentation :)
@vdespa
3 жыл бұрын
Thanks. I am glad it was useful.
@EdRandall66
4 жыл бұрын
Got me going, thankyou. Next hurdle, to understand different types of Runner, how to choose the right one and build using mvn.
@vdespa
4 жыл бұрын
I am glad this helped. I would suggest starting with the Docker runner.
@sukhendra100
4 жыл бұрын
Thanks Valentin. Very helpful.
@vdespa
4 жыл бұрын
Glad it was helpful!
@НиколайСладкий-н4к
5 жыл бұрын
Thank you so much, now I understand the artifacts was for.
@losoclub
5 жыл бұрын
It's useful to give jobs and stages different names so conceptually it's easier to understand, even if your job is "build_job" it clearly marks it as something different from the build stage.
@divyakasturi3770
4 жыл бұрын
This is great for an amateur!
@vdespa
4 жыл бұрын
Thanks
@arockdurai5110
2 жыл бұрын
Simple and easy to follow. Excellent presentation
@vdespa
2 жыл бұрын
Thank you, Arock!
@cesarniyomugabo3097
3 жыл бұрын
Good Job! Thank you!
@vdespa
3 жыл бұрын
Thanks 👍
@mihailkatsarov3209
4 жыл бұрын
Great tutorial and really great job Valentin!
@vdespa
4 жыл бұрын
Thank you so much, Mihail. I appreciate you leaving this comment.
@megatron741
5 жыл бұрын
Great tutorial. Easy to understand for beginners.
@abreurodrigo
4 жыл бұрын
Great video buddy, thanks!
@vdespa
4 жыл бұрын
You are welcome! Thank you for your comment.
@dingadong13
5 жыл бұрын
Very helpful and concise tutorial. Thanks!
@SuperMakoto13
4 жыл бұрын
Good intro to GitLab CI
@vdespa
4 жыл бұрын
I am glad it was helpful, Paul!
@CatherineKarena
6 жыл бұрын
Valentin, you really do have an awesome collection of useful, practical and informative videos
@issadevs
3 жыл бұрын
Great tutorial! Advancing it will be very helpful! Thank you!
@FelipeBarbosaGoogle
4 жыл бұрын
Thanks for the great tutorial
@vdespa
4 жыл бұрын
You are welcome! Thanks for commenting.
@VicenteMartinsvm
5 жыл бұрын
Thnx a lot! I was searching a basic guide how to config autodevops and your explanation help me a lot. Thankyou!
@VicenteMartinsvm
5 жыл бұрын
@@vdespa we work with web development in general. I did the config to a project using Laravel.
@recepozturk6711
4 жыл бұрын
Thank you man.
@vdespa
4 жыл бұрын
You are welcome!
@uimarshall6012
5 жыл бұрын
Great work!
@eyalpery8470
5 жыл бұрын
Very clear explanation ! Thank you!
@FanousHani
4 жыл бұрын
Good Tutorial Thanks!
@vdespa
4 жыл бұрын
I am glad it was helpful.
@rahulpandey6582
4 жыл бұрын
such a nice start for gitlab!! thanks
@sten6393
5 жыл бұрын
Very helpful video, I would like to see more about GitLab CI/CD tutorials from you!
@sten6393
5 жыл бұрын
Nice to hear, I plan to use GitLab for developing HTML, CSS, JavaScript and also PHP websites. And that it get pushed to a test to docker with every commitment that happens.
@hosseinsafari4319
3 жыл бұрын
Thanks a lot, you are amazing
@vdespa
3 жыл бұрын
Thanks for watching.
@AntJac-p5s
6 күн бұрын
Good video! Simple and clear explanation. I am shocked to see that this simple pipeline took 4:25 to complete though! :O
@vdespa
4 күн бұрын
You are welcome. Thank you for leaving a comment.
@MindfulnessCoachJagdishAhir
4 жыл бұрын
nice for start thanks
@vdespa
4 жыл бұрын
You're welcome. Let me know what else to cover about Gitlab.
@musicpitran6320
5 жыл бұрын
That's amazing. You bring me to GitLab CI world by a wonderful video. Thank you so much :P
@huynhthanh5207
4 жыл бұрын
Thanks for sharing. It's useful for me.
@user-hs3vx9og5o
2 жыл бұрын
Thank u so much for this guide! It coud be better if u tell about this commands and how it works :)
@vdespa
2 жыл бұрын
Thanks 👍 I went into more details on this on my GitLab course. Maybe this would be something for you.
@eugene_zah
4 жыл бұрын
Hi, @Valentin Despa. Thanks for your helpful video. Could you, please, shoot some videos about gitlab api and how to use it correctly?
@vdespa
4 жыл бұрын
Hi Eugene. Thanks for your comment. What would you like to do with the GitLab API. Can you give me an example?
@lakkireddysrinivasareddy6689
5 жыл бұрын
Good for very new guys, thank you
@duytuyeno5407
5 жыл бұрын
Good video. Thank you
@raghudatta94
5 жыл бұрын
Thanks you made my day!!
@malayaleeking
3 жыл бұрын
Sick tutorial bro! Thanks 👍
@vdespa
3 жыл бұрын
No problem 👍
@jacksonwang9308
2 жыл бұрын
Very nice and clean demo for beginners😀
@vdespa
2 жыл бұрын
Glad you liked it!
@ArtemMELNYK
4 жыл бұрын
Well done! This is a good explanation.
@vdespa
4 жыл бұрын
Glad you think so! Thanks for commenting.
@DhrumilSoni812
5 жыл бұрын
Thanks for sharing knowledge..!!
@rafaelmeirait
5 жыл бұрын
Thanks for sharring!
@jimbrent8151
5 жыл бұрын
Well done. Thank you.
@FessAectan
5 жыл бұрын
Thanks a lot! It was useful.
@kickmenot2
3 жыл бұрын
thanks for the "kiss"
@BrandingChangeYep
4 жыл бұрын
Good tutorial, maybe one thing would be to let people know you're going to be making an example that fails initially. At first I thought I did something wrong and wasted time checking around gitlab to see what happened.
@vdespa
4 жыл бұрын
Thanks Ryan. In real life scenarios, you don't know if sometimes will work or fail. But I understood you point.
@artgilbert5182
4 жыл бұрын
I had to setup a runner for my local installation of gitlab. It took 15 minutes. FYI to those running gitlab locally.
@vdespa
4 жыл бұрын
Thanks for letting me know.
@ojitelikenechukwu3895
Ай бұрын
Very helpful....thanks a bunch
@vdespa
Ай бұрын
You are welcome. Thank you for leaving a comment.
@mateomotriz
4 жыл бұрын
well first things first, absolutely great video i'm a beginner in the CI world and I've been documenting myself for several days now, but it's pretty dense; just one question, we didn't write any piece of code to select the image (which i understand as the docker 'file' we are using), so i assume gitlab is smart enough to use one of its shared runners right? which one would it be? thanks a lot
@vdespa
4 жыл бұрын
Great question, Mateo! On Gitlab.com, any job (if not configured differently) will use one of the Gitlab.com shared runners. The shared runner will get the Docker image specified from the public Docker repository (Dockerhub). This is why no code is needed. Even with other Docker runners, this will work the same. Does this clarify your concern?
@mateomotriz
4 жыл бұрын
@@vdespa yes, thanks a lot! but now i have another concern (dont kill me): i checked it and in my case the runner used the Ruby 2.5 docker image to build our yaml; i'm planning on trying to implement ci in three different projects (arduino/c++, vhdl, c), would these image features be enough to test my code with ci? sorry if i dont concrete more, but as i said im a total beginner and you are helping me a lot :p
@vdespa
4 жыл бұрын
@@mateomotriz Hi Mateo. Typically the Ruby 2.5 is the default docker image for the runners. You can specify any Docker image you need. Please refer to my Gitlab CI course which will most likely answer all your questions. Thanks.
@mateomotriz
4 жыл бұрын
@@vdespa thanks a lot!
@copypaiste
5 жыл бұрын
good one, thanks!
@kondareddyish
5 жыл бұрын
learned something Thanks
@thehumanchannel9004
4 жыл бұрын
Amaziiing!
@vdespa
4 жыл бұрын
You are welcome. Thank you for leaving a comment.
@БорисЮринов-ъ8ъ
2 жыл бұрын
thanks
@vdespa
2 жыл бұрын
You are welcome!
@akashshrestha01
3 жыл бұрын
great
@vdespa
3 жыл бұрын
Thanks!
@nicdddd
4 жыл бұрын
I found more questions like : "where are the directory build and the txtFile to find?" (default runner settings, default gitlab settings) And could not find any answer from @ValentinDespa. If you do not know, is allright, but pls tell us, in order not to hope to your ansere. Thank you
@vdespa
4 жыл бұрын
Hi, the main idea is that you should not care where they are. They are created inside a Docker container which is destroyed after the job is done. This is why, if you want to keep something, you publish this as artifacts.
@georgezviadgoglodze7810
5 жыл бұрын
Good job
@praseebkdas25
2 жыл бұрын
Can you prepare a video to enable Gitlab Pages in CE 14.5.0 in a fresh setup, it will be really helpful. ( docker or standalone setup anything is fine)
@vdespa
2 жыл бұрын
Thank you for you suggestion! I will look into that.
@JeanSergeGagnon
4 жыл бұрын
Thanks for great tutorial for beginners! What tools do you use to add arrows and zoom in while talking?
@vdespa
4 жыл бұрын
Thank you for your appreciation! These effects are added in post-production. In macOS you can simply zoom in with cmd + touchpad. You can add arrows or draw with a tool like DemoPro.
@rajiv0885
5 жыл бұрын
Great video!.. Thanks for Sharing. Is there any video which gives end to end process of integrating Jmeter to Gitlab ? If so could you please share.
@koolresearcher
5 жыл бұрын
can you please make same think with specific runner? otherwise create a specific runner with same job. looking to hear from you.
@shokhrukhabduahadov3985
5 жыл бұрын
Thank you good intro! Is there any more advanced examples?
@shokhrukhabduahadov3985
5 жыл бұрын
@@vdespa bro i dont have money to pay for course
@coronaupdates7289
2 жыл бұрын
hey bro can u teach us that how to run jmeter test plan from gitlab pleas
@prasadreddy9579
Жыл бұрын
Hi, May I how can get the artifacts like application generated logs ?
@jeenaparadies
5 жыл бұрын
Can you somehow share pipelines between components? For example most C++ components will have a cmake && make && make test structure and it wouldn't make sense to have copies of the pipelines en every git repo, but it would make sense to centrilize them.
@SaMGoesHaM1
4 жыл бұрын
Great tutorial! Do you by any chance know how to integrate Gitlab with Java? my .yml file is configured as below image: java:latest stages: - build - execute build: stage: build script: - echo "Building..." - javac src/Hello.java artifacts: paths: - src/ execute: stage: execute script: - echo "Executing..." - java src/Hello I am just uploading a project that says hello world. this program gives me the error that "could not find or load main class src.Hello". does anyone know what Im doing wrong?
@vdespa
4 жыл бұрын
Are you using maven or Gradle?
@SaMGoesHaM1
4 жыл бұрын
@@vdespa I didn't choose maven or gradle when i created my intellij project. It's a simple java default program without pom.xml or build.gradle
@vdespa
4 жыл бұрын
Make sure you have committed the Hello.java file and that you can see it inside the repository. Try ./src/Hello.java
@LarrySiden
2 жыл бұрын
Hey, you didn’t tell us how to install and configure the Gitlab runner. That’s a crucial step. Maybe it’s in another video. I haven’t explored the channel yet.
@vdespa
2 жыл бұрын
Use the shared runners from GitLab. That is the easiest way to get started.
@DanielDogeanu
5 жыл бұрын
Question: If you install something, via `npm install` or `apt-get`, do you have to remove those installing steps after you run your first job? Or does your pipeline image get regenerated every time it runs? I ask this question because I've seen it done on BitBucket, but it seems to fail on GitLab.
@TwoManArmyLP
4 жыл бұрын
Thanks for the tutorial, however, any idea why the first job hangs on "pending" for me?
@TwoManArmyLP
4 жыл бұрын
@@vdespa yep figured that out already but forgot to edit my comment. Thanks for the reply anyway, great content, keep it up :)
@RichardBuckerCodes
5 жыл бұрын
gitlab is great... just not sure about security
@vbessonow
3 жыл бұрын
what test -f does? It is bash command? I can run test -f in the terminal, but nothing happends
@vdespa
3 жыл бұрын
Yes, test is a Linux command/tool. See linux.die.net/man/1/test
@kmlopxyz
5 жыл бұрын
Does the image automatically pulled based on the project type? (e.g php, ruby, JavaScript)
@nayanlakhwani2088
4 жыл бұрын
How to configure .gitlab-ci.yml file in such a way that pipeline gets triggered only on push or merge to master branch? as of now it is getting triggered on any action to every branch.
@vdespa
4 жыл бұрын
You can use the only or expect modifier. See docs.gitlab.com/ee/ci/yaml/#onlyexcept-basic
@nayanlakhwani2088
4 жыл бұрын
Thank you
@rajaramesh8845
5 жыл бұрын
HI, where does the build directory creates?
@gibrankhan8232
3 жыл бұрын
How does docker gets involved in this, i did not see any configuration or integration of Docker in this...please help
@vdespa
3 жыл бұрын
There is a default Docker image that is used.
@shanebowen97
5 жыл бұрын
Valentin, how can you read in a file saved in your computer and use it in your pipeline? Thank you
@shanebowen97
5 жыл бұрын
@@vdespa Is there a method then that I can read that file in my .yml file?
@shanebowen97
5 жыл бұрын
@@vdespa It is just a simple python file that prints Hello World. I am just trying to test that file.
@vineeshhjhj
5 жыл бұрын
Thank you. Can you please make a video on how to run a test from Gitlab on BrowserStack cloud browsers?
@raghur3424
3 жыл бұрын
Hi,in Gitlab i have one stage Deploy i want to build login and push to ACR. how can we tag the latest image everytime i build an image it shld be get it a latest. can u tel me the command.
@AjeetSingh-ti2yg
4 жыл бұрын
Hi Valentin, Thanks for shearing the video ..... I have one Question .... i am automation Tester (selenium ,core java)and i want to implement CI but i have big numbers of code with Framework, how i will create YAML file please help me out for this concern ,there is some other way to create YAML file? ..Thanks:) Ajeet
@vdespa
4 жыл бұрын
I am not sure I fully understand your question. You need to manually create the file for your projects.
@AjeetSingh-ti2yg
4 жыл бұрын
Do you have any video, how to create YAML file for complex automation testing project? Thanks 😊
@vdespa
4 жыл бұрын
@@AjeetSingh-ti2yg I recommend taking a look at my course outline. See the link in the video description.
@SoloSyndicate
3 жыл бұрын
Where do the stages actually run though? I assume these 'build' and 'test' stages are executing code locally in this example but in application this is likely to be done in different environments. How can you tell and configure where these stages run?
@vdespa
3 жыл бұрын
The pipeline runs in Docker containers. This has nothing to do with the environments where you deploy the application.
@SoloSyndicate
3 жыл бұрын
@@vdespa Thanks for the reply. But my question remains.. What are these containers? Does gitlab choose a vanilla linux distro container by default? What if I need a specific container image with dependencies for each stage?
@vdespa
3 жыл бұрын
@@SoloSyndicate Yes, they are Linux containers. You can specify one for each job. Have a look at my course, i think you could benefit from it.
@darronbrown2119
5 жыл бұрын
CI /CD option isn't available in my GitLad repo. Any suggestions?
@kosterix123
5 жыл бұрын
next time take note of gotchas. Pause a bit longer on the working code (6:01). Otherwise good instruction.
@marwanghabin8758
4 жыл бұрын
could you please add deployment to kubernets in this udemy course ?
@vdespa
4 жыл бұрын
Thanks for your suggestion. I will look into this.
@rimjhim4278
5 жыл бұрын
where is the folder "buiild" create ? I could not find it in the repo
@ichrakzouari5171
3 жыл бұрын
thanks for the tuto but I have an error '' Pulling docker image gitlab/gitlab-runner-helper:x86_64-7f7a4bb0-servercore2004'' failed can you help me please ?
@vdespa
3 жыл бұрын
I recommend using GitLab.com and their shared runners if you are just getting started with pipelines.
@Anshulmishra160
5 жыл бұрын
Please post Gitlab ci for AWS also for code deploy
@hrudhayd9095
5 жыл бұрын
@@vdespa Can we Deploy the build after testing into environments created on AWS?
@hozzer
5 жыл бұрын
@@hrudhayd9095 That would be so helpful
@TimRubel
2 жыл бұрын
How do I publish the project?
@peytonhanel7059
5 жыл бұрын
When mkdir build is called, where does that directory go? It is not in the rest of my files on gitlab.
@peytonhanel7059
5 жыл бұрын
@@vdespa yes, thank you.
@peytonhanel7059
3 жыл бұрын
@@mister_walter_sobchak Thank you
@9930527194
5 жыл бұрын
so i need to host my webapp before running it in ci cd pipelines or gitlab need to be installed on same server !
@9930527194
5 жыл бұрын
@@vdespa no its a question in essence there are only 2000 push/trigger free for self hosted solution correct
@duytuyeno5407
5 жыл бұрын
How can i deploy Gitlab CI/CD with Jenkins ? Do you have guideline ?
@duytuyeno5407
5 жыл бұрын
@@vdespa i mean we have once Jenkins server to do build,test,deploy applications with Gitlab, so how can i do it ?
@StEvUgnIn
3 жыл бұрын
I can't get any runner to work... I am on my school's gitlab and we have one shared runner that won't work...
@vdespa
3 жыл бұрын
If you are just learning GitLab CI, use the shared runners that GitLab.com offers.
@marcelbrode3837
4 жыл бұрын
I thought it was a tutorial, but at the end of the video, the music told me its a kickstarter project
@vdespa
4 жыл бұрын
🤷♂️
@YamiSuzume
4 жыл бұрын
@@vdespa :D
@tavir0411
4 жыл бұрын
This GitLab CI configuration is invalid: (): mapping values are not allowed in this context at line 7--what's wrong ..just copy pasted what you typed
@vdespa
4 жыл бұрын
You need to pay attention to the indentation.
@adityapancholi4708
5 жыл бұрын
Hey. I want to know how to setup pipeline for PHP codeigniter project. looking to hear from you.
@davidchalon5466
5 жыл бұрын
Hi super starting demo. Have you infos to create jobs on self hosted gitlab (testing in demo vm currently) for sysadmin bash shell scripts. I have only à Shell-runner with shellcheck command now and no other test, nor CD tasks. Wanna go further to make a demo to other admins and some "dev" that near even't don't use basic git or issue management...
@davidchalon5466
5 жыл бұрын
@@vdespa i start to use gitlab for shell scripts only currently. (bash), because i don't do dev in other langages now. I have find only 1 task in ci : shellcheck, a linter. I'm looking for more tasks to add, in CI or CD, with this case. Goal : see if i can have more helping tools, even on simple admin shell scripts. And to make a demo for other users and try convince them to try gitlab, even for small internal projects
@davidchalon5466
5 жыл бұрын
Where i am, there is. Many People coding small to medium codes, but without développer methods. Even sometimes without vcs or Issue.... I thnik i could help them
@zehrenics
3 жыл бұрын
Where is the folder build/ created?
@vdespa
3 жыл бұрын
Inside the Docker image that the GitLab runner has created.
@BrunoCostaDeMatos
6 жыл бұрын
Valentin you know resolve this error? mesg: ttyname failed: Inappropriate ioctl for device bash: line 55: export: `1=yes': not a valid identifier ERROR: Job failed: exit status 1
@BrunoCostaDeMatos
5 жыл бұрын
@@vdespa okay, I'll try to figure it out for myself. Thanks for the video.
Пікірлер: 234