Remove placeholder workflows and ci-base manifest
All checks were successful
Test CI / test (pull_request) Successful in 4s
All checks were successful
Test CI / test (pull_request) Successful in 4s
Keep only test.yaml workflow for now. Container build workflows and ci-base Dockerfile will be added in a future PR. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
ad968eea46
commit
34211fa874
3 changed files with 0 additions and 132 deletions
|
|
@ -1,37 +0,0 @@
|
|||
name: Build CI base image
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'ci-base-v*'
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
version:
|
||||
description: 'Version (e.g. v1.0.0)'
|
||||
required: true
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: docker-builder
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Extract version from tag
|
||||
id: version
|
||||
run: |
|
||||
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
|
||||
VERSION="${{ github.event.inputs.version }}"
|
||||
else
|
||||
# Extract version from tag: ci-base-v1.0.0 -> v1.0.0
|
||||
VERSION="${GITHUB_REF_NAME#ci-base-}"
|
||||
fi
|
||||
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
|
||||
echo "Building version: $VERSION"
|
||||
|
||||
- name: Build and push
|
||||
uses: ./.forgejo/actions/build-push-image
|
||||
with:
|
||||
context: argocd/manifests/ci-base
|
||||
image_name: blumeops/ci-base
|
||||
version: ${{ steps.version.outputs.version }}
|
||||
|
|
@ -1,37 +0,0 @@
|
|||
name: Build devpi
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'devpi-v*'
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
version:
|
||||
description: 'Version (e.g. v1.0.0)'
|
||||
required: true
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: docker-builder
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Extract version from tag
|
||||
id: version
|
||||
run: |
|
||||
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
|
||||
VERSION="${{ github.event.inputs.version }}"
|
||||
else
|
||||
# Extract version from tag: devpi-v1.0.0 -> v1.0.0
|
||||
VERSION="${GITHUB_REF_NAME#devpi-}"
|
||||
fi
|
||||
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
|
||||
echo "Building version: $VERSION"
|
||||
|
||||
- name: Build and push
|
||||
uses: ./.forgejo/actions/build-push-image
|
||||
with:
|
||||
context: argocd/manifests/devpi
|
||||
image_name: blumeops/devpi
|
||||
version: ${{ steps.version.outputs.version }}
|
||||
|
|
@ -1,58 +0,0 @@
|
|||
# CI base image for Forgejo Actions
|
||||
# Used by forgejo-runner for ubuntu-latest and ubuntu-22.04 labels
|
||||
FROM ubuntu:22.04
|
||||
|
||||
# Prevent interactive prompts during package installation
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
# Install common CI tools
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
# Essential tools
|
||||
ca-certificates \
|
||||
curl \
|
||||
wget \
|
||||
git \
|
||||
jq \
|
||||
unzip \
|
||||
zip \
|
||||
# Build tools
|
||||
build-essential \
|
||||
make \
|
||||
# Python
|
||||
python3 \
|
||||
python3-pip \
|
||||
python3-venv \
|
||||
# Node.js (via nodesource for LTS)
|
||||
&& curl -fsSL https://deb.nodesource.com/setup_22.x | bash - \
|
||||
&& apt-get install -y nodejs \
|
||||
# Docker CLI (not the daemon - we mount the socket)
|
||||
&& install -m 0755 -d /etc/apt/keyrings \
|
||||
&& curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc \
|
||||
&& chmod a+r /etc/apt/keyrings/docker.asc \
|
||||
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu $(. /etc/os-release && echo "$VERSION_CODENAME") stable" > /etc/apt/sources.list.d/docker.list \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y docker-ce-cli \
|
||||
# Clean up
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Create a non-root user for running jobs
|
||||
RUN useradd -m -s /bin/bash runner \
|
||||
&& mkdir -p /home/runner/work \
|
||||
&& chown -R runner:runner /home/runner
|
||||
|
||||
# Set working directory
|
||||
WORKDIR /home/runner/work
|
||||
|
||||
# Default to runner user
|
||||
USER runner
|
||||
|
||||
# Verify installations
|
||||
RUN echo "=== CI Base Image ===" \
|
||||
&& git --version \
|
||||
&& node --version \
|
||||
&& npm --version \
|
||||
&& python3 --version \
|
||||
&& docker --version \
|
||||
&& make --version | head -1 \
|
||||
&& gcc --version | head -1
|
||||
Loading…
Add table
Add a link
Reference in a new issue