Skip to content

skill-tzy/simple-python-pyinstaller-app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intermediate-DevOps Engineer

Submission Proyek Membangun CI/CD Pipeline dengan Jenkins - Kelas Belajar Implementasi CI/CD

Sertifikat Kompetensi Kelas Belajar Implementasi CI/CD

🚀 Deskripsi Kelas

Kelas Belajar Implementasi CI/CD
Disusun oleh: Dicoding Indonesia
Level: Menengah

Dicoding AWS

  • Pengenalan CI/CD : Mengetahui pengertian, alur, dan manfaat dari implementasi CI/CD. (1 jam)
  • Continuous Integration : Memahami dua model jaringan yang umum di dunia jaringan komputer, yakni model OSI dan model TCP/IP. (2 jam 45 menit)
  • Continuous Deployment : Memahami pengertian dan implementasi continous deployment. (4 jam)
  • Operation dan Monitoring : Memahami cara dalam mengoperasikan dan memonitor baik aplikasi maupun infrastruktur. (3 jam 15 menit)
  • DevSecOps : Mengetahui apa itu DevSecOps dan bagaimana cara menerapkan keamanan pada CI/CD pipeline. (1 jam 30 menit)

Evaluasi Pembelajaran:

  • Ujian akhir kelas
  • Submission (Proyek Akhir) berupa tugas untuk membuat CI/CD pipeline menggunakan Jenkins dengan menerapkan kriteria-kriteria yang telah ditentukan.

Total jam yang dibutuhkan untuk menyelesaikan kelas ini adalah 30 jam.

simple-python-pyinstaller-app

This repository is for the Build a Python app with PyInstaller tutorial in the Jenkins User Documentation.

The repository contains a simple Python application which is a command line tool "add2vals" that outputs the addition of two values. If at least one of the values is a string, "add2vals" treats both values as a string and instead concatenates the values. The "add2" function in the "calc" library (which "add2vals" imports) is accompanied by a set of unit tests. These are tested with pytest to check that this function works as expected and the results are saved to a JUnit XML report.

The delivery of the "add2vals" tool through PyInstaller converts this tool into a standalone executable file for Linux, which you can download through Jenkins and execute at the command line on Linux machines without Python.

The jenkins directory contains an example of the Jenkinsfile (i.e. Pipeline) you'll be creating yourself during the tutorial.

About

For an introductory tutorial on how to use Jenkins to build a simple Python application with PyInstaller.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%