diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index 575bbacf277..4be8425455f 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -5,6 +5,7 @@ on: push: branches: - master + - raine/copybara-test paths-ignore: - "docs/**" - "*.md" diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index af6fc3b3f36..24af825fd1b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -23,7 +23,7 @@ misk-hibernate tests expect a mysql server running on `localhost:3306` with no p the root user. You might stand up a server with a docker image, e.g. ```shell -docker run -d --rm --name "mysql-57" -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=true -e MYSQL_LOG_CONSOLE=true mysql:5.7 --sql-mode="" +docker run -d --rm --name "mysql-57" -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=true -e MYSQL_LOG_CONSOLE=true mysql:8.0.36 --sql-mode="" ``` Misk may download these Docker images as part of its tests. Because tests can time out, pre-downloading these can help resolve timeouts. diff --git a/settings.gradle.kts b/settings.gradle.kts index 88ee6f53012..c64a5ac893f 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -6,15 +6,7 @@ pluginManagement { } plugins { - id("com.gradle.develocity") version "3.17.4" -} - -dependencyResolutionManagement { - repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) - repositories { - mavenCentral() - maven(url = "https://s3-us-west-2.amazonaws.com/dynamodb-local/release") - } + id("com.gradle.develocity") version "3.17.5" } develocity { @@ -26,6 +18,14 @@ develocity { } } +dependencyResolutionManagement { + repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) + repositories { + mavenCentral() + maven(url = "https://s3-us-west-2.amazonaws.com/dynamodb-local/release") + } +} + gradle.lifecycle.beforeProject { group = when { path.startsWith(":wisp") -> "app.cash.wisp" @@ -116,3 +116,4 @@ include(":misk-transactional-jobqueue") include(":misk-warmup") include(":samples:exemplar") include(":samples:exemplarchat") +