Coder Social home page Coder Social logo

Comments (1)

aceamarco avatar aceamarco commented on August 11, 2024

I'm leaving this ticket open since I won't be able to finish it before the end of my internship. In case others find this ticket at want to give it a try, here's what the current state of the enchancement-4 branch looks like.

Proposed Solution Design

The .github/workflows/ci.yaml has a job called test-e2e, heres what it does:

  1. It starts a lightweight k3s cluster
  2. It calls make e2e-test
  3. make e2e-test calls hack/setup-argocd-env.sh which is a shell script that installs argocd onto the k3s cluster and creates the necessary argocd account and permissions for the controller to create applications.
  4. It also installs the AppSource CRD and creates it's configmap
  5. This next step is what needs to be done: the make e2e-test rule should then call go test on the pkg/controllers/suite_test.go file
  6. This creates an instance of the AppSource manager then should start calling test functions that create/delete AppSource instances and configmaps from the tests/e2e/* folders that contain test appsource configmaps and appsource instances as described above in the initial proposal.
  7. Every appsource instance created should be deleted before running files from a new test folder.

from appsource.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.