bundles/gitea: use github releases instead of dl.gitea.io (which is slow)
This commit is contained in:
parent
198b2c31fb
commit
6d1a24b034
1 changed files with 4 additions and 1 deletions
|
@ -40,7 +40,10 @@ files = {
|
||||||
},
|
},
|
||||||
'/usr/local/bin/gitea': {
|
'/usr/local/bin/gitea': {
|
||||||
'content_type': 'download',
|
'content_type': 'download',
|
||||||
'source': 'https://dl.gitea.io/gitea/{version}/gitea-{version}-linux-amd64'.format(version=node.metadata['gitea']['version']),
|
#'source': 'https://dl.gitea.io/gitea/{version}/gitea-{version}-linux-amd64'.format(version=node.metadata.get('gitea/version')),
|
||||||
|
'source': 'https://github.com/go-gitea/gitea/releases/download/v{version}/gitea-{version}-linux-amd64'.format(
|
||||||
|
version=node.metadata.get('gitea/version'),
|
||||||
|
),
|
||||||
'content_hash': node.metadata.get('gitea/sha1', None),
|
'content_hash': node.metadata.get('gitea/sha1', None),
|
||||||
'mode': '0755',
|
'mode': '0755',
|
||||||
'preceded_by': {
|
'preceded_by': {
|
||||||
|
|
Loading…
Reference in a new issue