# repo_config_data.py # text snippets per platform that help users to # - register linux repositories # - install linux packages # - and optionally install a key so that automatic updates come in. # # The text blocks are plain text shell commands. Variable substitution is available. # Variables are written in {Variable} notation, the available variables are: # - {DownloadUrl} # your download url path up to the platform specific folders (HTTP) # - {DownloadUrlCred} # as DownloadUrl including user and password credendtials, if any. # - {DownloadUrlHttps} # as DownloadUrl, but with enforced https:// used for gpg keys # - {DownloadUrlHttpsCred} # as DownloadUrlHttps including user and password credendtials, if any. # - {Platform} # Build target name, as seen in the Build Service. # - {BasePlatform} # Build target grouping. Platform without versions and such. # - {Package} # Name of the Linux package (testpilot-cloud) # - {Version} # 1.7.2~Beta1 # - {VersionRel} # 1.7.2~Beta1-2.1 # # We don't have the manual download in the entry_template. It cannot work for the clients. #
Download packages manually (without adding a repo)
[Generic] download_url: {DownloadUrlCred}/{Platform}/ entry_template:{Platform} {Package}-{VersionRel}
{key_help}
{key_sh}
{repo_help}
{repo_sh}
{repo_help2}
{repo_sh2}
Run the following shell command to trust the repository. [CentOS] base: YUM [CentOS_6_PHP54] base: CentOS repo_sh: sudo yum install -y --nogpgcheck centos-release-SCL sudo wget {DownloadUrlCred}/{Platform}/{Package}.repo -O /etc/yum.repos.d/{Package}.repo sudo yum clean all sudo yum install {Package} sudo yum upgrade {Package} [CentOS_6_PHP55] base: CentOS repo_sh: sudo yum install -y https://www.softwarecollections.org/en/scls/rhscl/php55/epel-6-x86_64/download/rhscl-php55-epel-6-x86_64.noarch.rpm sudo yum install -y https://www.softwarecollections.org/en/scls/rhscl/httpd24/epel-6-x86_64/download/rhscl-httpd24-epel-6-x86_64.noarch.rpm sudo wget {DownloadUrlCred}/{Platform}/{Package}.repo -O /etc/yum.repos.d/{Package}.repo sudo yum clean all sudo yum install {Package} sudo yum upgrade {Package} [CentOS_6_PHP56] base: CentOS repo_sh: sudo yum install -y https://www.softwarecollections.org/en/scls/rhscl/rh-php56/epel-6-x86_64/download/rhscl-rh-php56-epel-6-x86_64.noarch.rpm sudo yum install -y https://www.softwarecollections.org/en/scls/rhscl/httpd24/epel-6-x86_64/download/rhscl-httpd24-epel-6-x86_64.noarch.rpm sudo wget {DownloadUrlCred}/{Platform}/{Package}.repo -O /etc/yum.repos.d/{Package}.repo sudo yum clean all sudo yum install {Package} sudo yum upgrade {Package} [Fedora] base: DNF [RHEL_6] base: YUM [RHEL] base: DNF [openSUSE] base: ZYP [SLE] base: ZYP