mirror of
https://github.com/parkervcp/eggs.git
synced 2024-11-26 07:45:38 +08:00
Merge pull request #1289 from parkervcp/images/discord
refactor: Migrate to Yolks fork based images
This commit is contained in:
commit
21545c7478
@ -4,17 +4,16 @@
|
|||||||
"version": "PTDL_v1",
|
"version": "PTDL_v1",
|
||||||
"update_url": null
|
"update_url": null
|
||||||
},
|
},
|
||||||
"exported_at": "2021-06-30T14:47:33+03:00",
|
"exported_at": "2021-08-07T17:11:56+03:00",
|
||||||
"name": "discord.js generic",
|
"name": "discord.js generic",
|
||||||
"author": "parker@parkervcp.com",
|
"author": "parker@parkervcp.com",
|
||||||
"description": "a generic discord js bot egg\r\n\r\nThis will clone a git repo for a bot. it defaults to master if no branch is specified.\r\n\r\nInstalls the node_modules on install. If you set user_upload then I assume you know what you are doing.",
|
"description": "a generic discord js bot egg\r\n\r\nThis will clone a git repo for a bot. it defaults to master if no branch is specified.\r\n\r\nInstalls the node_modules on install. If you set user_upload then I assume you know what you are doing.",
|
||||||
"features": null,
|
"features": null,
|
||||||
"images": [
|
"images": [
|
||||||
"quay.io\/parkervcp\/pterodactyl-images:debian_nodejs-16",
|
"ghcr.io\/parkervcp\/yolks:nodejs_16",
|
||||||
"quay.io\/parkervcp\/pterodactyl-images:debian_nodejs-15",
|
"ghcr.io\/parkervcp\/yolks:nodejs_15",
|
||||||
"quay.io\/parkervcp\/pterodactyl-images:debian_nodejs-14",
|
"ghcr.io\/parkervcp\/yolks:nodejs_14",
|
||||||
"quay.io\/parkervcp\/pterodactyl-images:debian_nodejs-12",
|
"ghcr.io\/parkervcp\/yolks:nodejs_12"
|
||||||
"quay.io\/parkervcp\/pterodactyl-images:debian_nodejs-10"
|
|
||||||
],
|
],
|
||||||
"file_denylist": [],
|
"file_denylist": [],
|
||||||
"startup": "if [[ -d .git ]] && [[ {{AUTO_UPDATE}} == \"1\" ]]; then git pull; fi; if [[ ! -z ${NODE_PACKAGES} ]]; then \/usr\/local\/bin\/npm install ${NODE_PACKAGES}; fi; if [[ ! -z ${UNNODE_PACKAGES} ]]; then \/usr\/local\/bin\/npm uninstall ${UNNODE_PACKAGES}; fi; if [ -f \/home\/container\/package.json ]; then \/usr\/local\/bin\/npm install; fi; \/usr\/local\/bin\/node \/home\/container\/{{BOT_JS_FILE}}",
|
"startup": "if [[ -d .git ]] && [[ {{AUTO_UPDATE}} == \"1\" ]]; then git pull; fi; if [[ ! -z ${NODE_PACKAGES} ]]; then \/usr\/local\/bin\/npm install ${NODE_PACKAGES}; fi; if [[ ! -z ${UNNODE_PACKAGES} ]]; then \/usr\/local\/bin\/npm uninstall ${UNNODE_PACKAGES}; fi; if [ -f \/home\/container\/package.json ]; then \/usr\/local\/bin\/npm install; fi; \/usr\/local\/bin\/node \/home\/container\/{{BOT_JS_FILE}}",
|
||||||
@ -22,7 +21,7 @@
|
|||||||
"files": "{}",
|
"files": "{}",
|
||||||
"startup": "{\r\n \"done\": \"change this part\"\r\n}",
|
"startup": "{\r\n \"done\": \"change this part\"\r\n}",
|
||||||
"logs": "{}",
|
"logs": "{}",
|
||||||
"stop": "^c"
|
"stop": "^^C"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"installation": {
|
"installation": {
|
||||||
@ -31,8 +30,7 @@
|
|||||||
"entrypoint": "bash"
|
"entrypoint": "bash"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"variables": [
|
"variables": [{
|
||||||
{
|
|
||||||
"name": "Git Repo Address",
|
"name": "Git Repo Address",
|
||||||
"description": "GitHub Repo to clone\r\n\r\nI.E. https:\/\/github.com\/parkervcp\/repo_name",
|
"description": "GitHub Repo to clone\r\n\r\nI.E. https:\/\/github.com\/parkervcp\/repo_name",
|
||||||
"env_variable": "GIT_ADDRESS",
|
"env_variable": "GIT_ADDRESS",
|
||||||
@ -86,15 +84,6 @@
|
|||||||
"user_editable": true,
|
"user_editable": true,
|
||||||
"rules": "nullable|string"
|
"rules": "nullable|string"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "Uninstall Node packages",
|
|
||||||
"description": "Uninstall node packages.\r\n\r\nUse spaces to separate.",
|
|
||||||
"env_variable": "UNNODE_PACKAGES",
|
|
||||||
"default_value": "",
|
|
||||||
"user_viewable": true,
|
|
||||||
"user_editable": true,
|
|
||||||
"rules": "nullable|string"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "Git Username",
|
"name": "Git Username",
|
||||||
"description": "Username to auth with git.",
|
"description": "Username to auth with git.",
|
||||||
@ -112,6 +101,15 @@
|
|||||||
"user_viewable": true,
|
"user_viewable": true,
|
||||||
"user_editable": true,
|
"user_editable": true,
|
||||||
"rules": "nullable|string"
|
"rules": "nullable|string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Uninstall Node packages",
|
||||||
|
"description": "Uninstall node packages.\r\n\r\nUse spaces to separate.",
|
||||||
|
"env_variable": "UNNODE_PACKAGES",
|
||||||
|
"default_value": "",
|
||||||
|
"user_viewable": true,
|
||||||
|
"user_editable": true,
|
||||||
|
"rules": "nullable|string"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -4,15 +4,16 @@
|
|||||||
"version": "PTDL_v1",
|
"version": "PTDL_v1",
|
||||||
"update_url": null
|
"update_url": null
|
||||||
},
|
},
|
||||||
"exported_at": "2021-07-26T04:36:03+02:00",
|
"exported_at": "2021-08-07T17:13:40+03:00",
|
||||||
"name": "discord.py generic",
|
"name": "discord.py generic",
|
||||||
"author": "parker@parkervcp.com",
|
"author": "parker@parkervcp.com",
|
||||||
"description": "A Discord bot written in Python using discord.py\r\n\r\nhttps:\/\/github.com\/Ispira\/pixel-bot",
|
"description": "A Discord bot written in Python using discord.py\r\n\r\nhttps:\/\/github.com\/Ispira\/pixel-bot",
|
||||||
"features": null,
|
"features": null,
|
||||||
"images": [
|
"images": [
|
||||||
"quay.io\/parkervcp\/pterodactyl-images:debian_python-3.9",
|
"ghcr.io\/parkervcp\/yolks:python_3.9",
|
||||||
"quay.io\/parkervcp\/pterodactyl-images:debian_python-3.8",
|
"ghcr.io\/parkervcp\/yolks:python_3.8",
|
||||||
"quay.io\/parkervcp\/pterodactyl-images:debian_python-2.7"
|
"ghcr.io\/parkervcp\/yolks:python_3.7",
|
||||||
|
"ghcr.io\/parkervcp\/yolks:python_2.7"
|
||||||
],
|
],
|
||||||
"file_denylist": [],
|
"file_denylist": [],
|
||||||
"startup": "if [[ -d .git ]] && [[ {{AUTO_UPDATE}} == \"1\" ]]; then git pull; fi; if [[ ! -z {{PY_PACKAGES}} ]]; then pip install -U --prefix .local {{PY_PACKAGES}}; fi; if [[ -f \/home\/container\/${REQUIREMENTS_FILE} ]]; then pip install -U --prefix .local -r ${REQUIREMENTS_FILE}; fi; \/usr\/local\/bin\/python \/home\/container\/{{BOT_PY_FILE}}",
|
"startup": "if [[ -d .git ]] && [[ {{AUTO_UPDATE}} == \"1\" ]]; then git pull; fi; if [[ ! -z {{PY_PACKAGES}} ]]; then pip install -U --prefix .local {{PY_PACKAGES}}; fi; if [[ -f \/home\/container\/${REQUIREMENTS_FILE} ]]; then pip install -U --prefix .local -r ${REQUIREMENTS_FILE}; fi; \/usr\/local\/bin\/python \/home\/container\/{{BOT_PY_FILE}}",
|
||||||
@ -29,8 +30,7 @@
|
|||||||
"entrypoint": "bash"
|
"entrypoint": "bash"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"variables": [
|
"variables": [{
|
||||||
{
|
|
||||||
"name": "Git Repo Address",
|
"name": "Git Repo Address",
|
||||||
"description": "Git repo to clone\r\n\r\nI.E. https:\/\/github.com\/parkervcp\/repo_name",
|
"description": "Git repo to clone\r\n\r\nI.E. https:\/\/github.com\/parkervcp\/repo_name",
|
||||||
"env_variable": "GIT_ADDRESS",
|
"env_variable": "GIT_ADDRESS",
|
||||||
|
Loading…
Reference in New Issue
Block a user