-
Notifications
You must be signed in to change notification settings - Fork 28
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 #1576 from codalab/develop
Merge develop into master
- Loading branch information
Showing
62 changed files
with
4,715 additions
and
312 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,50 @@ | ||
name: Update version.json and create PR | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
update-version: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Get release information | ||
id: get_release | ||
uses: dawidd6/action-get-latest-release@v3 | ||
with: | ||
release: true | ||
|
||
- name: Update version.json | ||
run: | | ||
echo '{ | ||
"tag_name": "${{ steps.get_release.outputs.tag_name }}", | ||
"release_name": "${{ steps.get_release.outputs.name }}", | ||
"published_at": "${{ steps.get_release.outputs.published_at }}", | ||
"body": "${{ steps.get_release.outputs.body }}" | ||
"release_url": "${{ steps.get_release.outputs.html_url }}" | ||
}' > version.json | ||
- name: Create new branch | ||
run: | | ||
git checkout -b update-version-${{ steps.get_release.outputs.tag_name }} | ||
git add version.json | ||
git commit -m "Update version.json for release ${{ steps.get_release.outputs.tag_name }}" | ||
- name: Push branch | ||
run: | | ||
git push origin update-version-${{ steps.get_release.outputs.tag_name }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v5 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
branch: update-version-${{ steps.get_release.outputs.tag_name }} | ||
title: "Update version.json for release ${{ steps.get_release.outputs.tag_name }}" | ||
body: "This PR updates version.json with the latest release information." | ||
base: develop # Target branch for the pull request |
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 |
---|---|---|
|
@@ -35,3 +35,6 @@ server_config.yaml | |
|
||
.DS_Store | ||
.DS_Store? | ||
|
||
caddy_config/ | ||
caddy_data/ |
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,20 +1,21 @@ | ||
FROM python:3.9 | ||
FROM python:3.9.20 | ||
|
||
RUN apt-get update && apt-get install -y gcc build-essential && rm -rf /var/lib/apt/lists/* | ||
|
||
ENV PYTHONUNBUFFERED 1 | ||
ENV PYTHONUNBUFFERED=1 | ||
|
||
|
||
RUN curl -sSL https://install.python-poetry.org | python3 - | ||
RUN curl -sSL https://install.python-poetry.org | python3 - --version 1.8.3 | ||
# Poetry location so future commands (below) work | ||
ENV PATH $PATH:/root/.local/bin | ||
|
||
ENV PATH=$PATH:/root/.local/bin | ||
# Want poetry to use system python of docker container | ||
RUN poetry config virtualenvs.create false | ||
RUN poetry config virtualenvs.in-project false | ||
|
||
COPY pyproject.toml ./ | ||
COPY pyproject.toml poetry.lock ./ | ||
|
||
# Install dependencies | ||
RUN poetry install | ||
|
||
RUN poetry lock | ||
RUN poetry install | ||
|
||
WORKDIR /app |
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
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,3 +1,3 @@ | ||
FROM rabbitmq:management | ||
FROM rabbitmq:3.13.7-management | ||
ARG WORKER_CONNECTION_TIMEOUT | ||
RUN echo "consumer_timeout = $WORKER_CONNECTION_TIMEOUT" >> /etc/rabbitmq/conf.d/10-defaults.conf |
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.