diff --git a/conf/app.src b/conf/app.src deleted file mode 100644 index 17489bf..0000000 --- a/conf/app.src +++ /dev/null @@ -1,7 +0,0 @@ -SOURCE_URL=url of app's source -SOURCE_SUM=sha256 checksum -SOURCE_SUM_PRG=sha256sum -SOURCE_FORMAT=tar.gz -SOURCE_IN_SUBDIR=true -SOURCE_FILENAME= -SOURCE_EXTRACT=true diff --git a/manifest.toml b/manifest.toml index ec46b73..a27b12c 100644 --- a/manifest.toml +++ b/manifest.toml @@ -23,7 +23,7 @@ cpe = "???" fund = "???" [integration] -yunohost = ">= 11.1.6" +yunohost = ">= 11.1.14" # FIXME: can be replaced by a list of supported archs using the dpkg --print-architecture nomenclature (amd64/i386/armhf/arm64), for example: ["amd64", "i386"] architectures = "all" multi_instance = true @@ -74,6 +74,15 @@ ram.runtime = "50M" # See the packaging documentation for the full set # of explanation regarding the behavior and properties for each of those + [resources.sources] + + [resources.sources.main] + # This will pre-fetch the asset which can then be deployed during the install/upgrade scripts with : + # ynh_setup_source --dest_dir="$install_dir" + # You can also define other assets than "main" and add --source_id="foobar" in the previous command + url = "https://github.com/foo/bar/archive/refs/tags/v1.2.3.tar.gz" + sha256 = "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef" + [resources.system_user] # This will provision/deprovision a unix system user @@ -91,7 +100,7 @@ ram.runtime = "50M" main.url = "/" [resources.ports] - # This will pick a random port for reverse-proxying and store it as the $port setting + # This will pick a random port for reverse-proxying and store it as the $port setting [resources.apt] # This will automatically install/uninstall the following apt packages