Python pydantic

Pydantic is a Python library used for data validation and settings management. It allows you to define data schemas using Python annotations and then automatically validates input data against those schemas. Here are some features of Pydantic along with examples: Model Declaration: from pydantic import BaseModel class User(BaseModel): username: str email: str age: int 2. … Read more

notes for jenkins-agent using ssh

Susiloharjo

This is my note for add jenkins-agent using ssh Create new node at jenkins dashboard and setting directory for root directory file for storing your deployment Choose Launch Agent via ssh Add host for remote agent Choose Jenkins credential > SSH Username with private key Add login vm username Add credential > copy your id … Read more

The differences between on-premises, IaaS, PaaS, and FaaS

Susiloharjo

The terms “on-premises,” “IaaS” (Infrastructure as a Service), “PaaS” (Platform as a Service), and “FaaS” (Functions as a Service) refer to different deployment and service models in the realm of cloud computing and infrastructure management. Here’s an overview of the key differences between these concepts: Aspect On-Premises IaaS PaaS FaaS Location On-premises Cloud Data Centers … Read more

China’s Little Giant

Merics Report Nice topic how china success to fosters their Little Giant Companies The MERICS Report titled “Accelerator State: How China fosters ‘Little Giant’ companies” provides an in-depth analysis of China’s evolving industrial policy, focusing on the promotion and support of high-tech small and medium-sized enterprises (SMEs). Here’s a summarized overview: Emergence of High-Tech SMEs: … Read more

Jenkins pipeline running docker

pipeline { agent { label ‘server_61’ } stages { stage(‘Checkout’) { steps { checkout scmGit(branches: [[name: ‘*/master’]], extensions: [], userRemoteConfigs: [[url: ‘[email protected]:github.git/’]]) } } stage(‘Down Docker’) { steps { script { sh ‘docker-compose down’ } } } stage(‘Remove Image’) { steps { script { // Check if the Docker image exists and remove it if … Read more

Tools monitoring komplit

Susiloharjo

Barusan nyobain tools monitoring buat website yang menarik dan punya banyak fitur, dan menariknya lagi bisa jalan diatas docker jadinya komplit banget buat monitoring center, selain bisa melihat web kita lagi down apa ngga ada tools tools yang lain juga menarik diantaranya bisa melihat docker container, mqtt, mysql, postgresql dll apakah aktif apa ngga, jadi … Read more