-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
- Loading branch information
1 parent
42e883d
commit d4ce24b
Showing
7 changed files
with
48 additions
and
263 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
'use strict' | ||
|
||
const { deprecatedService } = require('..') | ||
|
||
module.exports = deprecatedService({ | ||
category: 'build', | ||
route: { | ||
base: 'microbadger', | ||
pattern: ':various+', | ||
}, | ||
label: 'microbadger', | ||
dateAdded: new Date('2021-07-03'), | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
'use strict' | ||
|
||
const { ServiceTester } = require('../tester') | ||
const t = (module.exports = new ServiceTester({ | ||
id: 'microbadger', | ||
title: 'Microbadger', | ||
})) | ||
|
||
t.create('no longer available (previously image size)') | ||
.get('/image-size/fedora/apache.json') | ||
.expectBadge({ | ||
label: 'microbadger', | ||
message: 'no longer available', | ||
}) | ||
|
||
t.create('no longer available (previously image size with tag)') | ||
.get('/image-size/fedora/apache/latest.json') | ||
.expectBadge({ | ||
label: 'microbadger', | ||
message: 'no longer available', | ||
}) | ||
|
||
t.create('no longer available (previously layers)') | ||
.get('/layers/fedora/apache.json') | ||
.expectBadge({ | ||
label: 'microbadger', | ||
message: 'no longer available', | ||
}) | ||
|
||
t.create('no longer available (previously layers with tag)') | ||
.get('/layers/fedora/apache/latest.json') | ||
.expectBadge({ | ||
label: 'microbadger', | ||
message: 'no longer available', | ||
}) |