You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by sh...@apache.org on 2023/08/16 17:21:13 UTC

[trafficcontrol] branch master updated: Build Traffic Portal v2 in CiaB CI (#7711)

This is an automated email from the ASF dual-hosted git repository.

shamrick pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git


The following commit(s) were added to refs/heads/master by this push:
     new bfe976604b Build Traffic Portal v2 in CiaB CI (#7711)
bfe976604b is described below

commit bfe976604bc9eccd6b2c277b1ce70cf9aa664fb9
Author: Zach Hoffman <zr...@apache.org>
AuthorDate: Wed Aug 16 11:21:08 2023 -0600

    Build Traffic Portal v2 in CiaB CI (#7711)
---
 .github/workflows/ciab.yaml | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/.github/workflows/ciab.yaml b/.github/workflows/ciab.yaml
index c33e01e2ea..39c6bee04c 100644
--- a/.github/workflows/ciab.yaml
+++ b/.github/workflows/ciab.yaml
@@ -167,6 +167,29 @@ jobs:
           name: ${{ github.job }}
           path: ${{ github.workspace }}/dist/${{ github.job }}-*.rpm
 
+  traffic_portal_v2:
+    if: github.event.pull_request.draft == false
+    runs-on: ubuntu-latest
+    steps:
+      - name: Checkout
+        uses: actions/checkout@master
+        with:
+          fetch-depth: 5
+      - name: Cache node modules
+        uses: actions/cache@v2
+        with:
+          path: ${{ github.workspace }}/.npm
+          key: ${{ runner.os }}-node-modules-${{ hashFiles('experimental/traffic-portal/**/package*.json') }}-
+      - name: Build RPM
+        uses: ./.github/actions/build-rpms
+        env:
+          ATC_COMPONENT: ${{ github.job }}
+      - name: Upload RPM
+        uses: actions/upload-artifact@v2
+        with:
+          name: ${{ github.job }}
+          path: ${{ github.workspace }}/dist/${{ github.job }}-*.rpm
+
   traffic_router:
     if: github.event.pull_request.draft == false
     runs-on: ubuntu-latest
@@ -307,6 +330,7 @@ jobs:
       - traffic_monitor
       - traffic_ops
       - traffic_portal
+      - traffic_portal_v2
       - traffic_router
       - traffic_stats
       - trafficserver