ci: use different IPFS gateway for release builds
f43f43cc...86054875
Depends on: https://github.com/status-im/status-jenkins-lib/pull/44
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
0a4d181477
commit
1b8aea87b2
|
@ -1,4 +1,4 @@
|
||||||
library 'status-jenkins-lib@v1.5.0'
|
library 'status-jenkins-lib@v1.5.1'
|
||||||
|
|
||||||
/* Options section can't access functions in objects. */
|
/* Options section can't access functions in objects. */
|
||||||
def isPRBuild = utils.isPRBuild()
|
def isPRBuild = utils.isPRBuild()
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
library 'status-jenkins-lib@v1.5.0'
|
library 'status-jenkins-lib@v1.5.1'
|
||||||
|
|
||||||
pipeline {
|
pipeline {
|
||||||
agent { label 'linux' }
|
agent { label 'linux' }
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
library 'status-jenkins-lib@v1.5.0'
|
library 'status-jenkins-lib@v1.5.1'
|
||||||
|
|
||||||
/* Options section can't access functions in objects. */
|
/* Options section can't access functions in objects. */
|
||||||
def isPRBuild = utils.isPRBuild()
|
def isPRBuild = utils.isPRBuild()
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
library 'status-jenkins-lib@v1.5.0'
|
library 'status-jenkins-lib@v1.5.1'
|
||||||
|
|
||||||
pipeline {
|
pipeline {
|
||||||
agent { label params.AGENT_LABEL }
|
agent { label params.AGENT_LABEL }
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
library 'status-jenkins-lib@v1.5.0'
|
library 'status-jenkins-lib@v1.5.1'
|
||||||
|
|
||||||
pipeline {
|
pipeline {
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
library 'status-jenkins-lib@v1.5.0'
|
library 'status-jenkins-lib@v1.5.1'
|
||||||
|
|
||||||
pipeline {
|
pipeline {
|
||||||
agent { label 'macos' }
|
agent { label 'macos' }
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
library 'status-jenkins-lib@v1.5.0'
|
library 'status-jenkins-lib@v1.5.1'
|
||||||
|
|
||||||
pipeline {
|
pipeline {
|
||||||
agent { label 'linux' }
|
agent { label 'linux' }
|
||||||
|
|
|
@ -12,7 +12,10 @@
|
||||||
abi-include = "armeabi-v7a;arm64-v8a;x86"; # Android architectures to build for
|
abi-include = "armeabi-v7a;arm64-v8a;x86"; # Android architectures to build for
|
||||||
};
|
};
|
||||||
|
|
||||||
status-go = { src-override = null; };
|
status-go = {
|
||||||
|
src-override = null;
|
||||||
|
ipfs-gateway-url = "https://ipfs.status.im/";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Android SDK requires an accepted license
|
# Android SDK requires an accepted license
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ lib, callPackage, mkShell }:
|
{ lib, callPackage, mkShell }:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (lib) attrValues mapAttrs;
|
inherit (lib) getConfig attrValues mapAttrs;
|
||||||
|
|
||||||
# Metadata common to all builds of status-go
|
# Metadata common to all builds of status-go
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -17,6 +17,8 @@ let
|
||||||
goBuildParams = {
|
goBuildParams = {
|
||||||
GitCommit = source.rev;
|
GitCommit = source.rev;
|
||||||
Version = source.cleanVersion;
|
Version = source.cleanVersion;
|
||||||
|
# FIXME: This should be moved to status-go config.
|
||||||
|
IpfsGatewayURL = getConfig "status-go.ipfs-gateway-url" "https://ipfs.status.im/";
|
||||||
};
|
};
|
||||||
|
|
||||||
# These are necessary for status-go to show correct version
|
# These are necessary for status-go to show correct version
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
"_comment": "Instead use: scripts/update-status-go.sh <rev>",
|
"_comment": "Instead use: scripts/update-status-go.sh <rev>",
|
||||||
"owner": "status-im",
|
"owner": "status-im",
|
||||||
"repo": "status-go",
|
"repo": "status-go",
|
||||||
"version": "v0.106.2",
|
"version": "v0.107.0",
|
||||||
"commit-sha1": "f43f43cc30e56d342cf8d25d2e0e56aecc83fa6e",
|
"commit-sha1": "86054875a4f0296ed38858553448dfe92c14da9c",
|
||||||
"src-sha256": "0j9xgkblv56h3vvkiwsy3wnwazs0fcs4z3f3mvlvs058vpdkv9hw"
|
"src-sha256": "1mw6v20h20g1zy30qs97ys2dv5nggzvdbfmdfygwvf3fj018yklg"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue