Skip to content

lock docker image version in ci#23424

Closed
gengjiawen wants to merge 1 commit into
facebook:masterfrom
gengjiawen:feature/ci_lock_docker_version
Closed

lock docker image version in ci#23424
gengjiawen wants to merge 1 commit into
facebook:masterfrom
gengjiawen:feature/ci_lock_docker_version

Conversation

@gengjiawen
Copy link
Copy Markdown
Contributor

Summary

Lock the version will help us to test new dependency version like ndk or buck.

Test Plan

pass current ci

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Contributor A React Native contributor. Partner labels Feb 13, 2019
@gengjiawen gengjiawen requested a review from cpojer February 13, 2019 12:43
@pull-bot
Copy link
Copy Markdown

Messages
📖

📋 Missing Changelog - Can you add a Changelog? To do so, add a "## Changelog" section to your PR description. A changelog entry has the following format: [CATEGORY] [TYPE] - Message.

Generated by 🚫 dangerJS against f603ea5

@cpojer
Copy link
Copy Markdown
Contributor

cpojer commented Feb 13, 2019

How often do you expect this image to change? Can we lock it to something that doesn't have a date in it? I'm not really sure if this is better than what we have now.

@dulmandakh
Copy link
Copy Markdown
Contributor

dulmandakh commented Feb 13, 2019

IIRC, CI will try to pull images with latest tag from Docker registry and use it. And using this versioning scheme we can make sure that only working versions are used for CI, or prevent to use latest automatically.

@gengjiawen
Copy link
Copy Markdown
Contributor Author

React native is very sophisticated project in my opinion, we may update it if jdk, node, buck or any other tools release new version.

You can check the image repo here: https://github.com/react-native-community/docker-android.

@dulmandakh
Copy link
Copy Markdown
Contributor

dulmandakh commented Feb 13, 2019

@cpojer I expect that versions will be changed when we change tools versions, like JDK, SDK, NDK or BUCK.

Copy link
Copy Markdown
Contributor

@cpojer cpojer left a comment

Choose a reason for hiding this comment

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

Alright, I trust you to keep it up to date :)

@facebook-github-bot facebook-github-bot added the Import Started This pull request has been imported. This does not imply the PR has been approved. label Feb 13, 2019
Copy link
Copy Markdown
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.

@cpojer is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@gengjiawen
Copy link
Copy Markdown
Contributor Author

@cpojer If you want to involve the docker project, just let me know. I have talked to @hramos , but he has not reply my message.

@facebook-github-bot
Copy link
Copy Markdown
Contributor

I tried to merge this pull request into the Facebook internal repo but some checks failed. To unblock yourself please check the following: Does this pull request pass all open source tests on GitHub? If not please fix those. Does the code still apply cleanly on top of GitHub master? If not can please rebase. In all other cases this means some internal test failed, for example a part of a fb app won't work with this pull request. I've added the Import Failed label to this pull request so it is easy for someone at fb to find the pull request and check what failed. If you don't see anyone comment in a few days feel free to comment mentioning one of the core contributors to the project so they get a notification.

@facebook-github-bot facebook-github-bot added Import Failed and removed Import Started This pull request has been imported. This does not imply the PR has been approved. labels Feb 14, 2019
@gengjiawen
Copy link
Copy Markdown
Contributor Author

@cpojer should we import this again ?

@facebook-github-bot facebook-github-bot added the Import Started This pull request has been imported. This does not imply the PR has been approved. label Feb 14, 2019
Copy link
Copy Markdown
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.

@cpojer is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@cpojer
Copy link
Copy Markdown
Contributor

cpojer commented Feb 14, 2019

Yap! Seems like the import failed on the first try for some unknown reason.

@react-native-bot
Copy link
Copy Markdown
Collaborator

@gengjiawen merged commit 410d583 into facebook:master.

@facebook facebook locked as resolved and limited conversation to collaborators Feb 14, 2019
@react-native-bot react-native-bot added the Merged This PR has been merged. label Feb 14, 2019
@hramos hramos removed Import Failed Import Started This pull request has been imported. This does not imply the PR has been approved. labels Feb 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Component: Image Contributor A React Native contributor. Merged This PR has been merged. Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants