बेसिक CI पाइपलाइन सेट करना

Machine Learning के लिए CI/CD

Ravi Bhadauria

Machine Learning Engineer

GitHub Actions वर्कफ़्लो की संरचना

# Name of the workflow
name: CI

# Events that trigger workflow on: push: branches: [ "main" ]
Machine Learning के लिए CI/CD

GitHub Actions वर्कफ़्लो की संरचना

# Define jobs and runners
jobs:
  build:
    runs-on: ubuntu-latest

# Define steps steps: - name: Run a multi-line script run: | echo Hello, world! echo Add other actions to build, echo test, and deploy your project.
Machine Learning के लिए CI/CD

GitHub Actions वर्कफ़्लो की संरचना

name: CI

on:
  push:
    branches: [ "main" ]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Run a multi-line script
        run: |
          echo Hello, world!
          echo Add other actions to build,
          echo test, and deploy your project.
Machine Learning के लिए CI/CD

GitHub रिपॉज़िटरी बनाएँ

नई रिपॉज़िटरी बनाने वाले https://github.com/new पेज की छवि

Machine Learning के लिए CI/CD

GitHub Actions सेट करें

Machine Learning के लिए CI/CD

"Hello, World!" GitHub Action सेट करें

रिपॉज़िटरी लैंडिंग पेज पर Actions टैब को हाइलाइट करती छवि

Machine Learning के लिए CI/CD

"Hello, World!" GitHub Action सेट करें

रिपॉज़िटरी की Actions पेज पर Configure टैब को हाइलाइट करती छवि

Machine Learning के लिए CI/CD

"Hello, World!" GitHub Action सेट करें

वेब एडिटर में Hello World Action और Commit changes बटन की छवि

Machine Learning के लिए CI/CD

"Hello, World!" GitHub Action सेट करें

कमिट संदेश लिखने वाले Commit changes संवाद की छवि

Machine Learning के लिए CI/CD

GitHub Actions रन जाँचें

रिपॉज़िटरी लैंडिंग पेज पर एक्शन पूर्ण होने के बैनर को हाइलाइट करती छवि

Machine Learning के लिए CI/CD

GitHub Actions रन जाँचें

सफल वर्कफ़्लो दिखाने वाली Actions पेज की छवि

सफल वर्कफ़्लो के build स्टेप की छवि

Machine Learning के लिए CI/CD

लॉग्स जाँचना

स्टेप्स दिखाने वाले सफल वर्कफ़्लो के लॉग्स की छवि

Machine Learning के लिए CI/CD

अभ्यास करते हैं!

Machine Learning के लिए CI/CD

Preparing Video For Download...