Compare commits

..

3 commits

Author SHA1 Message Date
89f8bd4da0 feat(aurora): v3
Some checks failed
Actions / Build Documentation (MkDocs) (push) Has been skipped
Actions / Build Documentation (MkDocs) (pull_request) Has been skipped
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 45s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 47s
2025-01-25 15:06:35 -05:00
7369f5810a
fix(devcontainer): chown workspace directory
Some checks failed
Actions / Build Documentation (MkDocs) (push) Successful in 40s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 41s
for some reason, the default `.data` mount is not owned by the `vscode` user (on my system at least), so we `chown` it to ensure that `uv run redbot-setup` can write to the directory.
2025-01-25 14:43:02 -05:00
a8bb62dcf3
fix(devcontainer): ensure pip is installed in the devcontainer
Some checks failed
Actions / Build Documentation (MkDocs) (push) Successful in 37s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 41s
this is being done because Red-DiscordBot requires pip to be installed to function, but does not declare it as a dependency. this is only a problem when uv is being used to install dependencies in an environment where pip is not present. so, we ensure pip is present!
2025-01-25 14:39:24 -05:00
2 changed files with 3 additions and 2 deletions

View file

@ -31,4 +31,5 @@ COPY --from=uv --chown=vscode: /uv /uvx /bin/
COPY --from=python --chown=vscode: /usr/local /usr/local COPY --from=python --chown=vscode: /usr/local /usr/local
RUN ln -s /usr/local/bin/python3.11 /usr/local/bin/python; \ RUN ln -s /usr/local/bin/python3.11 /usr/local/bin/python; \
python --version python --version; \
python -m ensurepip

View file

@ -30,6 +30,6 @@
"PROJECT_DIR": "/workspaces/SeaCogs" "PROJECT_DIR": "/workspaces/SeaCogs"
}, },
"mounts": ["source=seacogs-persistent-data,target=/workspaces/SeaCogs/.data,type=volume"], "mounts": ["source=seacogs-persistent-data,target=/workspaces/SeaCogs/.data,type=volume"],
"postCreateCommand": "uv sync --frozen", "postCreateCommand": "uv sync --frozen && sudo chown -R vscode:vscode /workspaces/SeaCogs/.data",
"remoteUser": "vscode" "remoteUser": "vscode"
} }