Skip to content

This is the Stable version of the documentation. The latest version is experimental and under active development. You can use the version selector in the top-right menu to switch versions for this specific page, or click here to go to the latest version's homepage.

Standard Structure of Files and Directories of Source Code Repository on Opstella

Standard Structure ของ Source Code Repository ที่ควรทำ เพื่อนำมา Deploy บน Opstella จะต้องมีดังนี้

  • source/ จะเก็บไฟล์ Source Code ของแอปพลิเคชัน ซึ่งจะใช้สำหรับการ Build บน Pipeline
  • README.md จะใช้สำหรับการ Short Note เกี่ยวกับตัว Project (แนะนำให้ควรมี แต่ถ้าหากไม่มี ไม่มีผลต่อการทำงานในขั้นตอนอื่นๆ)
  • Dockerfile จะใช้สำหรับการ Build Container Image เพื่อใช้งานบน Kubernetes
  • .gitlab-ci.yaml จะใช้สำหรับ เพิ่ม CI/CD Pipeline ให้กับ Project
  • Directorysource/
    • <your-source-code>
  • README.md
  • Dockerfile
  • .gitlab-ci.yaml

Finished?

Use the below navigation to proceed