Skip to content

Commit c7d5500

Browse files
committed
Remove grid engine references
1 parent ed7c0ba commit c7d5500

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

data/templates/base.html

-3
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,6 @@
4646
<a class="dropdown-item" href="https://k8s-status.toolforge.org/">Kubernetes cluster status</a>
4747
<a class="dropdown-item" href="https://docker-registry.toolforge.org/">Docker registry</a>
4848
<div class="dropdown-divider"></div>
49-
<a class="dropdown-item" href="https://sge-jobs.toolforge.org/">Grid engine jobs history</a>
50-
<a class="dropdown-item" href="https://sge-status.toolforge.org/">Grid engine status</a>
51-
<div class="dropdown-divider"></div>
5249
<a class="dropdown-item" href="https://toolsadmin.wikimedia.org">Toolforge admin console</a>
5350
<a class="dropdown-item" href="https://openstack-browser.toolforge.org/project/tools">Toolforge project in OpenStack browser</a>
5451
<a class="dropdown-item" href="https://sal.toolforge.org/tools">Toolforge Server Admin Log</a>

src/App.php

-9
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,6 @@ protected function configureRoutes( \Slim\Slim $slim ) {
146146
if ( $parts[0] === 'list' ) {
147147
$path .= 'tools';
148148

149-
} elseif ( $parts[0] === 'status' ) {
150-
$path .= 'oge/status';
151-
152149
} elseif ( in_array( $parts[0], [ '403', '404', '500', '503' ] ) ) {
153150
$path .= "error/{$parts[0]}";
154151

@@ -203,12 +200,6 @@ static function () use ( $slim ) {
203200
$page( $name );
204201
} )->name( 'tool' );
205202

206-
$slim->get( 'oge/status', static function () use ( $slim ) {
207-
$page = new Pages\Redirect( $slim );
208-
$page->setBaseUrl( 'https://sge-jobs.toolforge.org/' );
209-
$page( '' );
210-
} )->name( 'oge-status' );
211-
212203
$slim->get( 'healthz', static function () use ( $slim ) {
213204
$page = new Pages\Healthz();
214205
$page();

0 commit comments

Comments
 (0)