Skip to content

Commit 1985e85

Browse files
committed
[GR-15687] Deploy to the Nexus on postmerge.
1 parent dbd417f commit 1985e85

4 files changed

Lines changed: 18 additions & 7 deletions

File tree

ci.jsonnet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ local common = import 'common.jsonnet';
1818
['mx', '-p', 'graal-nodejs', 'build', '--force-javac'],
1919
],
2020
run+: [
21-
['mx', '-p', 'graal-js', 'deploy-binary-if-master', '--skip-existing', 'graaljs-binary-snapshots'],
22-
['mx', '-p', 'graal-nodejs', 'deploy-binary-if-master', '--skip-existing', 'graalnodejs-binary-snapshots'],
21+
['mx', '-p', 'graal-js', 'deploy-binary-if-master', '--skip-existing', 'graaljs-lafo'],
22+
['mx', '-p', 'graal-nodejs', 'deploy-binary-if-master', '--skip-existing', 'graalnodejs-lafo'],
2323
],
2424
timelimit: '15:00',
2525
},

graal-js/ci.jsonnet

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,14 @@ local common = import '../common.jsonnet';
6969
timelimit: '10:00',
7070
},
7171

72+
local mavenDeploy = {
73+
run+: [
74+
['mx', '--dynamicimports', '/tools,/compiler', 'build'],
75+
['mx', '--dynamicimports', '/tools,/compiler', 'maven-deploy', '--all-suites', '--all-distribution-types', '--validate', 'full', '--licenses', 'UPL,MIT', 'graaljs-lafo'],
76+
],
77+
timelimit: '10:00',
78+
},
79+
7280
builds: [
7381
// jdk 8 - linux
7482
graalJs + common.jdk8 + common.gate + common.linux + gateGraalImport + {environment+: {GATE_TAGS: 'style,fullbuild'}} + {name: 'js-gate-style-fullbuild-graal-import-jdk8-linux-amd64'},
@@ -90,5 +98,6 @@ local common = import '../common.jsonnet';
9098
graalJs + common.jdk11 + common.gate + common.linux + gateGraalImport + {environment+: {GATE_TAGS: 'style,fullbuild'}} + {name: 'js-gate-style-fullbuild-graal-import-jdk11-linux-amd64'},
9199
graalJs + common.jdk11 + common.gate + common.linux + gateGraalTip + {environment+: {GATE_TAGS: 'default'}} + {name: 'js-gate-default-graal-tip-jdk11-linux-amd64'},
92100
graalJs + common.jdk11 + common.gate + common.linux + mavenDeployDryRun + {name: 'js-gate-maven-dry-run-jdk11-linux-amd64'},
101+
graalJs + common.jdk11 + common.gate + common.linux + common.postMerge + mavenDeploy + {name: 'js-deploy-maven-jdk11-linux-amd64'},
93102
],
94103
}

graal-js/mx.graal-js/suite.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,10 @@
3434
},
3535

3636
"repositories" : {
37-
"graaljs-binary-snapshots" : {
38-
"url": "https://curio.ssw.jku.at/nexus/content/repositories/snapshots",
39-
"licenses" : ["UPL", "MIT"]
37+
"graaljs-lafo" : {
38+
"snapshotsUrl" : "https://curio.ssw.jku.at/nexus/content/repositories/snapshots",
39+
"releasesUrl": "https://curio.ssw.jku.at/nexus/content/repositories/releases",
40+
"licenses" : ["UPL", "MIT", "GPLv2-CPE"]
4041
},
4142
},
4243

graal-nodejs/mx.graal-nodejs/suite.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@
2525
"url" : "http://www.oracle.com/technetwork/oracle-labs/program-languages/overview/index.html",
2626

2727
"repositories" : {
28-
"graalnodejs-binary-snapshots" : {
29-
"url": "https://curio.ssw.jku.at/nexus/content/repositories/snapshots",
28+
"graalnodejs-lafo" : {
29+
"snapshotsUrl" : "https://curio.ssw.jku.at/nexus/content/repositories/snapshots",
30+
"releasesUrl": "https://curio.ssw.jku.at/nexus/content/repositories/releases",
3031
"licenses" : ["UPL"]
3132
},
3233
},

0 commit comments

Comments
 (0)