-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(tests/images): add spin-static-assets app; use for archive layer…
… testing Signed-off-by: Vaughn Dice <[email protected]>
- Loading branch information
Showing
7 changed files
with
134 additions
and
7 deletions.
There are no files selected for viewing
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 @@ | ||
**/.spin |
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,34 @@ | ||
'Twas brillig, and the slithy toves | ||
Did gyre and gimble in the wabe: | ||
All mimsy were the borogoves, | ||
And the mome raths outgrabe. | ||
|
||
"Beware the Jabberwock, my son! | ||
The jaws that bite, the claws that catch! | ||
Beware the Jubjub bird, and shun | ||
The frumious Bandersnatch!" | ||
|
||
He took his vorpal sword in hand; | ||
Long time the manxome foe he sought- | ||
So rested he by the Tumtum tree | ||
And stood awhile in thought. | ||
|
||
And, as in uffish thought he stood, | ||
The Jabberwock, with eyes of flame, | ||
Came whiffling through the tulgey wood, | ||
And burbled as it came! | ||
|
||
One, two! One, two! And through and through | ||
The vorpal blade went snicker-snack! | ||
He left it dead, and with its head | ||
He went galumphing back. | ||
|
||
"And hast thou slain the Jabberwock? | ||
Come to my arms, my beamish boy! | ||
O frabjous day! Callooh! Callay!" | ||
He chortled in his joy. | ||
|
||
'Twas brillig, and the slithy toves | ||
Did gyre and gimble in the wabe: | ||
All mimsy were the borogoves, | ||
And the mome raths outgrabe. |
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,18 @@ | ||
spin_manifest_version = 2 | ||
|
||
[application] | ||
name = "spin-static-assets" | ||
version = "0.1.0" | ||
authors = ["SpinKube Engineering Team"] | ||
|
||
[application.trigger.http] | ||
base = "/" | ||
|
||
[[trigger.http]] | ||
id = "trigger-static-fileserver" | ||
component = "static-fileserver" | ||
route = "/..." | ||
|
||
[component.static-fileserver] | ||
source = { url = "https://github.com/fermyon/spin-fileserver/releases/download/v0.3.0/spin_static_fs.wasm", digest = "sha256:ef88708817e107bf49985c7cefe4dd1f199bf26f6727819183d5c996baa3d148" } | ||
files = [{ source = "assets", destination = "/" }] |
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
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
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
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