-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #691 from facebookresearch/dev-1.0
Mephisto 1.0 Release PR
- Loading branch information
Showing
457 changed files
with
229,738 additions
and
135,196 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: npm-check | ||
|
||
on: | ||
pull_request_target: | ||
branches: [main] | ||
|
||
jobs: | ||
mephisto-task-latest: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
- name: Install Mephisto | ||
run: pip install -e . | ||
- name: Run version sync script | ||
run: python scripts/check_npm_package_versions.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: version-sync | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: [main] | ||
|
||
jobs: | ||
mephisto-task-version: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
- name: Install Mephisto | ||
run: pip install -e . | ||
- name: Run version sync script | ||
run: python scripts/sync_mephisto_task.py check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
*.md | ||
**/build/* | ||
docs/web/static/python_api/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Using the -slim version below for minimal size. You may want to | ||
# remove -slim, or switch to -alpine if encountering issues | ||
ARG BASE_TAG=python3.9-nodejs15-slim | ||
ARG BASE_IMAGE=nikolaik/python-nodejs:$BASE_TAG | ||
|
||
FROM $BASE_IMAGE | ||
|
||
# Storybook will be launched on this port: | ||
EXPOSE 6006 | ||
|
||
COPY . /mephisto | ||
RUN mkdir ~/.mephisto | ||
|
||
WORKDIR /mephisto | ||
|
||
# The `open` package needs to be unplugged from yarn 2 ONLY for Linux | ||
# See more details here: https://github.com/yarnpkg/berry/issues/856 | ||
RUN yarn unplug -AR open | ||
|
||
RUN yarn install | ||
RUN yarn build-all | ||
|
||
|
||
# Write the mephisto config file manually for now to avoid prompt. | ||
# For bash-style string $ expansion for newlines, | ||
# we need to switch the shell to bash: | ||
SHELL ["/bin/bash", "-c"] | ||
RUN echo $'core: \n main_data_directory: /mephisto/data' >> ~/.mephisto/config.yml | ||
|
||
# Uncomment if you'd like to install the Mephisto CLI as well: | ||
# RUN cd /mephisto && ls && pip install -e . | ||
# RUN mephisto check # Run mephisto check so a mock requester gets created | ||
|
||
CMD yarn sb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.