Today there are more and more continuous integration tools , The benefits given to individual developers are also sufficient , If not necessary , Sometimes, self built tools are just for practicing .

Numerous continuous integration tools

There are many continuous integration tools available today , All major cloud service providers have launched continuous integration , Even within certain conditions, it is free to use .

  • Azure DevOps Provide monthly 1800 Minutes of free time , Support single project parallel construction ,5 People here .
  • GitHub To launch the GitHub Action monthly 2000 Minutes of build time .
  • Huawei cloud DevCloud Provided compilation build 5 Concurrent , monthly 600 minute ,5 People here .
  • Gitee Launched Gitee Go A single code warehouse is directly available 200 Minutes free build time , Permanent validity ! Enterprises / organization / Individual monthly 1000 Minutes of free construction time will be automatically paid .
  • Tencent cloud and Coding Cooperative Coding DevOps, initial stage Coding Provide 5 Free for people below , Once a week 200 Times of continuous integration , Each time limit 30 minute , Number of parallel tasks 1 individual , The intermediate changes to monthly 1000 Minutes continuous integration duration , Now Change after July Until every month 300 minute
  • Ali cloud, Cloud effect DevOps Maximum concurrent tasks  6, Run time  5400 minute / month . There is no limit to the number of people !

The function of cloud effect

Cloud effect DevOps The following functions are available in , Among them, we can compare and select according to the tools used in the actual development .

here , I just want to use the pipeline for continuous integration construction Docker Mirror image . about Docker Storage of images , Alibaba cloud provides Container image service ( It also has the function of image construction , But limited ). For individual developers to practice or small and micro enterprises to store images, they should be satisfied .

For code storage , You can choose cloud effect DevOps Code management for (CodeUp) Or other platforms , This does not affect pipeline functionality .

such , The functions required for a simple continuous integration process are complete .

Project settings

Account registration 、 Don't mention the application , Specifically, how to quickly complete the configuration of a continuous integration process .

1、 First, create a new project in the code warehouse , The choice of a code warehouse is arbitrary , I prefer to use Gitee, Of course, you can also directly use the code warehouse provided by cloud effect . A new warehouse is created here for comparison : https://gitee.com/530521314/Partner.TreasureChest/tree/master/Flow.Standard

2、 newly build AspNetCore WebApi Project and add Dockerfile、gitignore file , Organize into common catalog forms .

Container image service settings

1、 Create a namespace (3 Namespaces coexist 300 A mirror warehouse )

2、 Create a mirror repository , Select the corresponding namespace , Fill in the warehouse information .( The image warehouse stores specific images )

3、 In the next step, select a local warehouse and create it .

4、 After creation, it will be guided to the warehouse , After the pipeline runs, select the image version to view the built image .

Cloud effect pipeline configuration

Start using assembly lines

New assembly line , You can select by language category , Here I use an empty template .

Set pipeline source step

After page Jump, you will be prompted to select code source , Here I use Gitee Warehouse in , Select branch , Can be added to .

Add image construction steps

1、 Click the empty task to change it to image construction ( Or some other name )

2、 Add task steps , There are many steps to choose from here , Currently, build and push to the personal version of the image warehouse

3、 After selection, you will be prompted to fill in the address of the image warehouse , This address is the container image service address in the previous step , Choose the region , Mirror warehouse .

4、 Configure the target image version , The default is to use the date as the mirror label .

5、 Set up Dockerfile The position of , here Dockerfile Is the storage location in the code warehouse , If it is a pure project and a warehouse , Then put "Flow.Standard/" Delete this section .

6、 Save and run directly , It will start to build

View the built image

Can be found in Container image warehouse View the built image in , As for the deployment of images , No more narration .

More than that

The use of pipeline is very simple , It also provides many functions , All kinds of notices 、 Test build 、 The direct deployment and so on are all through , It's highly integrated , It's very powerful . Cloud effect itself provides many integrated products , We can use a few of them , It can also carry out project construction based on cloud effect . For individual developers or small and micro enterprises , It feels like a great welfare ( For the moment ).

2022-06-25, I hope I can come back to see my own steps after the technology is completed

AspNetCore& Cloud effect Flow More articles on continuous integration

  1. How to use cloud effect Flow Complete automated deployment — Host deployment

    How to use cloud effect Flow Complete automated deployment - Host deployment , Cloud effect assembly line Flow It is the carrier of continuous delivery , By building automation . Integrated automation . Validation Automation . Deployment automation , Complete continuous delivery from development to launch . By continuously providing timely feedback to the team , Let delivery ...

  2. How to use cloud effect Flow Do quality inspection , Ensure high quality delivery speed

    Use the cloud effect Flow Do quality inspection , Ensure high quality delivery speed , Cloud effect 「Flow」 Provide code scanning . Security scanning and various automated testing capabilities , Support manual test of card points . Automatic verification of card points and other quality red lines , Ensure business quality . Cloud effect assembly line Flow flow ...

  3. How to use cloud effect Flow Complete automated build — Build clusters

    How to use cloud effect Flow Complete automated build - Build clusters , Cloud effect assembly line Flow It is the carrier of continuous delivery , By building automation . Integrated automation . Validation Automation . Deployment automation , Complete continuous delivery from development to launch . By continuously providing timely feedback to the team , Let delivery ...

  4. Video cloud SDK iOS Continuous integration project practices

    1. Preface 2016 year , We maintain iOS Push and play fusion SDK KSYLive_iOS stay github It was released on 40 Multiple versions , An average of two weeks to release a new version , Experienced the initial pain of full manual version build and maintenance , Later, it was slow ...

  5. Cloud effect Flow How to implement Alibaba cloud ECS Multi environment release

    One . background Cloud effect Flow Implement Alibaba cloud based on the tag function ECS Multi environment release , In the process of software development and deployment , Our software often needs to run in different operating environments , for example : Developer local development environment . Test team's test environment . There are also production environments and production environments ...

  6. Embrace Automation ,CODING 2.0 Continuous integration and new launch

    Before the article begins , Do a little research , How long does it take on average to integrate a new line of code into your software project ? 15 minute An hour Half day One day or more Note that integration here means putting the source code together , And verify that the source code can be used as a consistent . The process of running reliable software ...

  7. Cloud effect x nailing : Make R & D easier

    Cloud effect x nailing : Make R & D easier , rush about telling the news around spreading , Cloud effect & Nail integration to achieve organizational structure . Member synchronization and message notification ! We know that cloud efficiency is committed to intelligence . Safety traceability . Efficient . Simple . flexible ,「 Cloud efficiency is a new generation of enterprise class DevOps platform 」 Alibaba cloud ...

  8. What is cloud effect continuous integration ? How they relate to Jenkins Continuous integration ?

    What is cloud effect continuous integration ? How they relate to Jenkins Continuous integration ? Cloud effect assembly line Flow It's an enterprise class . Automated R & D delivery pipeline , Provide flexible and easy-to-use continuous integration . Continuous verification . Continue to release features , Help enterprises with high quality . Efficient delivery of business . ...

  9. AspNetCore&Coding Continuous integration

    For many existing continuous integration tools , More and more advanced functions , Used Coding For more than half a year , The more you find it easy to use , Especially when there is no money to renew the server , Found new wool . One . Numerous continuous integration tools There are many continuous integration tools available today , All major cloud service providers ...

  10. CI Weekly #20 | From the perspective of continuous integration “ cloud ” The value of

    Many mobile development engineers are interested in fastlane for having heard it many times , lately flow.ci Of iOS workflow 「 compile 」 This step has been adopted fastlane gym Tools (iOS Apply packaging signature Automation ), Further optimize the build packaging speed . fast ...

Random recommendation

  1. php File lock

    When written as LOCK_EX lock And Read as LOCK_SH It is most appropriate to lock , After testing , The situation is as follows : 1, First run w.php, Right away r.php after The program will wait for writing before reading 2, First run r.php, I will go to the sub branch immediately w.php ...

  2. HBase Warehousing tuning

    This article only aims at “ Micro cluster processing big data ” Scene . Scene description : Hardware :5 Nodes , Hard disks are available for each node 1 block (700G.500G etc. ).8 nucleus cpu, Laboratory environment ( Sometimes you have to run other programs to seize resources with you ),16G Memory . Software :h ...

  3. Linux Add a new hard disk to mount the hard disk automatically

    Linux Add a new hard disk and mount it automatically 1. Insert a new hard disk , start-up Linux The server , Use fdisk -l Check out the hard disk #fdisk -l Disk /dev/sdb: 1000.2 GB, 1000204 ...

  4. [ Tool development ] Perl Crawler script -- Capture real-time information from the US national vulnerability database

    One . brief introduction The US national vulnerability database collects operating systems , A large amount of vulnerability information of application software , When a new vulnerability appears , It will also be released in time . Because of the amount of information , Users need to search its website every time , More trouble . If I could have a tool , Analyze it automatically every day ...

  5. Commonly used on the website 30 individual jQuery plug-in unit

    jQuery Plug ins are web designers' favorite . From the image slider , Image gallery and navigation plug-in , They are so numerous , So diverse , So amazing and interactive can be made to beautify the website . At the end of this paper, we are 30 In plug-ins , I think it must be used in website construction . Of course, you may not be good at it right now ...

  6. automated testing ( Two ) unit testing junit Of Test The reason why the annotation can't be used suddenly and the solution

    As someone new to automated testing , Only then did I know that unit testing used to be very particular . I'll plug it ,Test Annotation error reporting , There's no reason ~ It was good before , How could this happen ~ Here's why , I created a new Test class , Wrong name , No wonder the hint Test Not annotations ...

  7. Microsoft Store Application installation path and application recommendation —— How to use Linux Command control windows

    I am a cnblog Adorable new , A rookie who just learned programming , This is my first blog post , Please spray lightly Microsoft store The installation path : I believe many people have obsessive-compulsive disorder just like me , It's uncomfortable if the file can't find the installation directory . I couldn't find it on the system disk at first Wi ...

  8. Spring ApplicationListener Usage and problems

    Use scenarios In some business scenarios , When the container is initialized , Some operations need to be handled , For example, some data loading . Initialize cache . Registration of specific tasks, etc . At this time we can use Spring Provided ApplicationListener Come on ...

  9. About Spring IOC (DI- Dependency injection ) Everything you need to know

    Related articles :  About Spring IOC (DI- Dependency injection ) Everything you need to know   About Spring AOP (AspectJ) Everything you should know <Spring Introductory classic > This book is not only for beginners but also for ...

  10. Object oriented design principles Principle of single responsibility (Single responsibility principle)

    Principle of single responsibility (SRP:Single responsibility principle) Also known as single function principle , One of the basic principles of object orientation . It stipulates that A class should have only one reason to change . The principle is by Robert ·C· Martin ( ...