From 413082346ce5669c825b9e48dec5a3d50dcedaf7 Mon Sep 17 00:00:00 2001 From: Mayne0213 Date: Sun, 11 Jan 2026 00:36:04 +0900 Subject: [PATCH] CHORE(app): test Tekton CI/CD pipeline - Update about-us page timestamp - Trigger Tekton build via webhook --- .gitea/workflows/build-push.yaml | 102 ------------------------------- .github/workflows/build.yml | 73 ---------------------- .github/workflows/ci.yml | 45 -------------- nextjs/app/about-us/page.tsx | 2 +- 4 files changed, 1 insertion(+), 221 deletions(-) delete mode 100644 .gitea/workflows/build-push.yaml delete mode 100644 .github/workflows/build.yml delete mode 100644 .github/workflows/ci.yml diff --git a/.gitea/workflows/build-push.yaml b/.gitea/workflows/build-push.yaml deleted file mode 100644 index 44b865d..0000000 --- a/.gitea/workflows/build-push.yaml +++ /dev/null @@ -1,102 +0,0 @@ -name: Build and Push to Zot - -on: - push: - branches: [main] - workflow_dispatch: - -env: - REGISTRY: zot0213.kro.kr - IMAGE_NAME: jovies - -jobs: - build-and-push: - runs-on: k3s-home - steps: - - name: Create Build Job - run: | - JOB_NAME="buildah-jovies-$(echo $GITHUB_SHA | cut -c1-7)" - echo "Creating Buildah Job: $JOB_NAME" - - cat <> $GITHUB_OUTPUT - - - name: Extract metadata (tags, labels) - id: meta - uses: docker/metadata-action@v5 - with: - images: ${{ env.REGISTRY }}/${{ steps.lowercase.outputs.repo }} - tags: | - type=sha,prefix=sha-,format=long - type=raw,value=latest,enable={{is_default_branch}} - type=semver,pattern={{version}} - type=semver,pattern={{major}}.{{minor}} - - - name: Build and push Docker image - id: build - uses: docker/build-push-action@v5 - with: - context: ./nextjs - file: ./Dockerfile - push: true - platforms: linux/arm64 - tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} - cache-from: type=gha - cache-to: type=gha,mode=max - - - name: Display image information - run: | - echo "Image built and pushed successfully!" - echo "Image tags:" - echo "${{ steps.meta.outputs.tags }}" - echo "Digest: ${{ steps.build.outputs.digest }}" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index afbf679..0000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: CI - -on: - push: - branches: [main] - pull_request: - branches: [main] - -jobs: - lint-and-build: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: '20' - cache: 'npm' - cache-dependency-path: nextjs/package-lock.json - - - name: Install dependencies - working-directory: nextjs - run: npm ci - - - name: Run ESLint - working-directory: nextjs - run: npm run lint - - - name: Build Next.js application - working-directory: nextjs - run: npm run build - env: - NEXT_TELEMETRY_DISABLED: 1 - - - name: Check build output - working-directory: nextjs - run: | - if [ ! -d ".next" ]; then - echo "Build failed: .next directory not found" - exit 1 - fi - echo "Build completed successfully" diff --git a/nextjs/app/about-us/page.tsx b/nextjs/app/about-us/page.tsx index 822a137..daf1ef2 100644 --- a/nextjs/app/about-us/page.tsx +++ b/nextjs/app/about-us/page.tsx @@ -1,3 +1,3 @@ export default function AboutUs(){ - return
Practice app for K8s/argoCD/Grafana - Updated at 2026-01-09 16:02 KST
+ return
Practice app for K8s/argoCD/Grafana - Updated at 2026-01-11 00:35 KST (Tekton CI/CD)
} \ No newline at end of file