From 7e123c088fb8d2185545706620d001392f68e3a6 Mon Sep 17 00:00:00 2001 From: Rinjae Date: Tue, 9 Jun 2026 12:00:28 +0900 Subject: [PATCH] =?UTF-8?q?ci=20-=20eapim-portal=20gitea=20actions=20?= =?UTF-8?q?=EC=9B=8C=ED=81=AC=ED=94=8C=EB=A1=9C=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - master / feats/ci-test push 시 트리거 - 세 repo composite 체크아웃 후 빌드 - war 산출물 업로드 --- .gitea/workflows/eapim-portal-ci.yml | 53 ++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 .gitea/workflows/eapim-portal-ci.yml diff --git a/.gitea/workflows/eapim-portal-ci.yml b/.gitea/workflows/eapim-portal-ci.yml new file mode 100644 index 0000000..ebff156 --- /dev/null +++ b/.gitea/workflows/eapim-portal-ci.yml @@ -0,0 +1,53 @@ +name: eapim-portal CI + +on: + push: + branches: + - master + - feats/ci-test + +jobs: + build: + runs-on: [self-hosted, linux, eapim-portal] + defaults: + run: + working-directory: eapim-portal + + steps: + - name: Checkout eapim-portal (trigger SHA) + uses: actions/checkout@v4 + with: + path: eapim-portal + + - name: Checkout elink-portal-common (master) + uses: actions/checkout@v4 + with: + repository: djb-eapim/elink-portal-common + ref: master + token: ${{ secrets.GITEA_TOKEN }} + path: elink-portal-common + + - name: Checkout elink-online-core-jpa (master) + uses: actions/checkout@v4 + with: + repository: djb-eapim/elink-online-core-jpa + ref: master + token: ${{ secrets.GITEA_TOKEN }} + path: eapim-online/elink-online-core-jpa + + - name: Verify toolchain + run: | + java -version + gradle --version + + - name: Gradle build (no tests) + run: gradle clean build -x test --no-daemon + + - name: Upload WAR artifacts + uses: actions/upload-artifact@v3 + with: + name: eapim-portal-wars-${{ github.sha }} + path: | + eapim-portal/build/libs/eapim-portal.war + eapim-portal/build/libs/eapim-portal-boot.war + if-no-files-found: error