1
0
mirror of https://github.com/parkervcp/eggs.git synced 2024-10-06 23:57:07 +02:00

refactor: Migrate to Yolks fork based images

Migrates to Yolks fork based NodeJS and Python images that are rebuild every Monday to be up-to-date.
This commit is contained in:
Softwarenoob 2021-08-07 17:17:36 +03:00
parent 4446a3d79b
commit 6e82d5b2df
No known key found for this signature in database
GPG Key ID: C6172741CCF116A1
2 changed files with 22 additions and 24 deletions

View File

@ -4,17 +4,16 @@
"version": "PTDL_v1",
"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",
"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.",
"features": null,
"images": [
"quay.io\/parkervcp\/pterodactyl-images:debian_nodejs-16",
"quay.io\/parkervcp\/pterodactyl-images:debian_nodejs-15",
"quay.io\/parkervcp\/pterodactyl-images:debian_nodejs-14",
"quay.io\/parkervcp\/pterodactyl-images:debian_nodejs-12",
"quay.io\/parkervcp\/pterodactyl-images:debian_nodejs-10"
"ghcr.io\/parkervcp\/yolks:nodejs_16",
"ghcr.io\/parkervcp\/yolks:nodejs_15",
"ghcr.io\/parkervcp\/yolks:nodejs_14",
"ghcr.io\/parkervcp\/yolks:nodejs_12"
],
"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}}",
@ -22,7 +21,7 @@
"files": "{}",
"startup": "{\r\n \"done\": \"change this part\"\r\n}",
"logs": "{}",
"stop": "^c"
"stop": "^^C"
},
"scripts": {
"installation": {
@ -31,8 +30,7 @@
"entrypoint": "bash"
}
},
"variables": [
{
"variables": [{
"name": "Git Repo Address",
"description": "GitHub Repo to clone\r\n\r\nI.E. https:\/\/github.com\/parkervcp\/repo_name",
"env_variable": "GIT_ADDRESS",
@ -86,15 +84,6 @@
"user_editable": true,
"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",
"description": "Username to auth with git.",
@ -112,6 +101,15 @@
"user_viewable": true,
"user_editable": true,
"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"
}
]
}

View File

@ -4,15 +4,16 @@
"version": "PTDL_v1",
"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",
"author": "parker@parkervcp.com",
"description": "A Discord bot written in Python using discord.py\r\n\r\nhttps:\/\/github.com\/Ispira\/pixel-bot",
"features": null,
"images": [
"quay.io\/parkervcp\/pterodactyl-images:debian_python-3.9",
"quay.io\/parkervcp\/pterodactyl-images:debian_python-3.8",
"quay.io\/parkervcp\/pterodactyl-images:debian_python-2.7"
"ghcr.io\/parkervcp\/yolks:python_3.9",
"ghcr.io\/parkervcp\/yolks:python_3.8",
"ghcr.io\/parkervcp\/yolks:python_3.7",
"ghcr.io\/parkervcp\/yolks:python_2.7"
],
"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}}",
@ -29,8 +30,7 @@
"entrypoint": "bash"
}
},
"variables": [
{
"variables": [{
"name": "Git Repo Address",
"description": "Git repo to clone\r\n\r\nI.E. https:\/\/github.com\/parkervcp\/repo_name",
"env_variable": "GIT_ADDRESS",