You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by oc...@apache.org on 2020/11/04 23:38:44 UTC

[trafficcontrol] branch 5.0.x updated (0271e73 -> e423368)

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

ocket8888 pushed a change to branch 5.0.x
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git.


    from 0271e73  TP: allows topology-based delivery services to be assigned to ORG servers (#5236)
     new 6592544  Fix example path in parameterprofile docs (#5242)
     new e423368  Fix GHA running when title changed (#5246)

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .github/workflows/ciab.yaml                | 11 ++++++++++-
 .github/workflows/docs.yml                 |  3 ++-
 .github/workflows/go.fmt.yml               |  3 ++-
 .github/workflows/go.unit.tests.yaml       |  3 ++-
 .github/workflows/tr.unit.tests.yaml       |  3 ++-
 .github/workflows/traffic ops.yml          |  3 ++-
 .github/workflows/traffic.ops.database.yml |  5 +++--
 .github/workflows/weasel.yml               |  4 ++--
 docs/source/api/v1/parameterprofile.rst    |  2 +-
 docs/source/api/v2/parameterprofile.rst    |  2 +-
 docs/source/api/v3/parameterprofile.rst    |  2 +-
 11 files changed, 28 insertions(+), 13 deletions(-)


[trafficcontrol] 02/02: Fix GHA running when title changed (#5246)

Posted by oc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ocket8888 pushed a commit to branch 5.0.x
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git

commit e423368c31697468f1533fafdc330cf79be6a83e
Author: ocket8888 <oc...@apache.org>
AuthorDate: Wed Nov 4 15:50:30 2020 -0700

    Fix GHA running when title changed (#5246)
    
    (cherry picked from commit 78492adfe39ebce613fb0acace3bbd29d3fed930)
---
 .github/workflows/ciab.yaml                | 11 ++++++++++-
 .github/workflows/docs.yml                 |  3 ++-
 .github/workflows/go.fmt.yml               |  3 ++-
 .github/workflows/go.unit.tests.yaml       |  3 ++-
 .github/workflows/tr.unit.tests.yaml       |  3 ++-
 .github/workflows/traffic ops.yml          |  3 ++-
 .github/workflows/traffic.ops.database.yml |  5 +++--
 .github/workflows/weasel.yml               |  4 ++--
 8 files changed, 25 insertions(+), 10 deletions(-)

diff --git a/.github/workflows/ciab.yaml b/.github/workflows/ciab.yaml
index 20fbbbb..5703b8c 100644
--- a/.github/workflows/ciab.yaml
+++ b/.github/workflows/ciab.yaml
@@ -55,10 +55,11 @@ on:
       - 'misc/**'
       - 'NOTICE'
       - 'traffic_control/java'
-    types: [ opened, reopened, edited, synchronize ]
+    types: [ opened, reopened, ready_for_review, synchronize ]
 
 jobs:
   traffic_monitor:
+    if: github.event.pull_request.draft == false
     runs-on: ubuntu-latest
     steps:
       - name: Checkout
@@ -74,6 +75,7 @@ jobs:
           path: ${{ github.workspace }}/dist/${{ github.job }}-*.rpm
 
   traffic_ops:
+    if: github.event.pull_request.draft == false
     runs-on: ubuntu-latest
     steps:
       - name: Checkout
@@ -89,6 +91,7 @@ jobs:
           path: ${{ github.workspace }}/dist/${{ github.job }}-*.rpm
 
   traffic_ops_ort:
+    if: github.event.pull_request.draft == false
     runs-on: ubuntu-latest
     steps:
       - name: Checkout
@@ -104,6 +107,7 @@ jobs:
           path: ${{ github.workspace }}/dist/${{ github.job }}-*.rpm
 
   traffic_portal:
+    if: github.event.pull_request.draft == false
     runs-on: ubuntu-latest
     steps:
       - name: Checkout
@@ -119,6 +123,7 @@ jobs:
           path: ${{ github.workspace }}/dist/${{ github.job }}-*.rpm
 
   traffic_router:
+    if: github.event.pull_request.draft == false
     runs-on: ubuntu-latest
     steps:
       - name: Checkout
@@ -141,6 +146,7 @@ jobs:
           path: ${{ github.workspace }}/dist/*.rpm
 
   traffic_stats:
+    if: github.event.pull_request.draft == false
     runs-on: ubuntu-latest
     steps:
       - name: Checkout
@@ -156,6 +162,7 @@ jobs:
           path: ${{ github.workspace }}/dist/${{ github.job }}-*.rpm
 
   grove:
+    if: github.event.pull_request.draft == false
     runs-on: ubuntu-latest
     steps:
       - name: Checkout
@@ -171,6 +178,7 @@ jobs:
           path: ${{ github.workspace }}/dist/${{ github.job }}-*.rpm
 
   grovetccfg:
+    if: github.event.pull_request.draft == false
     runs-on: ubuntu-latest
     steps:
       - name: Checkout
@@ -186,6 +194,7 @@ jobs:
           path: ${{ github.workspace }}/dist/${{ github.job }}-*.rpm
 
   ciab-build:
+    if: github.event.pull_request.draft == false
     runs-on: ubuntu-latest
     needs:
       - traffic_monitor
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 4111587..7fe7556 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -24,13 +24,14 @@ on:
       - docs/source/**
       - traffic_control/clients/python/**
   pull_request:
-    types: [opened, reopened, edited, synchronize]
+    types: [opened, reopened, read_for_review, synchronize]
     paths:
       - docs/source/**
       - traffic_control/clients/python/**
 
 jobs:
   documentation:
+    if: github.event.pull_request.draft == false
     runs-on: ubuntu-latest
     steps:
       - name: Checkout
diff --git a/.github/workflows/go.fmt.yml b/.github/workflows/go.fmt.yml
index b4a09df..ac91e4b 100644
--- a/.github/workflows/go.fmt.yml
+++ b/.github/workflows/go.fmt.yml
@@ -27,10 +27,11 @@ on:
     paths:
       - GO_VERSION
       - "**.go"
-    types: [opened, reopened, edited, synchronize]
+    types: [opened, reopened, read_for_review, synchronize]
 
 jobs:
   format:
+    if: github.event.pull_request.draft == false
     runs-on: ubuntu-latest
 
     steps:
diff --git a/.github/workflows/go.unit.tests.yaml b/.github/workflows/go.unit.tests.yaml
index 45dd623..d42cf92 100644
--- a/.github/workflows/go.unit.tests.yaml
+++ b/.github/workflows/go.unit.tests.yaml
@@ -37,10 +37,11 @@ on:
       - traffic_ops/traffic_ops_golang/**.go
       - traffic_ops_ort/atstccfg/**.go
       - traffic_stats/**.go
-    types: [opened, reopened, edited, synchronize]
+    types: [opened, reopened, ready_for_review, synchronize]
 
 jobs:
   test:
+    if: github.event.pull_request.draft == false
     runs-on: ubuntu-latest
 
     steps:
diff --git a/.github/workflows/tr.unit.tests.yaml b/.github/workflows/tr.unit.tests.yaml
index 7dc0872..58170af 100644
--- a/.github/workflows/tr.unit.tests.yaml
+++ b/.github/workflows/tr.unit.tests.yaml
@@ -25,10 +25,11 @@ on:
   pull_request:
     paths:
       - traffic_router/**
-    types: [ opened, reopened, edited, synchronize ]
+    types: [ opened, reopened, ready_for_review, synchronize ]
 
 jobs:
   tests:
+    if: github.event.pull_request.draft == false
     runs-on: ubuntu-latest
     steps:
       - name: Checkout
diff --git a/.github/workflows/traffic ops.yml b/.github/workflows/traffic ops.yml
index 5aa60bd..80d674e 100644
--- a/.github/workflows/traffic ops.yml	
+++ b/.github/workflows/traffic ops.yml	
@@ -31,11 +31,12 @@ on:
       - traffic_ops/traffic_ops_golang/**.go
       - traffic_ops/testing/api/**.go
       - traffic_ops/*client/**.go
-    types: [opened, reopened, edited, synchronize]
+    types: [opened, reopened, ready_for_review, synchronize]
 
 jobs:
 
   API_tests:
+    if: github.event.pull_request.draft == false
     runs-on: ubuntu-latest
 
     services:
diff --git a/.github/workflows/traffic.ops.database.yml b/.github/workflows/traffic.ops.database.yml
index 26987a3..7b1a85a 100644
--- a/.github/workflows/traffic.ops.database.yml
+++ b/.github/workflows/traffic.ops.database.yml
@@ -23,12 +23,13 @@ on:
     paths:
       - traffic_ops/app/db/**
   pull_request:
-    types: [opened, reopened, edited, synchronize]
+    types: [opened, reopened, ready_for_review, synchronize]
     paths:
       - traffic_ops/app/db/**
 
 jobs:
-  documentation:
+  tests:
+    if: github.event.pull_request.draft == false
     runs-on: ubuntu-latest
     steps:
       - name: Checkout
diff --git a/.github/workflows/weasel.yml b/.github/workflows/weasel.yml
index 6322e0e..ecf8a89 100644
--- a/.github/workflows/weasel.yml
+++ b/.github/workflows/weasel.yml
@@ -21,11 +21,11 @@ on:
   push:
   create:
   pull_request:
-    types: [opened, reopened, edited, synchronize]
+    types: [opened, reopened, ready_for_review, synchronize]
 
 jobs:
   weasel:
-
+    if: github.event.pull_request.draft == false
     runs-on: ubuntu-latest
 
     steps:


[trafficcontrol] 01/02: Fix example path in parameterprofile docs (#5242)

Posted by oc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ocket8888 pushed a commit to branch 5.0.x
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git

commit 65925442d3fbb5e25ca21cbe586ce707e76cf322
Author: Rawlin Peters <ra...@apache.org>
AuthorDate: Wed Nov 4 09:57:43 2020 -0700

    Fix example path in parameterprofile docs (#5242)
    
    (cherry picked from commit 54c07bdd6fa4ae1fa521d6bde21cd1327fa83585)
---
 docs/source/api/v1/parameterprofile.rst | 2 +-
 docs/source/api/v2/parameterprofile.rst | 2 +-
 docs/source/api/v3/parameterprofile.rst | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/source/api/v1/parameterprofile.rst b/docs/source/api/v1/parameterprofile.rst
index 96cf57f..c933839 100644
--- a/docs/source/api/v1/parameterprofile.rst
+++ b/docs/source/api/v1/parameterprofile.rst
@@ -36,7 +36,7 @@ Request Structure
 .. code-block:: http
 	:caption: Request Example
 
-	POST /api/1.4/profileparameter HTTP/1.1
+	POST /api/1.4/parameterprofile HTTP/1.1
 	Host: trafficops.infra.ciab.test
 	User-Agent: curl/7.47.0
 	Accept: */*
diff --git a/docs/source/api/v2/parameterprofile.rst b/docs/source/api/v2/parameterprofile.rst
index 635489b..c161302 100644
--- a/docs/source/api/v2/parameterprofile.rst
+++ b/docs/source/api/v2/parameterprofile.rst
@@ -36,7 +36,7 @@ Request Structure
 .. code-block:: http
 	:caption: Request Example
 
-	POST /api/2.0/profileparameter HTTP/1.1
+	POST /api/2.0/parameterprofile HTTP/1.1
 	Host: trafficops.infra.ciab.test
 	User-Agent: curl/7.47.0
 	Accept: */*
diff --git a/docs/source/api/v3/parameterprofile.rst b/docs/source/api/v3/parameterprofile.rst
index 580d13a..8676f76 100644
--- a/docs/source/api/v3/parameterprofile.rst
+++ b/docs/source/api/v3/parameterprofile.rst
@@ -36,7 +36,7 @@ Request Structure
 .. code-block:: http
 	:caption: Request Example
 
-	POST /api/3.0/profileparameter HTTP/1.1
+	POST /api/3.0/parameterprofile HTTP/1.1
 	Host: trafficops.infra.ciab.test
 	User-Agent: curl/7.47.0
 	Accept: */*