Skip to content

Conversation

@seemethere
Copy link
Member

@seemethere seemethere commented Jun 17, 2020

Stack from ghstack:

Adds the scaffolding for doing docker builds based off git rev-parse
tags to detect changes.

Basically allows us to do our previous builds while also prepping for
the new builds by just retagging our current builds as the new ones and
telling the garbage collector not to reap them.

Should also skip out on redundant builds if the image already exists
thus saving us some compute time on docker builds.

Also adds the commands to load the calculated DOCKER_TAG from a shared
workspace file.

Signed-off-by: Eli Uriegas [email protected]

Differential Revision: D22120651

Adds the scaffolding for doing docker builds based off git rev-parse
tags to detect changes.

Basically allows us to do our previous builds while also prepping for
the new builds by just retagging our current builds as the new ones and
telling the garbage collector not to reap them.

Should also skip out on redundant builds if the image already exists
thus saving us some compute time on docker builds.

Also adds the commands to load the calculated DOCKER_TAG from a shared
workspace file.

Signed-off-by: Eli Uriegas <[email protected]>

[ghstack-poisoned]
seemethere added a commit that referenced this pull request Jun 17, 2020
Adds the scaffolding for doing docker builds based off git rev-parse
tags to detect changes.

Basically allows us to do our previous builds while also prepping for
the new builds by just retagging our current builds as the new ones and
telling the garbage collector not to reap them.

Should also skip out on redundant builds if the image already exists
thus saving us some compute time on docker builds.

Also adds the commands to load the calculated DOCKER_TAG from a shared
workspace file.

Signed-off-by: Eli Uriegas <[email protected]>

ghstack-source-id: a0bd93d
Pull Request resolved: #40194
@facebook-github-bot
Copy link
Contributor

@seemethere merged this pull request in 83d7718.

xwang233 pushed a commit to xwang233/pytorch that referenced this pull request Jun 20, 2020
Summary:
Pull Request resolved: pytorch#40194

Adds the scaffolding for doing docker builds based off git rev-parse
tags to detect changes.

Basically allows us to do our previous builds while also prepping for
the new builds by just retagging our current builds as the new ones and
telling the garbage collector not to reap them.

Should also skip out on redundant builds if the image already exists
thus saving us some compute time on docker builds.

Also adds the commands to load the calculated DOCKER_TAG from a shared
workspace file.

Signed-off-by: Eli Uriegas <[email protected]>

Test Plan: Imported from OSS

Differential Revision: D22120651

Pulled By: seemethere

fbshipit-source-id: c74f10816d63f440a9e0cdd00d6fa1a25eb7a2c1
@facebook-github-bot facebook-github-bot deleted the gh/seemethere/4/head branch June 22, 2020 14:17
@ezyang ezyang mentioned this pull request Jun 29, 2020
@ezyang ezyang mentioned this pull request Jul 17, 2020
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.

5 participants