logo
0
0
Login
Forkfromexamples/showcase, behind:main32 commits
feat: go 多架构镜像构建推送至 CNB制品库,生成多平台附件

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. Vue - Build static assets and upload to Tencent Cloud COS
  5. React - Build static assets and upload to Tencent Cloud COS
  6. React - Build and deploy via SSH
  7. Next.js - Build full-stack app image and push to CNB Artifact Registry
  8. React - Build with PR code checks (tests, ESLint) and push to CNB
  9. Node Express - Build image and push to CNB Artifact Registry
  10. Hexo + rsync - Deploy static assets to target server
  11. Go Gin - Build image and push to CNB & K8S cluster
  12. Go - Build image and push to CNB Artifact Registry
  13. Go - Build with private repository dependencies
  14. Node - Use docker-compose with MySQL and Redis
  15. .NET - Build image and push to CNB Artifact Registry
  16. .NET Core - Use docker-compose with MySQL and push to CNB
  17. Android project build
  18. R language - Build image and push to CNB
  19. Python Flask - Build and upload artifacts to CNB
  20. Python Spug - Build container by tag and push to CNB & Tencent Cloud Container Registry
  21. Using endstages and COS for persistent storage in cloud dev environments
  22. Build and push multi-architecture images to CNB artifact repository, generate multi-platform attachments.

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

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

Artifact Uploads

Docker

  1. docker build and push to CNB
  2. Multi-arch docker builds (amd64/arm64)
  3. docker build and push to Docker Hub
  4. 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

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

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

About

CNB完整示例