-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: remove hardcoded is for resource profiles
- Loading branch information
Showing
5 changed files
with
398 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
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,43 @@ | ||
/* IMPORTANT | ||
* This snapshot file is auto-generated, but designed for humans. | ||
* It should be checked into source control and tracked carefully. | ||
* Re-generate by setting TAP_SNAPSHOT=1 and running tests. | ||
* Make sure to inspect the output below. Do not ignore changes! | ||
*/ | ||
'use strict' | ||
exports[`tests/test_sdl_wordpress.ts TAP SDL: Wordpress Version > Manifest version matches expected result 1`] = ` | ||
Uint8Array [ | ||
219, | ||
108, | ||
51, | ||
117, | ||
198, | ||
203, | ||
254, | ||
23, | ||
231, | ||
87, | ||
195, | ||
36, | ||
147, | ||
215, | ||
27, | ||
25, | ||
65, | ||
116, | ||
86, | ||
242, | ||
189, | ||
131, | ||
165, | ||
98, | ||
212, | ||
63, | ||
194, | ||
233, | ||
63, | ||
64, | ||
141, | ||
48, | ||
] | ||
` |
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,208 @@ | ||
[ | ||
{ | ||
"name": "akash", | ||
"services": [ | ||
{ | ||
"name": "db", | ||
"image": "mariadb:10.6.4", | ||
"command": null, | ||
"args": null, | ||
"env": [ | ||
"MYSQL_RANDOM_ROOT_PASSWORD=1", | ||
"MYSQL_DATABASE=wordpress", | ||
"MYSQL_USER=wordpress", | ||
"MYSQL_PASSWORD=testpass4you" | ||
], | ||
"resources": { | ||
"id": 1, | ||
"cpu": { | ||
"units": { | ||
"val": "1000" | ||
} | ||
}, | ||
"memory": { | ||
"size": { | ||
"val": "1073741824" | ||
} | ||
}, | ||
"storage": [ | ||
{ | ||
"name": "default", | ||
"size": { | ||
"val": "1073741824" | ||
} | ||
}, | ||
{ | ||
"name": "wordpress-db", | ||
"size": { | ||
"val": "8589934592" | ||
}, | ||
"attributes": [ | ||
{ | ||
"key": "class", | ||
"value": "beta3" | ||
}, | ||
{ | ||
"key": "persistent", | ||
"value": "true" | ||
} | ||
] | ||
} | ||
], | ||
"gpu": { | ||
"units": { | ||
"val": "0" | ||
} | ||
}, | ||
"endpoints": [] | ||
}, | ||
"count": 1, | ||
"expose": [ | ||
{ | ||
"port": 3306, | ||
"externalPort": 0, | ||
"proto": "TCP", | ||
"service": "wordpress", | ||
"global": false, | ||
"hosts": null, | ||
"httpOptions": { | ||
"maxBodySize": 1048576, | ||
"readTimeout": 60000, | ||
"sendTimeout": 60000, | ||
"nextTries": 3, | ||
"nextTimeout": 0, | ||
"nextCases": [ | ||
"error", | ||
"timeout" | ||
] | ||
}, | ||
"ip": "", | ||
"endpointSequenceNumber": 0 | ||
}, | ||
{ | ||
"port": 33060, | ||
"externalPort": 0, | ||
"proto": "TCP", | ||
"service": "wordpress", | ||
"global": false, | ||
"hosts": null, | ||
"httpOptions": { | ||
"maxBodySize": 1048576, | ||
"readTimeout": 60000, | ||
"sendTimeout": 60000, | ||
"nextTries": 3, | ||
"nextTimeout": 0, | ||
"nextCases": [ | ||
"error", | ||
"timeout" | ||
] | ||
}, | ||
"ip": "", | ||
"endpointSequenceNumber": 0 | ||
} | ||
], | ||
"params": { | ||
"storage": [ | ||
{ | ||
"name": "wordpress-db", | ||
"mount": "/var/lib/mysql", | ||
"readOnly": false | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"name": "wordpress", | ||
"image": "wordpress", | ||
"command": null, | ||
"args": null, | ||
"env": [ | ||
"WORDPRESS_DB_HOST=db", | ||
"WORDPRESS_DB_USER=wordpress", | ||
"WORDPRESS_DB_PASSWORD=testpass4you", | ||
"WORDPRESS_DB_NAME=wordpress" | ||
], | ||
"resources": { | ||
"id": 2, | ||
"cpu": { | ||
"units": { | ||
"val": "4000" | ||
} | ||
}, | ||
"memory": { | ||
"size": { | ||
"val": "4294967296" | ||
} | ||
}, | ||
"storage": [ | ||
{ | ||
"name": "default", | ||
"size": { | ||
"val": "4294967296" | ||
} | ||
}, | ||
{ | ||
"name": "wordpress-data", | ||
"size": { | ||
"val": "34359738368" | ||
}, | ||
"attributes": [ | ||
{ | ||
"key": "class", | ||
"value": "beta3" | ||
}, | ||
{ | ||
"key": "persistent", | ||
"value": "true" | ||
} | ||
] | ||
} | ||
], | ||
"gpu": { | ||
"units": { | ||
"val": "0" | ||
} | ||
}, | ||
"endpoints": [ | ||
{ | ||
"sequence_number": 0 | ||
} | ||
] | ||
}, | ||
"count": 1, | ||
"expose": [ | ||
{ | ||
"port": 80, | ||
"externalPort": 0, | ||
"proto": "TCP", | ||
"service": "", | ||
"global": true, | ||
"hosts": null, | ||
"httpOptions": { | ||
"maxBodySize": 104857600, | ||
"readTimeout": 60000, | ||
"sendTimeout": 60000, | ||
"nextTries": 3, | ||
"nextTimeout": 0, | ||
"nextCases": [ | ||
"error", | ||
"timeout" | ||
] | ||
}, | ||
"ip": "", | ||
"endpointSequenceNumber": 0 | ||
} | ||
], | ||
"params": { | ||
"storage": [ | ||
{ | ||
"name": "wordpress-data", | ||
"mount": "/var/www/html", | ||
"readOnly": false | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
] |
Oops, something went wrong.