GithubHelp home page GithubHelp logo

pteropackages / wingflow Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 0.0 64 KB

Automatic project deployment to Pterodactyl

Go 100.00%
api cli command-line command-line-tool go pterodactyl pterodactyl-api

wingflow's People

Contributors

devnote-dev avatar

Stargazers

 avatar  avatar  avatar  avatar

wingflow's Issues

Prefer backups over archives

Currently WingFlow creates an archive of the current files in the server before uploading the new files, but this defeats the purpose of server backups. WingFlow should instead prefer creating a backup and resort to creating an archive if backups are unavailable.

Side note: process should continue on both failures, --guard stops the process if both fail, --fail-fast stops the process if the backup fails. Maybe this should be part of the configuration?

Migration

Hi there,

Would it be possible for the CLI package to migrate all the servers in one node to another automatically?

Kind regards, TheH2SO4.

Redesign configuration

The configuration file has been a bit of a confusing mess for a while, the following changes should make it clearer and easier to use:

  • Repo:
    • Address: the repository address
    • The authorization token for the repository
  • Panel:
    • URL: the panel URL
    • Key: the account API key
    • ID: the target server ID
  • Files:
    • Include: a list of file paths or patterns to include
    • Exclude: a list of file paths or patterns to exclude
    • Backup: whether a backup of the current files should be made
    • Truncate: whether the current files should be removed
  • Signal:
    • Kill: whether the server should be killed or stopped
    • Timeout: the amount of time in milliseconds to wait after sending the signal

The pre_run and post_run hooks will no longer be used. Repository authentication is still experimental.

GitHub Actions support

WingFlow should have proper support for use in GitHub Actions, and it technically can be used in actions now. However, security is a concern here, specifically with the WingFlow configuration file, which would likely need to be integrated into GHA's action model (?) for it to work securely.

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.