From 4182a38b0d1f03df513f08839380e513fb6428d8 Mon Sep 17 00:00:00 2001
From: ben0i0d <ben0i0d@foxmail.com>
Date: Mon, 20 Jan 2025 02:47:57 +0800
Subject: [PATCH] disable pyflink & ansible & chapel (not support 3.12) &
 javascript(wait upstream repair)

---
 .gitea/workflows/Flow.yaml | 105 +++++++++++++++++++------------------
 Program/chapel/Dockerfile  |   2 +-
 Program/js/Dockerfile      |   2 +-
 3 files changed, 57 insertions(+), 52 deletions(-)

diff --git a/.gitea/workflows/Flow.yaml b/.gitea/workflows/Flow.yaml
index 750e336..ab49a41 100644
--- a/.gitea/workflows/Flow.yaml
+++ b/.gitea/workflows/Flow.yaml
@@ -81,36 +81,41 @@ jobs:
           context: BigData/pyspark
           tags: eoelab.org:1027/${{ gitea.repository }}:pyspark
 
-  PYFLINK:
-    runs-on: runner
-    needs: Base
-    steps:
-      - name: checkout code
-        uses: https://eoelab.org:1027/actions/checkout@v4
-      - name: pyflink build
-        uses: https://eoelab.org:1027/actions/build-push-action@v6
-        with:
-          context: BigData/pyflink
-          tags: eoelab.org:1027/${{ gitea.repository }}:pyflink
+  # PYFLINK:
+  #   runs-on: runner
+  #   needs: Base
+  #   steps:
+  #     - name: checkout code
+  #       uses: https://eoelab.org:1027/actions/checkout@v4
+  #     - name: pyflink build
+  #       uses: https://eoelab.org:1027/actions/build-push-action@v6
+  #       with:
+  #         context: BigData/pyflink
+  #         tags: eoelab.org:1027/${{ gitea.repository }}:pyflink
 
-  AGDA:
-    runs-on: runner
-    needs: Base
-    steps:
-      - name: checkout code
-        uses: https://eoelab.org:1027/actions/checkout@v4
+  # AGDA:
+  #   runs-on: runner
+  #   needs: Base
+  #   steps:
+  #     - name: checkout code
+  #       uses: https://eoelab.org:1027/actions/checkout@v4
+  #     - name: agda build
+  #       uses: https://eoelab.org:1027/actions/build-push-action@v6
+  #       with:
+  #         context: Program/agda
+  #         tags: eoelab.org:1027/${{ gitea.repository }}:agda
 
-  ANSIBLE:
-    runs-on: runner
-    needs: Base
-    steps:
-      - name: checkout code
-        uses: https://eoelab.org:1027/actions/checkout@v4
-      - name: ansible build
-        uses: https://eoelab.org:1027/actions/build-push-action@v6
-        with:
-          context: Program/ansible
-          tags: eoelab.org:1027/${{ gitea.repository }}:ansible
+  # ANSIBLE:
+  #   runs-on: runner
+  #   needs: Base
+  #   steps:
+  #     - name: checkout code
+  #       uses: https://eoelab.org:1027/actions/checkout@v4
+  #     - name: ansible build
+  #       uses: https://eoelab.org:1027/actions/build-push-action@v6
+  #       with:
+  #         context: Program/ansible
+  #         tags: eoelab.org:1027/${{ gitea.repository }}:ansible
 
   C:
     runs-on: runner
@@ -136,17 +141,17 @@ jobs:
   #         context: Program/cadabra2
   #         tags: eoelab.org:1027/${{ gitea.repository }}:cadabra2
 
-  CHAPEL:
-    runs-on: runner
-    needs: Base
-    steps:
-      - name: checkout code
-        uses: https://eoelab.org:1027/actions/checkout@v4
-      - name: chapel build
-        uses: https://eoelab.org:1027/actions/build-push-action@v6
-        with:
-          context: Program/chapel
-          tags: eoelab.org:1027/${{ gitea.repository }}:chapel
+  # CHAPEL:
+  #   runs-on: runner
+  #   needs: Base
+  #   steps:
+  #     - name: checkout code
+  #       uses: https://eoelab.org:1027/actions/checkout@v4
+  #     - name: chapel build
+  #       uses: https://eoelab.org:1027/actions/build-push-action@v6
+  #       with:
+  #         context: Program/chapel
+  #         tags: eoelab.org:1027/${{ gitea.repository }}:chapel
 
   CPP:
     runs-on: runner
@@ -220,17 +225,17 @@ jobs:
           context: Program/java
           tags: eoelab.org:1027/${{ gitea.repository }}:java
 
-  JS:
-    runs-on: runner
-    needs: Base
-    steps:
-      - name: checkout code
-        uses: https://eoelab.org:1027/actions/checkout@v4
-      - name: js build
-        uses: https://eoelab.org:1027/actions/build-push-action@v6
-        with:
-          context: Program/js
-          tags: eoelab.org:1027/${{ gitea.repository }}:js
+  # JS:
+  #   runs-on: runner
+  #   needs: Base
+  #   steps:
+  #     - name: checkout code
+  #       uses: https://eoelab.org:1027/actions/checkout@v4
+  #     - name: js build
+  #       uses: https://eoelab.org:1027/actions/build-push-action@v6
+  #       with:
+  #         context: Program/js
+  #         tags: eoelab.org:1027/${{ gitea.repository }}:js
 
   JULIA:
     runs-on: runner
diff --git a/Program/chapel/Dockerfile b/Program/chapel/Dockerfile
index 137a824..3ae4811 100644
--- a/Program/chapel/Dockerfile
+++ b/Program/chapel/Dockerfile
@@ -5,7 +5,7 @@ USER root
 WORKDIR /opt
 
 RUN apt-get update --yes && apt-get install --yes --no-install-recommends wget && apt-get clean && rm -rf /var/lib/apt/lists/* && \
-    wget https://eoelab.org:1027/ben0i0d/sources/raw/branch/main/chapel-2.2.0-1.debian12.amd64.deb
+    wget -q https://eoelab.org:1027/ben0i0d/sources/raw/branch/main/chapel-2.2.0-1.debian12.amd64.deb
 
 
 FROM eoelab.org:1027/eoeair/jupyter:py-c
diff --git a/Program/js/Dockerfile b/Program/js/Dockerfile
index 735d271..c3e190f 100644
--- a/Program/js/Dockerfile
+++ b/Program/js/Dockerfile
@@ -2,7 +2,7 @@ FROM eoelab.org:1027/eoeair/jupyter:py-c
 
 USER root
 
-RUN apt-get update --yes && apt-get install --yes nodejs npm && \
+RUN apt-get update --yes && apt-get install --no-install-recommends --yes nodejs npm && \
     apt-get clean && rm -rf /var/lib/apt/lists/*  && \
     npm config set registry https://registry.npmmirror.com && \
     npm install -g --unsafe-perm ijavascript && \