☁️How to Create a Python Project with CodeArts
Introduction
Codearts is a DevSecOps platform that provides a suite of ready-to-use cloud services covering requirements testing, namely requirement delivery, code commit, code check, code build, verification, deployment and release, meeting all your needs. Devsecops is a structure on which security measures are taken on the basis of devops. It simplifies deployment by providing end-to-end support.
In today’s article, I will perform a demo python project with Codearts which is Huawei Cloud’s DevSecOps service. So let’s start.
Demo
Step1: Let’s click on create a project. Codearts is currently offering us the Scrum template, let’s continue by clicking on it. Then, let’s give a name to our project and click ‘OK’.
As we can see in the screenshot below, we have created our project.
Step2: From here, it’s up to you what you do in the wide world of CodeArts.
Step3: Then let’s go to the repo screen where we will create the project.
Step4: Let’s click on New Repository and select our warehouse information according to our project requirements
Step5: Template for scenarios such as application development, applications and big data to transfer a repository located in the URL of Git, SVN, GitHub and GitLab, we select the Common option, which is suitable for this project, from the Import options.
Step6: We write the project name in the repository name section. We write information about the project in the description section(Not mandatory). We select python from the program language section. If you want to add README to the project, we select Generate README. If you want to add an automatic check task, you select the Automatically create Check task (free of charge) option. You choose whether you want the project to be private or public and press OK.
Step7: Afterwards, we create a task to get a build. Here, Add a library to the project, we select the Setuptools option and click Next.
Step8: In the created build task, we select python tool installation and add the necessary libraries to the console section.
Step9: If you want to add a new task to the Build task, you can click Add Action and add a new task.
Step10: Then, we create a project location using the package location option, select the upload to release repository option, specify the package name for our project, and specify a version for this build. We selected the create and run option.
Step11: Here, we make sure that the Bruch option is selected, give a name to the task, and then click create and run.
Step12: Our project is created and the necessary libraries are loaded.
Step13: After the installation process is completed, you can install the necessary codes and use them as you wish.
I see the text “Finished: SUCCESS” and my check process has been successfully completed.
Conclusion
Devops combines development and operations to increase the efficiency, speed and security of software development and delivery compared to traditional processes.By adopting a devops development process, entire breeding cycle You manage the flow of applications by encouraging the stages of development into a more collaborative environment. It offers the opportunity to change the mindset in traditional software development processes. You can develop and manage in many languages, including Python with Codearts.