logo
0
0
Login
feat: 添加 coding generic 迁移到 cnb release 的文档

CNB Complete Examples

badge badge

Programming Languages

Most examples below include build and development environment configurations:

  1. SpringBoot Gradle - Build image and push to CNB Artifact Registry
  2. SpringBoot Maven - Build image and push to CNB Artifact Registry
  3. SpringBoot Maven - Build jar and deploy via SSH
  4. springboot maven - Build image and push to CNB Artifact Registry, deploy to internal network machine via JumpServer
  5. Vue - Build static assets and upload to Tencent Cloud COS
  6. React - Build static assets and upload to Tencent Cloud COS
  7. React - Build and deploy via SSH
  8. Next.js - Build full-stack app image and push to CNB Artifact Registry
  9. React - Build Image, Push to CNB Artifact Repository, and Deploy to CVM via Docker
  10. Node Express - Build image and push to CNB Artifact Registry
  11. Hexo + rsync - Deploy static assets to target server
  12. Go Gin - Build image and push to CNB & K8S cluster
  13. Go - Build image and push to CNB Artifact Registry
  14. Go - Build with private repository dependencies
  15. Node - Use docker-compose with MySQL and Redis
  16. .NET - Build image and push to CNB Artifact Registry
  17. .NET Core - Use docker-compose with MySQL and push to CNB
  18. Android project build
  19. R language - Build image and push to CNB
  20. Python Flask - Build and upload artifacts to CNB
  21. Python Spug - Build container by tag and push to CNB & Tencent Cloud Container Registry
  22. Using endstages and COS for persistent storage in cloud dev environments
  23. Build and push multi-architecture images to CNB artifact repository, generate multi-platform attachments.
  24. conda environment, snakemake and Rstudio environment (bioconda is set as Tsinghua source), and bioinformatics environment is configured

Tencent Cloud Software Sources

  1. Configure Tencent Cloud sources for Maven, Gradle, NPM, Ubuntu, Debian, Alpine, Python, PHP

Issue/PR Use Cases

  1. Notify group chat about issue activities
  2. Notify WeCom group about code review
  3. Issue template examples

Label Templates

  1. Labels for medium/large projects
  2. Labels for small projects

Task Sets (Project Collaboration Tools)

  1. Task set template examples

Advanced Cloud Native Build

  1. Advanced YAML syntax
  2. Custom buttons for manual triggers
  3. API-triggered pipelines
  4. Improve build speed with caching
  5. Combined use of include, reference
  6. Scheduled Task to Check Domain Certificate Status
  7. Combined use of docker build with by
  8. Automatically pull the latest code on a scheduled basis and build the Release version

Cloud Native Development

See Programming Languages section for language-specific environments

  1. Custom dev environment example
  2. Install extensions using VSIX packages
  3. Frontend project sandbox with one-click preview
  4. One-click experience with DeepSeek 1.5b/7b/8b/14b/32b/70b models
  5. 🛫 Quick launch of base environments (with Go/Node) or fun projects
  6. Configure Chinese environment
  7. 🎯 CNB Multi-System Native Development Environment Integration
  8. ☁️ CNB One-Click to Enable Cloud-Native Dify for Data Persistence Storage
  9. 🚀 Cloud native desktop one click experience of cloud surfing 🌊 Sure! Here are the translations of the provided Chinese document links into English:
  10. 🎭 Start custom workspace environment based on cloud native build
  11. Start N8N service for workspace

Cloud Native Development Preview-Only Mode

The preview-only mode is currently in beta (no public documentation available yet), and its usage may change in the future.

  1. Using CNB Preview Mode
  2. Jupyter Preview Mode
  3. Hunyuan Image Generation Preview Mode

Artifact Uploads

Docker

  1. docker build and push to CNB
  2. Multi-arch docker builds (amd64/arm64) Option 1
  3. Multi-arch docker builds (amd64/arm64) Option 2
  4. docker build and push to Docker Hub
  5. docker build and push to TCR

Binary Attachments

  1. Go - Upload binaries to CNB release attachments
  2. Go - Upload binaries to CNB commit attachments
  3. Go - Multi-platform binaries (Windows, Linux, Mac) to CNB releases - Case 1
  4. Go - Multi-platform binaries (Windows, Linux, Mac) to CNB releases - Case 2

Deployment Scenarios

  1. Multi-environment deployment configs (with approvals)
  2. Ansible operations on CVM
  3. Cluster deployment with Terraform
  4. Hexo - Build and upload to Tencent COS
  5. Update TKE deployment images using plugin
  6. Develop AI apps with DeepSeek and deploy to HAI
  7. Automated Deployment for EdgeOne Pages
  8. Helm Charts deployment to Kubernetes
  9. Node Express Deploy to TCB Run
  10. Vue Deploy to TCB Hosting
  11. Tencent Cloud CVM Remote Command(no need to expose the public IP address and password)

AI

  1. AI automatically generate CodeWiki documentation when code changes

Plugin Development

  1. Hello World plugin
  2. Custom plugin marketplace

Large Repositories

  1. 125GB AOSP repo with fast clone, volume caching, remote dev

Supporting Tools

  1. Code migration to CNB
  2. Sync code from CNB to other Git platforms
  3. CODING collaboration items import
  4. wiki.js knowledge base sync to CNB
  5. Artifact migration to CNB
  6. CNB base dev/build environment images
  7. Migrate TCR images to CNB artifacts
  8. Migrate GitHub workflows to .cnb.yml format / Use online
  9. Unit Test Coverage Reporting: Node Version / Go Version
  10. CODING Generic migrate to CNB Release