Page MenuHomePhabricator

Deprecated PHP 5.6 container not working with `webservice` command
Closed, ResolvedPublicBUG REPORT

Description

As reported by @Bennylin at https://wikitech.wikimedia.org/wiki/Help_talk:Toolforge/Kubernetes#Errors:

$ webservice --backend=kubernetes php5.6 shell
type must be one of:
buildservice
  * golang1.11
  * jdk17
  * node16
  * node18
  * perl5.32
  * php7.4
  * python3.11
  * python3.9
  * ruby2.1
  * ruby2.7
  * ruby3.1
  * tcl8.6

Not printing the deprecated version strings is fine, but the container should still be usable. We haven't done a round of warnings about it's removal. (We should! We just haven't yet.)

Event Timeline

taavi claimed this task.
taavi subscribed.
tools.taavi-test-tool@tools-sgebastion-11:~$ webservice --backend=kubernetes php5.6 shell
DEPRECATED: 'php5.6' type is deprecated.
  See https://wikitech.wikimedia.org/wiki/Help:Toolforge/Kubernetes
  for currently supported types.
tools.taavi-test-tool@shell-1696938440:~$ php --version
PHP 5.6.33-0+deb8u1 (cli) (built: Jan  5 2018 15:46:26)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
    with Xdebug v2.2.5, Copyright (c) 2002-2014, by Derick Rethans