Prepare for release
This commit is contained in:
@@ -6,13 +6,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|||||||
|
|
||||||
## Releases
|
## Releases
|
||||||
|
|
||||||
|
### v3.9.x - [Unreleased]
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### v3.9.6 - [Unreleased]
|
### v3.9.5.4 - 2019-07-13
|
||||||
|
|
||||||
#### Added
|
#### Added
|
||||||
|
|
||||||
- New Nginx package on Ubuntu with TLS v1.3 support (OpenSSL 1.1.1c)
|
- New Nginx package on Ubuntu with TLS v1.3 support (OpenSSL 1.1.1c)
|
||||||
|
- Netdata upgrade with `wo stack upgrade --netdata`
|
||||||
|
- Netdata stack remove/purge
|
||||||
|
|
||||||
#### Changed
|
#### Changed
|
||||||
|
|
||||||
@@ -23,8 +27,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|||||||
|
|
||||||
- phpRedisAdmin installation
|
- phpRedisAdmin installation
|
||||||
- Duplicated locations /robots.txt after upgrade to v3.9.5.3
|
- Duplicated locations /robots.txt after upgrade to v3.9.5.3
|
||||||
- Site update with flag "--le=off"
|
- Let's Encrypt stack "wo site update --letsencrypt/--letsencrypt=off"
|
||||||
- pt-query-advisor dead link
|
- pt-query-advisor dead link
|
||||||
|
- Netdata persistant configuration
|
||||||
|
|
||||||
### v3.9.5.3 - 2019-06-18
|
### v3.9.5.3 - 2019-06-18
|
||||||
|
|
||||||
|
|||||||
2
setup.py
2
setup.py
@@ -57,7 +57,7 @@ if not os.path.isfile('/root/.gitconfig'):
|
|||||||
shutil.copy2(os.path.expanduser("~")+'/.gitconfig', '/root/.gitconfig')
|
shutil.copy2(os.path.expanduser("~")+'/.gitconfig', '/root/.gitconfig')
|
||||||
|
|
||||||
setup(name='wo',
|
setup(name='wo',
|
||||||
version='3.9.5.3',
|
version='3.9.5.4',
|
||||||
description=long_description,
|
description=long_description,
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
classifiers=[],
|
classifiers=[],
|
||||||
|
|||||||
@@ -1185,6 +1185,7 @@ class WOStackController(CementBaseController):
|
|||||||
"health_alarm_notify.conf",
|
"health_alarm_notify.conf",
|
||||||
'SEND_EMAIL="YES"',
|
'SEND_EMAIL="YES"',
|
||||||
'SEND_EMAIL="NO"')
|
'SEND_EMAIL="NO"')
|
||||||
|
# make changes persistant
|
||||||
WOFileUtils.copyfile(self, "/opt/netdata/usr/"
|
WOFileUtils.copyfile(self, "/opt/netdata/usr/"
|
||||||
"lib/netdata/conf.d/"
|
"lib/netdata/conf.d/"
|
||||||
"health_alarm_notify.conf",
|
"health_alarm_notify.conf",
|
||||||
|
|||||||
@@ -28,8 +28,6 @@ class WOStackUpgradeController(CementBaseController):
|
|||||||
dict(help='Upgrade admin tools stack', action='store_true')),
|
dict(help='Upgrade admin tools stack', action='store_true')),
|
||||||
(['--nginx'],
|
(['--nginx'],
|
||||||
dict(help='Upgrade Nginx stack', action='store_true')),
|
dict(help='Upgrade Nginx stack', action='store_true')),
|
||||||
(['--nginxmainline'],
|
|
||||||
dict(help='Upgrade Nginx Mainline stack', action='store_true')),
|
|
||||||
(['--php'],
|
(['--php'],
|
||||||
dict(help='Upgrade PHP stack', action='store_true')),
|
dict(help='Upgrade PHP stack', action='store_true')),
|
||||||
(['--mysql'],
|
(['--mysql'],
|
||||||
@@ -38,6 +36,8 @@ class WOStackUpgradeController(CementBaseController):
|
|||||||
dict(help='Upgrade WPCLI', action='store_true')),
|
dict(help='Upgrade WPCLI', action='store_true')),
|
||||||
(['--redis'],
|
(['--redis'],
|
||||||
dict(help='Upgrade Redis', action='store_true')),
|
dict(help='Upgrade Redis', action='store_true')),
|
||||||
|
(['--netdata'],
|
||||||
|
dict(help='Upgrade Netdata', action='store_true')),
|
||||||
(['--no-prompt'],
|
(['--no-prompt'],
|
||||||
dict(help="Upgrade Packages without any prompt",
|
dict(help="Upgrade Packages without any prompt",
|
||||||
action='store_true')),
|
action='store_true')),
|
||||||
@@ -137,6 +137,13 @@ class WOStackUpgradeController(CementBaseController):
|
|||||||
else:
|
else:
|
||||||
Log.info(self, "WPCLI is not installed with WordOps")
|
Log.info(self, "WPCLI is not installed with WordOps")
|
||||||
|
|
||||||
|
if self.app.pargs.netdata:
|
||||||
|
if os.path.isdir('/opt/netdata'):
|
||||||
|
packages = packages + [['https://my-netdata.io/'
|
||||||
|
'kickstart-static64.sh',
|
||||||
|
'/var/lib/wo/tmp/kickstart.sh',
|
||||||
|
'Netdata']]
|
||||||
|
|
||||||
if len(packages) or len(apt_packages):
|
if len(packages) or len(apt_packages):
|
||||||
|
|
||||||
Log.info(self, "During package update process non nginx-cached"
|
Log.info(self, "During package update process non nginx-cached"
|
||||||
@@ -168,12 +175,21 @@ class WOStackUpgradeController(CementBaseController):
|
|||||||
if self.app.pargs.wpcli:
|
if self.app.pargs.wpcli:
|
||||||
WOFileUtils.remove(self, ['/usr/local/bin/wp'])
|
WOFileUtils.remove(self, ['/usr/local/bin/wp'])
|
||||||
|
|
||||||
|
if self.app.pargs.netdata:
|
||||||
|
WOFileUtils.remove(self, ['/var/lib/wo/tmp/kickstart.sh'])
|
||||||
|
|
||||||
Log.debug(self, "Downloading following: {0}".format(packages))
|
Log.debug(self, "Downloading following: {0}".format(packages))
|
||||||
WODownload.download(self, packages)
|
WODownload.download(self, packages)
|
||||||
|
|
||||||
if self.app.pargs.wpcli:
|
if self.app.pargs.wpcli:
|
||||||
WOFileUtils.chmod(self, "/usr/local/bin/wp", 0o775)
|
WOFileUtils.chmod(self, "/usr/local/bin/wp", 0o775)
|
||||||
|
|
||||||
|
if self.app.pargs.netdata:
|
||||||
|
Log.info(self, "Upgrading Netdata, please wait...")
|
||||||
|
WOShellExec.cmd_exec(self, "/bin/bash /var/lib/wo/tmp/"
|
||||||
|
"kickstart.sh "
|
||||||
|
"--dont-wait")
|
||||||
|
|
||||||
Log.info(self, "Successfully updated packages")
|
Log.info(self, "Successfully updated packages")
|
||||||
else:
|
else:
|
||||||
self.app.args.print_help()
|
self.app.args.print_help()
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ class WOVariables():
|
|||||||
"""Intialization of core variables"""
|
"""Intialization of core variables"""
|
||||||
|
|
||||||
# WordOps version
|
# WordOps version
|
||||||
wo_version = "3.9.5.3"
|
wo_version = "3.9.5.4"
|
||||||
# WordOps packages versions
|
# WordOps packages versions
|
||||||
wo_wp_cli = "2.2.0"
|
wo_wp_cli = "2.2.0"
|
||||||
wo_adminer = "4.7.1"
|
wo_adminer = "4.7.1"
|
||||||
|
|||||||
Reference in New Issue
Block a user