Automated testing with DevOps using Gitlab-runner, Sonarqube, Storybook and Playwright

  • TTDG32
  • Classroom
  • Fundamental
  • Thai | 0
Digital Technology

ในปัจจุบันมีการทำ ci/cd นั้นจำเป็นที่จะต้องมีการทำ automate test ซึ่งในรูปแบบการทำ automate test นั้นมีหลายหลายรูปแบบซึ่งในหลักสูตรนี้จะเป็นการนำรูปแบบของการทดสอบในแต่ละมุมมาใช้งาน

Course description

Time
Days :
3 Day(s)
Duration :
18 Hour(s)
Time :
09:00:00 - 16:00:00
Training Date :
16-18 December 2024
Status :
Open Register
Instructor
Language :
Thai
Venue
Venue :
Software Park Training Room 3rd floor, Software Park Building Chaengwattana Road, Pakkred
Type :
Classroom
Automated testing with DevOps using Gitlab-runner, Sonarqube, Storybook and Playwright

DevOpsคือรูปแบบวิธีการปฏิบัติ วัฒนธรรม และกระบวนการต่าง ๆ เพื่อแก้ไขปัญหาที่เกิดจากความขัดแย้งระหว่าง Development และOperations ดังที่กล่าวมาแล้วในหัวข้อด้านบน รวมถึงช่วยเพิ่มประสิทธิภาพในการทำงานให้สามารถผลิต software ออกสู่ตลาดได้รวดเร็วขึ้น มีคุณภาพและเสถียรภาพมากขึ้น ในขณะที่ cost ลดลง เพื่อให้บริษัทสำเร็จตามเป้าหมายที่วางไว้

หัวใจสำคัญในการประยุกต์ใช้งาน DevOps ในองค์กรคือการท า CI/CD โดยการท า CI/CD นั้นมีเครื่องมือที่สามารถทำงานแบบ automateหลากหลาย เช่น Jenkins, Circle CI เป็นต้น

ถ้าหากในองค์กรเรามีการใช้ Gitlab แบบ on-premise อยู่แล้วการนำ Gitlab-Runner มาเป็นตัวช่วยในการทำ CI/CD ย่อมเป็นตัวเลือกที่ดีกว่า ทั้งในด้านการบริหารจัดการ การ Monitor และการ setup

ในปัจจุบันมีการทำ ci/cd นั้นจ าเป็นที่จะต้องมีการทำ automate test ซึ่งในรูปแบบการทำ automate test นั้นมีหลายหลายรูปแบบซึ่งในหลักสูตรนี้จะเป็นการนำรูปแบบของการทดสอบในแต่ละมุมมาใช้งานอันได้แก่

  • Gitlab Runner เป็นเครื่องมือสำหรับทำ ci/cd
  • SonarQube เป็นเครื่องมือสำหรับการทำ Code Review (Code Quality)
  • Storybook เป็นเครื่องมือสำหรับการทำ Component Test สำหรับการทดสอบ front end เช่น React, Angular, Vue
  • Playwright เป็นเครื่องมือสำหรับการทำ End to End Testing

Who Should Attend (กลุ่มลูกค้าเป้าหมาย):

  • นักพัฒนาระบบ
  • นักออกแบบระบบ
  • ผู้ดูแลระบบ

คุณสมบัติของผู้เข้าอบรม

  • มีความเข้าใจในการพัฒนาระบบงานไอทีเป็นอย่างดี
  • มีความรู้ในการเขียน script อย่างง่ายได้

  • เพื่อเข้าใจหลักการทำงานของ DevOps
  • เพื่อเรียนรู้และใช้เครื่องมือประกอบการพัฒนาระบบแบบ DevOps
  • เพื่อเรียนรู้การใช้ GitLab
  • เพื่อเรียนรู้การใช้ GitLab Runner
  • ฝึกปฏิบัติการใช้คำสั่ง git ขั้นพื้นฐาน
  • ฝึกปฏิบัติเขียน script ส าหรับ gitlab-runner เพื่อการทำ ci/cd
  • ฝึกปฏิบัติการตั้งค่า sonarqube เพื่อรองรับการทำ code review
  • ฝึกปฏิบัติการอ่านค่าของ sonarqube
  • ฝึกปฏิบัติการ monitor การทำงานของ gitlab-runner ในแต่ละขั้นตอน
  • ฝึกปฏิบัติการเขียน script ของ Stroybook เพื่อทำการทดสอบ Front-end framework เช่น React
  • ฝึกปฏิบัติการตั้งค่าการทำ automate test ด้วย playwright
  • ฝึกปฏิบัติการทำ code coverage และการอ่านค่า

Day 1

  • Introduction to DevOps
  • Gitlab Server Selfhost Installation guide
  • Continuous Integration and Continuous Deployment
  • Source code repository with GIT
    • Configure tools
    • Create repositories
    • Make changes
    • Group changes
    • Refactor filenames
    • Suppress tracking
    • Review history
    • Synchronize changes
  • Workshop
    • Create repository on Gitlab Server
    • How to push source to Gitlab Server Repository
    • How to use markdown
    • How to create new branch
    • How to use issue for software life cycle management process
    • How to use wiki for knowledge sharing process
    • How to use merge request process

Day2

  • Docker
  • Get Started with Docker Technologies
  • Comparing Containers and Virtual Machines
  • Containers and Virtual Machines Together
  • Docker engine
  • Docker Architecture
  • Docker command
  • Docker Network
  • How to create own docker image with Dockerfile
  • Docker compose
  • Remote manage docker with docker machine
  • Deploy application with Kubernetes
    • Introduction to Kubernetes
    • What is Pod, Deployment, Service, Ingress
    • Kubernetes Command
    • Deploy application with Kubernetes manifest file
  • Workshop
    • How to create Dockerfile for build custom docker image
    • How to remote development
    • How to debug custom docker image
    • How to push custom docker image to Docker Registry
    • How to create deployment, service, ingress script for Kubernetes

Day 3

  • Gitlab Runner
    • DevOps Gitlab
    • Getting started with Gitlab Runner
    • Continuous Integration with Gitlab Runner
    • Continuous Inspection with Gitlab Runner
    • Continuous Delivery with Gitlab Runner
  • Distributed Builds
    • Workshop
    • How to register Gitlab runner agent for build, deploy process
    • Gitlab runner script template (.gitlab-ci.yaml)
    • How to run the script on the desired agent
    • How to run the script only branch
    • How to register Gitlab runner agent on Kubernetes Cluster

Payment can be made by:

  1. Cash or Credit Card or Bank Cheque payable to
    สำนักงานพัฒนาวิทยาศาสตร์และเทคโนโลยีแห่งชาติ or National Science and Technology Development Agency
    (a post-dated cheque is not accepted) on the first day of the service or within the last day of the service.

  2. Account transfer and send the proof of the payment (the deposit slip) via email  patsorn@swpark.or.th

    • ธนาคารกรุงเทพ สาขาอุทยานวิทยาศาสตร์
      Saving Account Number: 080-0-00001-0
      Account Name: สำนักงานพัฒนาวิทยาศาสตร์และเทคโนโลยีแห่งชาติ

    • ธนาคารกรุงไทย สาขาตลาดไท
      Saving Account Number: 152-1-32668-1
      Account Name: สำนักงานพัฒนาวิทยาศาสตร์และเทคโนโลยีแห่งชาติ

Notes:

  • Withholding tax (3%) is exempt.
  • Should you need to withdraw, you must send the notice of the withdrawal in writing no later than 7 working days before the commencement date. The cancellation less than 7 days will be subject to a fine of 40% of the fee.
  • Software Park Thailand reserves the rights to cancel courses due to unforeseen circumstances.

Contact Person

For more information, contact our course coordinator on:

คุณภัสสร พรทิพย์

Ms. Patsorn Pornthip

Tel: +66-2583-9992 Ext. 81422

Email:  patsorn@swpark.or.th

You are encouraged to use the course schedule as a guide to plan your training.
The schedule is accessible at www.swpark.or.th for more information. 


เพิ่มเพื่อน

12,000 THB .

สำคัญ!!! กรุณารอการยืนยันเปิดการอบรมจากเจ้าหน้าที่ก่อนการชำระค่าลงทะเบียน

Enroll now

Course Detail :
Days :
3 Day(s)
Duration :
18 Hour(s)
Time :
09:00:00 - 16:00:00
Training Date :
16-18 December 2024
Status :
Open Register

Instructor info
avatar
Mr.Sommai Krangpanich