Skip to content

Conversation

@IvanKobzarev
Copy link
Contributor

@IvanKobzarev IvanKobzarev commented Nov 6, 2019

#29159

Introducing GRADLE_OFFLINE environment variable to use '--offline' gradle argument which will only use local gradle cache without network.

As it is cache and has some expiration logic - before every start of gradle 'touch' files to update last access time.

Deploying new docker images that includes prefetching to gradle cache all android dependencies, commit with update of docker images: pytorch/pytorch-ci-dockerfiles@df07dd5

Reenable android gradle jobs on CI (revert of 54e6a7e)

@IvanKobzarev IvanKobzarev changed the title [android][gradle] Gradle build offline dependencies [android][gradle] Gradle build with offline dependencies Nov 6, 2019
@IvanKobzarev IvanKobzarev force-pushed the ik_android_circleci_gradle_offline_build branch 25 times, most recently from 6cc4cd5 to 4cdd0e1 Compare November 12, 2019 17:29
@IvanKobzarev IvanKobzarev force-pushed the ik_android_circleci_gradle_offline_build branch from 4cdd0e1 to 29fa4a1 Compare November 12, 2019 19:10
@IvanKobzarev IvanKobzarev requested review from dreiss and suo November 12, 2019 19:18
@IvanKobzarev IvanKobzarev requested a review from ezyang November 12, 2019 19:18
@IvanKobzarev IvanKobzarev force-pushed the ik_android_circleci_gradle_offline_build branch from 29fa4a1 to 0ff632d Compare November 12, 2019 19:19
Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@IvanKobzarev has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@IvanKobzarev IvanKobzarev force-pushed the ik_android_circleci_gradle_offline_build branch 4 times, most recently from 49f2d11 to 7e5429c Compare November 13, 2019 01:02
@IvanKobzarev IvanKobzarev force-pushed the ik_android_circleci_gradle_offline_build branch 3 times, most recently from fc96125 to 758f530 Compare November 13, 2019 03:38
Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@IvanKobzarev has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@IvanKobzarev IvanKobzarev force-pushed the ik_android_circleci_gradle_offline_build branch from 758f530 to 53e23ae Compare November 13, 2019 06:03
Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@IvanKobzarev has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@IvanKobzarev merged this pull request in d8732b3.

@ezyang
Copy link
Contributor

ezyang commented Nov 13, 2019

It doesn't look like this is working. Make sure you test by explicitly enabling the gradle job in your PR before landing.

@facebook-github-bot facebook-github-bot deleted the ik_android_circleci_gradle_offline_build branch July 13, 2020 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants