Makiung sure there are no interactive prompts.
Some checks failed
Tests / Build and Push CICD Image (push) Failing after 12m32s
Tests / Prettier Format Check (push) Has been skipped
Tests / Trailing Whitespace Check (push) Has been skipped
Tests / Ruff Linting (push) Has been skipped
Tests / YAML Syntax Check (push) Has been skipped
Tests / TOML Syntax Check (push) Has been skipped
Tests / Pyright Type Check (push) Has been skipped
Tests / Mixed Line Ending Check (push) Has been skipped
Tests / End of File Check (push) Has been skipped
Tests / TOML Formatting Check (push) Has been skipped
Tests / Frontend Tests (push) Has been skipped
Tests / Darglint Docstring Check (push) Has been skipped
Tests / Integration Tests (push) Has been skipped
Tests / No Docstring Types Check (push) Has been skipped
Tests / ESLint Check (push) Has been skipped
Tests / TypeScript Type Check (push) Has been skipped
Tests / TSDoc Lint Check (push) Has been skipped
Tests / End-to-End Tests (push) Has been skipped
Tests / Ruff Format Check (push) Has been skipped
Tests / Backend Tests (push) Has been skipped
Tests / Backend Doctests (push) Has been skipped
Some checks failed
Tests / Build and Push CICD Image (push) Failing after 12m32s
Tests / Prettier Format Check (push) Has been skipped
Tests / Trailing Whitespace Check (push) Has been skipped
Tests / Ruff Linting (push) Has been skipped
Tests / YAML Syntax Check (push) Has been skipped
Tests / TOML Syntax Check (push) Has been skipped
Tests / Pyright Type Check (push) Has been skipped
Tests / Mixed Line Ending Check (push) Has been skipped
Tests / End of File Check (push) Has been skipped
Tests / TOML Formatting Check (push) Has been skipped
Tests / Frontend Tests (push) Has been skipped
Tests / Darglint Docstring Check (push) Has been skipped
Tests / Integration Tests (push) Has been skipped
Tests / No Docstring Types Check (push) Has been skipped
Tests / ESLint Check (push) Has been skipped
Tests / TypeScript Type Check (push) Has been skipped
Tests / TSDoc Lint Check (push) Has been skipped
Tests / End-to-End Tests (push) Has been skipped
Tests / Ruff Format Check (push) Has been skipped
Tests / Backend Tests (push) Has been skipped
Tests / Backend Doctests (push) Has been skipped
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
This commit is contained in:
@@ -1,6 +1,13 @@
|
|||||||
# CICD Setup - Clean base image with development tools only
|
# CICD Setup - Clean base image with development tools only
|
||||||
FROM ubuntu:22.04
|
FROM ubuntu:22.04
|
||||||
|
|
||||||
|
# Set timezone and make installs non-interactive
|
||||||
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
ENV TZ=America/New_York
|
||||||
|
|
||||||
|
# Configure timezone
|
||||||
|
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||||
|
|
||||||
# Install system dependencies
|
# Install system dependencies
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
git \
|
git \
|
||||||
@@ -9,10 +16,11 @@ RUN apt-get update && apt-get install -y \
|
|||||||
software-properties-common \
|
software-properties-common \
|
||||||
build-essential \
|
build-essential \
|
||||||
openssh-client \
|
openssh-client \
|
||||||
|
tzdata \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Install Python 3.13
|
# Install Python 3.13
|
||||||
RUN add-apt-repository ppa:deadsnakes/ppa \
|
RUN add-apt-repository -y ppa:deadsnakes/ppa \
|
||||||
&& apt-get update && apt-get install -y \
|
&& apt-get update && apt-get install -y \
|
||||||
python3.13 \
|
python3.13 \
|
||||||
python3.13-venv \
|
python3.13-venv \
|
||||||
@@ -21,7 +29,7 @@ RUN add-apt-repository ppa:deadsnakes/ppa \
|
|||||||
|
|
||||||
# Install Node.js 24
|
# Install Node.js 24
|
||||||
RUN curl -fsSL https://deb.nodesource.com/setup_24.x | bash - \
|
RUN curl -fsSL https://deb.nodesource.com/setup_24.x | bash - \
|
||||||
&& apt-get install -y nodejs \
|
&& apt-get update && apt-get install -y nodejs \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Enable corepack for yarn and set up Yarn Berry
|
# Enable corepack for yarn and set up Yarn Berry
|
||||||
@@ -44,11 +52,15 @@ RUN if [ -n "$SSH_PRIVATE_KEY" ]; then \
|
|||||||
mkdir -p ~/.ssh && \
|
mkdir -p ~/.ssh && \
|
||||||
echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa && \
|
echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa && \
|
||||||
chmod 600 ~/.ssh/id_rsa && \
|
chmod 600 ~/.ssh/id_rsa && \
|
||||||
|
echo "Host *" > ~/.ssh/config && \
|
||||||
|
echo " StrictHostKeyChecking no" >> ~/.ssh/config && \
|
||||||
|
echo " UserKnownHostsFile /dev/null" >> ~/.ssh/config && \
|
||||||
|
chmod 600 ~/.ssh/config && \
|
||||||
ssh-keyscan -p 2222 dogar.darkhelm.org >> ~/.ssh/known_hosts 2>/dev/null; \
|
ssh-keyscan -p 2222 dogar.darkhelm.org >> ~/.ssh/known_hosts 2>/dev/null; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Clone repository
|
# Clone repository
|
||||||
RUN GIT_SSH_COMMAND="ssh -o StrictHostKeyChecking=no" \
|
RUN GIT_SSH_COMMAND="ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" \
|
||||||
git clone --depth 1 --branch main \
|
git clone --depth 1 --branch main \
|
||||||
ssh://git@dogar.darkhelm.org:2222/DarkHelm.org/plex-playlist.git . && \
|
ssh://git@dogar.darkhelm.org:2222/DarkHelm.org/plex-playlist.git . && \
|
||||||
if [ -n "$GITHUB_SHA" ]; then \
|
if [ -n "$GITHUB_SHA" ]; then \
|
||||||
|
|||||||
Reference in New Issue
Block a user