Giter VIP home page Giter VIP logo

Comments (4)

RandomFractals avatar RandomFractals commented on May 26, 2024

I think we should add GitOps: Flux Reconcile command to handle this and attach it to the nodes in the Sources tree view (#19).

We'll need more info or another story on what happens in vscode IDE after source repository is reconciled.

The above only provides information on how to start that process, and no details on the final state of the sources tree view or vscode UI state after reconciliation.

For example, do we call kubectl via k8s tools api to refresh our Sources tree view for the selected cluster after reconciliation is complete with the flux reconcile command? What else needs to be done for the after source reconcile state in vscode IDE?

from vscode-gitops-tools.

RandomFractals avatar RandomFractals commented on May 26, 2024

per our feature review discussion with @murillodigital we'll simply refresh the Sources tree view after flux reconcile command finishes. That might not display the final state of sources, but that's the best we can do with the current CLI driven comms and flux.

@usernamehw that means we'll need to add gitops.views.refreshSources for the selected cluster if we don't already have it. Please create new ticket for that feature, and also add Refresh button to the Sources tree view, so that devs and devOps can refresh source nodes at will.

from vscode-gitops-tools.

RandomFractals avatar RandomFractals commented on May 26, 2024

@usernamehw looks like your commit and changes above were more related to the feature I suggested we handle separately. See #75

from vscode-gitops-tools.

RandomFractals avatar RandomFractals commented on May 26, 2024

this looks great. Git Source reconcile with the source k8s config displayed in vscode editor area, and reconcile source flux command triggered from the Sources tree view Reconcile Source right-click popup menu:

gitops-reconcile-source

See Terminal panel for the reconcile source flux command output.

We will handle reconcile errors in #41 and possibly other tickets we will need to create for the error handling stories.

I'll check if we have a ticket for the Sources tree view auto-refresh after reconcile, and will create new ticket to handle that part.

from vscode-gitops-tools.

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.