-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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 #10163 from freqtrade/new_release
New release 2024.4
- Loading branch information
Showing
148 changed files
with
4,296 additions
and
1,260 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,42 +1,37 @@ | ||
{ | ||
"name": "freqtrade Develop", | ||
"build": { | ||
"dockerfile": "Dockerfile", | ||
"context": ".." | ||
}, | ||
"image": "ghcr.io/freqtrade/freqtrade-devcontainer:latest", | ||
// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
"forwardPorts": [ | ||
8080 | ||
], | ||
"mounts": [ | ||
"source=freqtrade-bashhistory,target=/home/ftuser/commandhistory,type=volume" | ||
], | ||
"workspaceMount": "source=${localWorkspaceFolder},target=/workspaces/freqtrade,type=bind,consistency=cached", | ||
// Uncomment to connect as a non-root user if you've added one. See https://aka.ms/vscode-remote/containers/non-root. | ||
"remoteUser": "ftuser", | ||
|
||
"onCreateCommand": "pip install --user -e .", | ||
"postCreateCommand": "freqtrade create-userdir --userdir user_data/", | ||
|
||
"workspaceFolder": "/workspaces/freqtrade", | ||
"customizations": { | ||
"settings": { | ||
"terminal.integrated.shell.linux": "/bin/bash", | ||
"editor.insertSpaces": true, | ||
"files.trimTrailingWhitespace": true, | ||
"[markdown]": { | ||
"files.trimTrailingWhitespace": false, | ||
"vscode": { | ||
"settings": { | ||
"terminal.integrated.shell.linux": "/bin/bash", | ||
"editor.insertSpaces": true, | ||
"files.trimTrailingWhitespace": true, | ||
"[markdown]": { | ||
"files.trimTrailingWhitespace": false, | ||
}, | ||
"python.pythonPath": "/usr/local/bin/python", | ||
}, | ||
"python.pythonPath": "/usr/local/bin/python", | ||
}, | ||
|
||
// Add the IDs of extensions you want installed when the container is created. | ||
"extensions": [ | ||
"ms-python.python", | ||
"ms-python.vscode-pylance", | ||
"davidanson.vscode-markdownlint", | ||
"ms-azuretools.vscode-docker", | ||
"vscode-icons-team.vscode-icons", | ||
], | ||
// Add the IDs of extensions you want installed when the container is created. | ||
"extensions": [ | ||
"ms-python.python", | ||
"ms-python.vscode-pylance", | ||
"ms-python.isort", | ||
"davidanson.vscode-markdownlint", | ||
"ms-azuretools.vscode-docker", | ||
"vscode-icons-team.vscode-icons", | ||
"github.vscode-github-actions", | ||
], | ||
} | ||
} | ||
} |
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,21 @@ | ||
FROM freqtradeorg/freqtrade:develop_freqairl | ||
|
||
USER root | ||
# Install dependencies | ||
COPY requirements-dev.txt /freqtrade/ | ||
|
||
ARG USERNAME=ftuser | ||
|
||
RUN apt-get update \ | ||
&& apt-get -y install --no-install-recommends apt-utils dialog git ssh vim build-essential zsh \ | ||
&& apt-get clean \ | ||
&& mkdir -p /home/${USERNAME}/.vscode-server /home/${USERNAME}/.vscode-server-insiders /home/${USERNAME}/commandhistory \ | ||
&& chown ${USERNAME}:${USERNAME} -R /home/${USERNAME}/.local/ \ | ||
&& chown ${USERNAME}: -R /home/${USERNAME}/ | ||
|
||
USER ftuser | ||
|
||
RUN pip install --user autopep8 -r docs/requirements-docs.txt -r requirements-dev.txt --no-cache-dir | ||
|
||
# Empty the ENTRYPOINT to allow all commands | ||
ENTRYPOINT [] |
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,12 @@ | ||
{ | ||
"name": "freqtrade Dev container image builder", | ||
"build": { | ||
"dockerfile": "Dockerfile", | ||
"context": "../../" | ||
}, | ||
"features": { | ||
"ghcr.io/devcontainers/features/common-utils:2": { | ||
}, | ||
"ghcr.io/stuartleeks/dev-container-features/shell-history:0.0.3": {} | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Devcontainer Pre-Build | ||
|
||
on: | ||
workflow_dispatch: | ||
# push: | ||
# branches: | ||
# - "master" | ||
# tags: | ||
# - "v*.*.*" | ||
# pull_requests: | ||
# branches: | ||
# - "master" | ||
|
||
concurrency: | ||
group: "${{ github.workflow }}" | ||
cancel-in-progress: true | ||
|
||
permissions: | ||
packages: write | ||
|
||
jobs: | ||
build-and-push: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- | ||
name: Checkout | ||
id: checkout | ||
uses: actions/checkout@v4 | ||
- | ||
name: Login to GitHub Container Registry | ||
uses: docker/login-action@v3 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
- | ||
name: Pre-build dev container image | ||
uses: devcontainers/ci@v0.3 | ||
with: | ||
subFolder: .github | ||
imageName: ghcr.io/${{ github.repository }}-devcontainer | ||
cacheFrom: ghcr.io/${{ github.repository }}-devcontainer | ||
push: always |
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,4 +1,4 @@ | ||
FROM python:3.12.2-slim-bookworm as base | ||
FROM python:3.12.3-slim-bookworm as base | ||
|
||
# Setup env | ||
ENV LANG C.UTF-8 | ||
|
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
Binary file renamed
BIN
+14.8 MB
...arrow-15.0.2-cp311-cp311-linux_armv7l.whl → ...arrow-16.0.0-cp311-cp311-linux_armv7l.whl
Binary file not shown.
Binary file renamed
BIN
+14.8 MB
...pyarrow-15.0.2-cp39-cp39-linux_armv7l.whl → ...pyarrow-16.0.0-cp39-cp39-linux_armv7l.whl
Binary file not shown.
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
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.