kyma-project / kyma-companion

A tool that brings AI to Kyma
Apache License 2.0
2 stars 11 forks source link

Automatic testing #12

Closed the1bit closed 4 months ago

the1bit commented 4 months ago

Description

Changes proposed in this pull request:

This Workflow can test the backend code automatically. Additionally, it can run test scripts.

Files and folders

Secrets

Steps

in .github/workflows/backend-e2e-test.yaml:

  1. Get the code
  2. Create local Docker image registry
  3. Build local Docker image
  4. Push image to local registry
  5. Configure K3s for local Docker image registry
  6. Install and configure K3s cluster
  7. Verify K3s cluster
  8. Deploy - Create namespace
  9. Deploy - Create Secret for backend
  10. Deploy - Create ConfigMap for backend
  11. Deploy - Create Backend and NodePort service
  12. Deploy - Wait for deployment
  13. Test - Health check
  14. Test - Cluster resources

Related issue(s)

CLAassistant commented 4 months ago

CLA assistant check
All committers have signed the CLA.

kyma-bot commented 4 months ago

New changes are detected. LGTM label has been removed.

kyma-bot commented 4 months ago

New changes are detected. LGTM label has been removed.