Ravindra BagaleCourses & study guides मराठी

Ravi Sir's Cards › DevOps

Chapter 25: Shared Libraries, Credentials and Environments: मराठी Cards

English cards · Chapter उघडा

उजळणी (Revision) cards

Shared library का. तोच pipeline code अनेक repos मध्ये copy केला तर fix करायला अनेक जागा.
उजळणी (Revision) card 1 of 6: Shared library का · PNG download करा · Card page उघडा

Lesson: 25.1 Why a library

Shared library चे तीन folders. Jenkins ला library code फक्त अपेक्षित folders मध्येच सापडतो.
उजळणी (Revision) card 2 of 6: Shared library चे तीन folders · PNG download करा · Card page उघडा

Lesson: 25.2 The three folders

App Jenkinsfile मध्ये library वापरा. Apps ना shared code एका line मध्ये वापरता यायला हवा, आणि version pin करायला हवं म्हणजे बदल अचानक धक्का देत नाहीत.
उजळणी (Revision) card 3 of 6: App Jenkinsfile मध्ये library वापरा · PNG download करा · Card page उघडा

Lesson: 25.3 @Library in the app Jenkinsfile

Credentials आणि withCredentials. Builds ना passwords आणि tokens लागतात, पण ते code किंवा logs मध्ये दिसायला नकोत.
उजळणी (Revision) card 4 of 6: Credentials आणि withCredentials · PNG download करा · Card page उघडा

Lesson: 25.4 Credentials and withCredentials

परत parameters, password सकट. Users start ला values निवडतात, पण टाईप केलेले secrets धोकादायक.
उजळणी (Revision) card 5 of 6: परत parameters, password सकट · PNG download करा · Card page उघडा

Lesson: 25.5 Parameters again, including password

dev, test, staging, prod. थेट users ना ship करणं धोकादायक. प्रत्येक step वेगळे problems पकडते.
उजळणी (Revision) card 6 of 6: dev, test, staging, prod · PNG download करा · Card page उघडा

Lesson: 25.6 DEV, TEST, STAGING, PROD

मुलाखत (Interview) cards

Jenkins shared library म्हणजे काय आणि का वापरायची? परत वापरता येणाऱ्या pipeline code चा Git repo. अनेक Jenkinsfiles तो call करतात, म्हणून fix एकाच जागी.
मुलाखत (Interview) card 1 of 6: Jenkins shared library म्हणजे काय आणि का वापरायची? · PNG download करा · Card page उघडा

Lesson: 25.1 Why a library

Shared library मध्ये vars folder म्हणजे काय? vars/ मधली प्रत्येक file global step बनते. def call() असलेली vars/buildNode.groovy buildNode() म्हणून वापरतात.
मुलाखत (Interview) card 2 of 6: Shared library मध्ये vars folder म्हणजे काय? · PNG download करा · Card page उघडा

Lesson: 25.2 The three folders

Shared library version pin का करायचं? म्हणजे library बदल एकाच वेळी सगळ्या pipelines तोडत नाही. @Library('lib@v1') tag v1 वापरतो.
मुलाखत (Interview) card 3 of 6: Shared library version pin का करायचं? · PNG download करा · Card page उघडा

Lesson: 25.3 @Library in the app Jenkinsfile

Password न दाखवता Jenkins मधून Docker Hub ला push कसा करता? Username-password credential सोबत withCredentials, आणि --password-stdin वापरा.
मुलाखत (Interview) card 4 of 6: Password न दाखवता Jenkins मधून Docker Hub ला push कसा करता? · PNG download करा · Card page उघडा

Lesson: 25.4 Credentials and withCredentials

Password parameter वापरावा का? क्वचितच. तो value लपवतो, पण माणूस दर वेळी टाईप करतो. साठवलेले credentials वापरा.
मुलाखत (Interview) card 5 of 6: Password parameter वापरावा का? · PNG download करा · Card page उघडा

Lesson: 25.5 Parameters again, including password

एक build dev, test, staging आणि prod मधून कसा नेता? एकदा build करा, मग तोच artifact प्रत्येक environment ला deploy करा, checks सोबत आणि prod आधी approval.
मुलाखत (Interview) card 6 of 6: एक build dev, test, staging आणि prod मधून कसा नेता? · PNG download करा · Card page उघडा

Lesson: 25.6 DEV, TEST, STAGING, PROD

तुलना (Comparison) cards

Shared library vs copy केलेला Jenkinsfile code. Library: shared steps चा एक repo.Copy: प्रत्येक repo मध्ये paste केलेला तोच code.
तुलना (Comparison) card 1 of 3: Shared library vs copy केलेला Jenkinsfile code · PNG download करा · Card page उघडा

Lesson: 25.1 Why a library

Password parameter vs साठवलेलं credential. Password parameter: प्रत्येक build ला माणूस secret टाईप करतो.Credential: एकदा साठवलं, ID ने वापरलं.
तुलना (Comparison) card 2 of 3: Password parameter vs साठवलेलं credential · PNG download करा · Card page उघडा

Lesson: 25.5 Parameters again, including password

Staging vs production. Staging: शेवटच्या checks साठी prod ची copy.Production: खरे users वापरतात ते.
तुलना (Comparison) card 3 of 3: Staging vs production · PNG download करा · Card page उघडा

Lesson: 25.6 DEV, TEST, STAGING, PROD