GithubHelp home page GithubHelp logo

christophwurst / unattended_upgrades Goto Github PK

View Code? Open in Web Editor NEW
32.0 4.0 3.0 32 KB

Updates Nextcloud apps automatically

License: MIT License

PHP 88.00% JavaScript 12.00%
nextcloud nextcloud-app unattended-upgrades devops devops-tools yolo

unattended_upgrades's Introduction

🀑 Unattended Upgrades

Updates apps automatically

Downloads

The app is still under development, so it’s time for you to get involved! πŸ‘©β€πŸ’»

How it works

The app will register a background job that runs once an hour. Depending on the configuration, it will update all, some or none of the upgradable apps.

Configuration

The app configuration is specified via config/config.php.

  'unattended_upgrades' => [
      // your preferences
  ],

Maintenance window

You can set a time window between which the upgrade is allowed.

  'unattended_upgrades' => [
      'maintenance_window' => [
          'start' => '06:00',
          'end' => '08:00',
      ],
  ],

Blocked apps

If you know that an app has questionable QA policies you may want to exclude it from the automated upgrade to save yourself from random fire fighting.

  'unattended_upgrades' => [
      'blocked' => [
          'unattended_upgrades',
      ],
  ],

Allowed apps

If you're feeling like the automated upgrades of every app are too much risk for you, you may pick the cherries and only allow certain apps.

  'unattended_upgrades' => [
      'allowed' => [
          'mail',
      ],
  ],

FAQ

Commonly asked questions.

Should I run this in production?

No, this app is an experiment. However, if you like living on the edge you may of course deploy the app anyway.

unattended_upgrades's People

Contributors

christophwurst avatar morrisjobke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

wikinaut yward sjas

unattended_upgrades's Issues

Use semver

An unwritten rule says decent apps follow semver πŸ‘Ό. Thus we could try to be smart and only upgrade apps automatically if they bump their minor or patch version. This should be configurable most likely.

Allow limit to certain apps

As an admin I might not want all apps to automatically upgrade. Instead, a configurable list of apps that I know and trust should be upgraded only. Other apps shall only be updated manually.

Configurable maintenance slots

As an admin I would like to be able to chose when the unattended upgrade runs, like when my users are most likely not active. This happens typically at night, but it depends on the time zone of the users and what kind of organization this is.

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.