mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-24 08:28:12 +00:00
build(yarn): increase yarn timeout and version bump (#11461)
This commit is contained in:
parent
68b188a011
commit
fe12395e8c
@ -63,7 +63,7 @@ buildscript {
|
||||
buildscript.repositories.addAll(project.repositories)
|
||||
dependencies {
|
||||
classpath 'com.linkedin.pegasus:gradle-plugins:' + pegasusVersion
|
||||
classpath 'com.github.node-gradle:gradle-node-plugin:7.0.1'
|
||||
classpath 'com.github.node-gradle:gradle-node-plugin:7.0.2'
|
||||
classpath 'io.acryl.gradle.plugin:gradle-avro-plugin:0.2.0'
|
||||
classpath 'org.springframework.boot:spring-boot-gradle-plugin:' + springBootVersion
|
||||
classpath "io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.30.0"
|
||||
|
||||
@ -19,7 +19,7 @@ node {
|
||||
version = '21.2.0'
|
||||
|
||||
// Version of Yarn to use.
|
||||
yarnVersion = '1.22.21'
|
||||
yarnVersion = '1.22.22'
|
||||
|
||||
// Base URL for fetching node distributions (set nodeDistBaseUrl if you have a mirror).
|
||||
if (project.hasProperty('nodeDistBaseUrl')) {
|
||||
@ -43,7 +43,7 @@ node {
|
||||
Wrappers around Yarn Tasks.
|
||||
*/
|
||||
task yarnInstall(type: YarnTask) {
|
||||
args = ['install']
|
||||
args = ['install', '--network-timeout', '300000']
|
||||
|
||||
// The node_modules directory can contain built artifacts, so
|
||||
// it's not really safe to cache it.
|
||||
|
||||
@ -17,7 +17,7 @@ node {
|
||||
version = '21.2.0'
|
||||
|
||||
// Version of Yarn to use.
|
||||
yarnVersion = '1.22.1'
|
||||
yarnVersion = '1.22.22'
|
||||
|
||||
// Base URL for fetching node distributions (set nodeDistBaseUrl if you have a mirror).
|
||||
if (project.hasProperty('nodeDistBaseUrl')) {
|
||||
@ -64,9 +64,9 @@ task generateJsonSchema(type: Exec, dependsOn: [':metadata-ingestion:docGen']) {
|
||||
task yarnInstall(type: YarnTask) {
|
||||
logger.info('CI = "{}"', System.env.CI)
|
||||
if (System.env.CI != null && System.env.CI == "true") {
|
||||
args = ['install','--frozen-lockfile']
|
||||
args = ['install', '--frozen-lockfile', '--network-timeout', '300000']
|
||||
} else {
|
||||
args = ['install']
|
||||
args = ['install', '--network-timeout', '300000']
|
||||
}
|
||||
|
||||
// The node_modules directory can contain built artifacts, so
|
||||
|
||||
@ -19,7 +19,7 @@ node {
|
||||
version = '21.2.0'
|
||||
|
||||
// Version of Yarn to use.
|
||||
yarnVersion = '1.22.1'
|
||||
yarnVersion = '1.22.22'
|
||||
|
||||
// Base URL for fetching node distributions (set nodeDistBaseUrl if you have a mirror).
|
||||
if (project.hasProperty('nodeDistBaseUrl')) {
|
||||
@ -42,7 +42,7 @@ node {
|
||||
task yarnInstall(type: YarnTask) {
|
||||
println "Root directory: ${project.rootDir}";
|
||||
environment = ['NODE_OPTIONS': '--openssl-legacy-provider']
|
||||
args = ['install', '--cwd', "${project.rootDir}/smoke-test/tests/cypress"]
|
||||
args = ['install', '--network-timeout', '300000', '--cwd', "${project.rootDir}/smoke-test/tests/cypress"]
|
||||
}
|
||||
|
||||
task cypressLint(type: YarnTask, dependsOn: yarnInstall) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user