From b9addc1eb8f526642b680e859e5fdb19fbc6864f Mon Sep 17 00:00:00 2001 From: magdev Date: Tue, 8 Feb 2022 23:55:34 +0100 Subject: [PATCH] added recipe for magdev/gitea-bundle --- .editorconfig | 8 ++++++++ index.json | 14 ++++++++++++++ .../1.0/config/packages/magdev_gitea.yaml | 5 +++++ magdev/gitea-bundle/1.0/manifest.json | 15 +++++++++++++++ 4 files changed, 42 insertions(+) create mode 100644 .editorconfig create mode 100644 index.json create mode 100644 magdev/gitea-bundle/1.0/config/packages/magdev_gitea.yaml create mode 100644 magdev/gitea-bundle/1.0/manifest.json diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..9141329 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,8 @@ +root = true + +[*] +end_of_line = lf +insert_final_newline = true +charset = utf-8 +indent_style = space +indent_size = 4 diff --git a/index.json b/index.json new file mode 100644 index 0000000..b3072e9 --- /dev/null +++ b/index.json @@ -0,0 +1,14 @@ +{ + "recipes": { + "magdev/gitea-bundle": [ + "1.0" + ] + }, + "branch": "main", + "is_contrib": true, + "_links": { + "repository": "laptop.local:4000/magdev/symfony-recipes", + "origin_template": "{package}:{version}@laptop.local:4000/magdev/symfony-recipes:main", + "recipe_template": "http://laptop.local:4000/api/v1/repos/magdev/symfony-recipes/contents/{package_dotted}/{version}/manifest.json" + } +} diff --git a/magdev/gitea-bundle/1.0/config/packages/magdev_gitea.yaml b/magdev/gitea-bundle/1.0/config/packages/magdev_gitea.yaml new file mode 100644 index 0000000..58a803d --- /dev/null +++ b/magdev/gitea-bundle/1.0/config/packages/magdev_gitea.yaml @@ -0,0 +1,5 @@ +magdev_gitea: + connections: + default: + baseurl: '%env(GITEA_BASEURL)%' + token: '%env(GITEA_ACCESS_TOKEN)%' diff --git a/magdev/gitea-bundle/1.0/manifest.json b/magdev/gitea-bundle/1.0/manifest.json new file mode 100644 index 0000000..5811571 --- /dev/null +++ b/magdev/gitea-bundle/1.0/manifest.json @@ -0,0 +1,15 @@ +{ + "bundles": { + "Magdev\\GiteaBundle\\MagdevGiteaBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "#1": "Go to your Gitea instance account and create a token", + "GITEA_ACCESS_TOKEN": "", + "GITEA_BASEURL": "" + } +}