Skip to content

This is the Experimental version (Latest). It is under active development and may change. For the most reliable documentation, use the version selector in the top-right to switch to Stable, or click here to go to the Stable version's homepage.

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

Last updated:

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