Giter Club home page Giter Club logo

Comments (10)

FeodorFitsner avatar FeodorFitsner commented on August 30, 2024

Are those instances like disposable?

from website.

HariSekhon avatar HariSekhon commented on August 30, 2024

@FeodorFitsner yes they're docker containers, so once they're gone, they're gone.

from website.

FeodorFitsner avatar FeodorFitsner commented on August 30, 2024

Why would you need to constantly add/remove Docker clouds anyway? As it's not a common scenario you can just do a scheduled script deleting those clouds via AppVeyor API.

from website.

HariSekhon avatar HariSekhon commented on August 30, 2024

I think if using Docker this is actually a very standard pattern.

If you run BYOC in Kubernetes or Docker these are going to be replaced with new containers with different auto-generated names over time naturally so you will accumulate lots of dead byoc references.

from website.

HariSekhon avatar HariSekhon commented on August 30, 2024

I'm about to write a script for the AppVeyor API as a quick workaround as suggested, but cannot find much documentation for this:

https://www.appveyor.com/docs/api/

Is deleting old BYOC clouds documented anywhere?

I was gonna do a query, filter on offline and remove those so that it doesn't remove the currently active one...

from website.

HariSekhon avatar HariSekhon commented on August 30, 2024

Documentation seems a bit thin, found this unofficial API doc:

https://kevinoid.github.io/appveyor-swagger/bootprint/

but even on there I can't see an endpoint to query and delete BYOC clouds.

from website.

FeodorFitsner avatar FeodorFitsner commented on August 30, 2024

the best way to see an API call is in "Network" tab of your browser. UI uses the same API.

...still why would you need to run AppVeyor in a new container every time? You are supposed to install AppVeyor Host Agent to Docker host and host agent will be creating a new container for every build.

from website.

HariSekhon avatar HariSekhon commented on August 30, 2024

Oh I see, you expect it installed in base and then it calls docker, so the agent id is always that of the underlying host... I had used it inside Docker itself as a temporary agent as other CI systems.

Will have a look at dumping the UI from the web browser, but it would be good to have an officially documented API.

from website.

HariSekhon avatar HariSekhon commented on August 30, 2024

Just wrote a quick script to do this, it worked to clean up my account, thanks!

from website.

FeodorFitsner avatar FeodorFitsner commented on August 30, 2024

We will documented, sure. We are currently migrating to .NET Core so there will be some changes.

This is more info about running Docker builds with AppVeyor: https://www.appveyor.com/docs/server/#docker-1

from website.

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.