Skip to content
This repository has been archived by the owner on Jan 7, 2022. It is now read-only.

Deploy from CircleCI to DockerHub #67

Conversation

calebmarchent
Copy link

@calebmarchent calebmarchent commented Feb 18, 2019

In CircleCI we already compile LogDevice within a Docker image. For
this iteration, of the CI to DockerHub flow, we use a targeted Dockerfile
to pulls together the compiled artefacts into a publishable Docker image;
that users can download and run; following the builder/production image
structure implemented in Docker.ubuntu.

During testing, "Illegal Instruction" crashes were observed in using the
resulting container; to resolve this we apply the PORTABLE CMake option.
See https://forums.docker.com/t/getting-illegal-instruction-when-i-run-my-program-inside-container/43919

While in the future, it is planned to only create new Dockerimages on
successful builds, this limit is omitted from the current diff pending
resolution of the current failures.

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Feb 18, 2019
@calebmarchent calebmarchent force-pushed the circleci_to_dockerhub_pipeline branch 2 times, most recently from 681cec4 to e29254c Compare February 19, 2019 14:12
In CircleCI we already compile LogDevice within a Docker image. For
this iteration, of the CI to DockerHub flow, we use a targeted Dockerfile
to pulls together the compiled artefacts into a publishable Docker image;
that users can download and run; following the builder/production image
structure implemented in Docker.ubuntu.

During testing, "Illegal Instruction" crashes were observed in using the
resulting container; to resolve this we apply the PORTABLE CMake option.
See https://forums.docker.com/t/getting-illegal-instruction-when-i-run-my-program-inside-container/43919

While in the future, it is planned to only create new Dockerimages on
successful builds, this limit is omitted from the current diff pending
resolution of the current failures.
@calebmarchent calebmarchent changed the title Attempt No.1 at Direct Deployment to DockerHub (fingerscrossed) Deploy from CircleCI to DockerHub Feb 19, 2019
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.

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

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.

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

@calebmarchent calebmarchent deleted the circleci_to_dockerhub_pipeline branch February 27, 2019 22:57
facebook-github-bot pushed a commit that referenced this pull request Oct 16, 2020
…ps.py build (#67)

Summary:
Pull Request resolved: facebook/sapling#67

With this change it will be possible to build dependencies of and run integration tests using getdeps.py.

This is the first goal of Q4 as per https://fb.quip.com/v8YzAYNSYgot: "Get Open Source version of integration tests running on Legocastle".

Before this diff:
The OSS integration tests run now on GitHub by:
- Building some test dependencies with getdeps.py
- Building some test dependencies with homebrew/apt-get
- Running tests via python script

The OSS integration tests were not running on Sandcastle.

After this diff:
The OSS integration tests run on Github by:
- Building and executing tests via getdeps.py (execution of tests happens by getdeps.py calling Make calling python script)

The OSS integration tests run on Sandcastle using the same getdeps.py setup as Github.

Reviewed By: krallin

Differential Revision: D24253268

fbshipit-source-id: cae249b72d076222673b8bbe4ec21866dcdbb253
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed Do not delete this pull request or issue due to inactivity.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants