[v2,1/2] examples: update/improve openpower.toml
diff mbox

Message ID 20170324030402.16619-1-andrew.donnellan@au1.ibm.com
State Superseded
Headers show

Commit Message

Andrew Donnellan March 24, 2017, 3:04 a.m. UTC
Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>

---

v1->v2:
* note that user/pass are, in fact, now optional

---
 examples/openpower.toml | 27 ++++++++++++++++++---------
 1 file changed, 18 insertions(+), 9 deletions(-)

Comments

Russell Currey March 27, 2017, 4:01 a.m. UTC | #1
On Fri, 2017-03-24 at 14:04 +1100, Andrew Donnellan wrote:
> Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
> 
> ---

WOW TESTS

Both patches:

Acked-by: Russell Currey <ruscur@russell.cc>

> 
> v1->v2:
> * note that user/pass are, in fact, now optional
> 
> ---
>  examples/openpower.toml | 27 ++++++++++++++++++---------
>  1 file changed, 18 insertions(+), 9 deletions(-)
> 
> diff --git a/examples/openpower.toml b/examples/openpower.toml
> index c362d08..98e383a 100644
> --- a/examples/openpower.toml
> +++ b/examples/openpower.toml
> @@ -21,9 +21,9 @@ private_key = "/home/ruscur/.ssh/id_rsa"
>  
>  [patchwork]
>  url = "https://russell.cc/patchwork"
> -port = 443 #optional
> -user = "ruscur" #TODO: make pushing results configurable,
> -pass = "banana" #      and these arguments optional
> +port = 443 # optional
> +user = "ruscur" # optional, needed for pushing results
> +pass = "banana" # optional, needed for pushing results
>  polling_interval = 10 # polling interval in minutes
>  
>  [jenkins]
> @@ -43,6 +43,17 @@ token = "33333333333333333333333333333333"
>      remote_uri = "git@github.com:ruscur/skiboot.git"
>      push_results = false
>  
> +        [[projects.skiboot.jobs]]
> +        job = "skiboot-compile-test-snowpatch"
> +        remote = "GIT_REPO"
> +        branch = "GIT_REF"
> +
> +        [[projects.skiboot.jobs]]
> +        job = "skiboot-boot-test-snowpatch"
> +        remote = "GIT_REPO"
> +        branch = "GIT_REF"
> +        artifact = "snowpatch.txt"
> +
>      [projects.linuxppc-dev]
>      repository = "/home/ruscur/Documents/linux"
>      branches = ["master", "powerpc-next"]
> @@ -53,16 +64,14 @@ token = "33333333333333333333333333333333"
>  
>          [[projects.linuxppc-dev.jobs]]
>          job = "linux-build-manual"
> -        remote = "GIT_REPO_TO_USE"
> -        branch = "GIT_REF_TO_BUILD"
> +        remote = "GIT_REPO"
> +        branch = "GIT_REF"
>          artifact = "snowpatch.txt"
> -        USER_EMAIL = "username"
>          DEFCONFIG_TO_USE = "pseries_le_defconfig"
>  
>          [[projects.linuxppc-dev.jobs]]
>          job = "linux-build-manual"
> -        remote = "GIT_REPO_TO_USE"
> -        branch = "GIT_REF_TO_BUILD"
> +        remote = "GIT_REPO"
> +        branch = "GIT_REF"
>          artifact = "snowpatch.txt"
> -        USER_EMAIL = "username"
>          DEFCONFIG_TO_USE = "ppc64le_defconfig"

Patch
diff mbox

diff --git a/examples/openpower.toml b/examples/openpower.toml
index c362d08..98e383a 100644
--- a/examples/openpower.toml
+++ b/examples/openpower.toml
@@ -21,9 +21,9 @@  private_key = "/home/ruscur/.ssh/id_rsa"
 
 [patchwork]
 url = "https://russell.cc/patchwork"
-port = 443 #optional
-user = "ruscur" #TODO: make pushing results configurable,
-pass = "banana" #      and these arguments optional
+port = 443 # optional
+user = "ruscur" # optional, needed for pushing results
+pass = "banana" # optional, needed for pushing results
 polling_interval = 10 # polling interval in minutes
 
 [jenkins]
@@ -43,6 +43,17 @@  token = "33333333333333333333333333333333"
     remote_uri = "git@github.com:ruscur/skiboot.git"
     push_results = false
 
+        [[projects.skiboot.jobs]]
+        job = "skiboot-compile-test-snowpatch"
+        remote = "GIT_REPO"
+        branch = "GIT_REF"
+
+        [[projects.skiboot.jobs]]
+        job = "skiboot-boot-test-snowpatch"
+        remote = "GIT_REPO"
+        branch = "GIT_REF"
+        artifact = "snowpatch.txt"
+
     [projects.linuxppc-dev]
     repository = "/home/ruscur/Documents/linux"
     branches = ["master", "powerpc-next"]
@@ -53,16 +64,14 @@  token = "33333333333333333333333333333333"
 
         [[projects.linuxppc-dev.jobs]]
         job = "linux-build-manual"
-        remote = "GIT_REPO_TO_USE"
-        branch = "GIT_REF_TO_BUILD"
+        remote = "GIT_REPO"
+        branch = "GIT_REF"
         artifact = "snowpatch.txt"
-        USER_EMAIL = "username"
         DEFCONFIG_TO_USE = "pseries_le_defconfig"
 
         [[projects.linuxppc-dev.jobs]]
         job = "linux-build-manual"
-        remote = "GIT_REPO_TO_USE"
-        branch = "GIT_REF_TO_BUILD"
+        remote = "GIT_REPO"
+        branch = "GIT_REF"
         artifact = "snowpatch.txt"
-        USER_EMAIL = "username"
         DEFCONFIG_TO_USE = "ppc64le_defconfig"