mirror of
https://github.com/containers/ansible-podman-collections.git
synced 2026-02-04 07:11:49 +00:00
Add inventory plugins for buildah and podman (#963)
Add inventory plugins for buildah and podman, unit tests and functional CI tests. --------- Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
This commit is contained in:
parent
fb76891c50
commit
6ee2f3891b
57 changed files with 3856 additions and 8899 deletions
11
playbooks/examples/node_app/app.js
Normal file
11
playbooks/examples/node_app/app.js
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
const express = require('express');
|
||||
const app = express();
|
||||
|
||||
app.get('/predict', (req, res) => {
|
||||
// Dummy prediction endpoint
|
||||
res.json({ prediction: Math.random() });
|
||||
});
|
||||
|
||||
app.listen(3000, () => console.log('AI prediction API listening on :3000'));
|
||||
|
||||
|
||||
18
playbooks/examples/node_app/package-lock.json
generated
Normal file
18
playbooks/examples/node_app/package-lock.json
generated
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"name": "ai-prediction-api",
|
||||
"version": "1.0.0",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "ai-prediction-api",
|
||||
"version": "1.0.0",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"express": "^4.18.2"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
12
playbooks/examples/node_app/package.json
Normal file
12
playbooks/examples/node_app/package.json
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"name": "ai-prediction-api",
|
||||
"version": "1.0.0",
|
||||
"description": "Sample Node.js AI prediction API for Buildah example",
|
||||
"main": "app.js",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"express": "^4.18.2"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue