diff options
| -rw-r--r-- | jjb/yaml/admin-api-server.yaml | 16 | ||||
| -rw-r--r-- | jjb/yaml/admin-web-ui.yaml | 31 | ||||
| -rw-r--r-- | jjb/yaml/customer-api-server.yaml | 31 | ||||
| -rw-r--r-- | jjb/yaml/customer-web-ui.yaml | 31 | ||||
| -rw-r--r-- | jjb/yaml/job-scheduler-server.yaml | 31 | ||||
| -rw-r--r-- | jjb/yaml/openbook-core.yaml | 25 | ||||
| -rw-r--r-- | jjb/yaml/workflow-server.yaml | 31 | ||||
| -rw-r--r-- | salt/openbook/ansible/files/gradle.yaml | 7 |
8 files changed, 185 insertions, 18 deletions
diff --git a/jjb/yaml/admin-api-server.yaml b/jjb/yaml/admin-api-server.yaml index d5c16f4..2082873 100644 --- a/jjb/yaml/admin-api-server.yaml +++ b/jjb/yaml/admin-api-server.yaml @@ -1,13 +1,5 @@ --- - scm: - name: openbook-core - scm: - - git: - url: git@github.com:Talligent/openbook-core.git - branches: - - master - -- scm: name: admin-api-server scm: - git: @@ -15,12 +7,6 @@ branches: - master -- scm: - name: admin-api-server-combined - scm: - - openbook-core - - admin-api-server - - job: name: admin-api-server display-name: "admin-api-server" @@ -36,7 +22,7 @@ triggers: - github scm: - - admin-api-server-combined + - admin-api-server builders: - gradle: build-file: "build.gradle" diff --git a/jjb/yaml/admin-web-ui.yaml b/jjb/yaml/admin-web-ui.yaml new file mode 100644 index 0000000..03c4ec0 --- /dev/null +++ b/jjb/yaml/admin-web-ui.yaml @@ -0,0 +1,31 @@ +--- +- scm: + name: admin-web-ui + scm: + - git: + url: git@github.com:Talligent/admin-web-ui.git + branches: + - master + +- job: + name: admin-web-ui + display-name: "admin-web-ui" + project-type: freestyle + description: "Builds the admin-web-ui microservice." + node: openbook_v4 + properties: + - build-discarder: + days-to-keep: 0 + num-to-keep: 1 + artifact-days-to-keep: 0 + artifact-num-to-keep: 0 + triggers: + - github + scm: + - admin-web-ui + builders: + - gradle: + build-file: "build.gradle" + tasks: | + clean + shadowJar diff --git a/jjb/yaml/customer-api-server.yaml b/jjb/yaml/customer-api-server.yaml new file mode 100644 index 0000000..cb8e39e --- /dev/null +++ b/jjb/yaml/customer-api-server.yaml @@ -0,0 +1,31 @@ +--- +- scm: + name: customer-api-server + scm: + - git: + url: git@github.com:Talligent/customer-api-server.git + branches: + - master + +- job: + name: customer-api-server + display-name: "customer-api-server" + project-type: freestyle + description: "Builds the customer-api-server microservice." + node: openbook_v4 + properties: + - build-discarder: + days-to-keep: 0 + num-to-keep: 1 + artifact-days-to-keep: 0 + artifact-num-to-keep: 0 + triggers: + - github + scm: + - customer-api-server + builders: + - gradle: + build-file: "build.gradle" + tasks: | + clean + shadowJar diff --git a/jjb/yaml/customer-web-ui.yaml b/jjb/yaml/customer-web-ui.yaml new file mode 100644 index 0000000..b32718e --- /dev/null +++ b/jjb/yaml/customer-web-ui.yaml @@ -0,0 +1,31 @@ +--- +- scm: + name: customer-web-ui + scm: + - git: + url: git@github.com:Talligent/customer-web-ui.git + branches: + - master + +- job: + name: customer-web-ui + display-name: "customer-web-ui" + project-type: freestyle + description: "Builds the customer-web-ui microservice." + node: openbook_v4 + properties: + - build-discarder: + days-to-keep: 0 + num-to-keep: 1 + artifact-days-to-keep: 0 + artifact-num-to-keep: 0 + triggers: + - github + scm: + - customer-web-ui + builders: + - gradle: + build-file: "build.gradle" + tasks: | + clean + shadowJar diff --git a/jjb/yaml/job-scheduler-server.yaml b/jjb/yaml/job-scheduler-server.yaml new file mode 100644 index 0000000..8024b35 --- /dev/null +++ b/jjb/yaml/job-scheduler-server.yaml @@ -0,0 +1,31 @@ +--- +- scm: + name: job-scheduler-server + scm: + - git: + url: git@github.com:Talligent/job-scheduler-server.git + branches: + - master + +- job: + name: job-scheduler-server + display-name: "job-scheduler-server" + project-type: freestyle + description: "Builds the job-scheduler-server microservice." + node: openbook_v4 + properties: + - build-discarder: + days-to-keep: 0 + num-to-keep: 1 + artifact-days-to-keep: 0 + artifact-num-to-keep: 0 + triggers: + - github + scm: + - job-scheduler-server + builders: + - gradle: + build-file: "build.gradle" + tasks: | + clean + shadowJar diff --git a/jjb/yaml/openbook-core.yaml b/jjb/yaml/openbook-core.yaml new file mode 100644 index 0000000..210e782 --- /dev/null +++ b/jjb/yaml/openbook-core.yaml @@ -0,0 +1,25 @@ +--- +- scm: + name: openbook-core + scm: + - git: + url: git@github.com:Talligent/openbook-core.git + branches: + - master + +- job: + name: openbook-core + display-name: "openbook-core" + project-type: freestyle + description: "Fetches the openbook-core repo (a dependency of other microservices)." + node: openbook_v4 + properties: + - build-discarder: + days-to-keep: 0 + num-to-keep: 1 + artifact-days-to-keep: 0 + artifact-num-to-keep: 0 + triggers: + - github + scm: + - openbook-core diff --git a/jjb/yaml/workflow-server.yaml b/jjb/yaml/workflow-server.yaml new file mode 100644 index 0000000..0b41569 --- /dev/null +++ b/jjb/yaml/workflow-server.yaml @@ -0,0 +1,31 @@ +--- +- scm: + name: workflow-server + scm: + - git: + url: git@github.com:Talligent/workflow-server.git + branches: + - master + +- job: + name: workflow-server + display-name: "workflow-server" + project-type: freestyle + description: "Builds the workflow-server microservice." + node: openbook_v4 + properties: + - build-discarder: + days-to-keep: 0 + num-to-keep: 1 + artifact-days-to-keep: 0 + artifact-num-to-keep: 0 + triggers: + - github + scm: + - workflow-server + builders: + - gradle: + build-file: "build.gradle" + tasks: | + clean + shadowJar diff --git a/salt/openbook/ansible/files/gradle.yaml b/salt/openbook/ansible/files/gradle.yaml index 8d5bf6b..04bed5a 100644 --- a/salt/openbook/ansible/files/gradle.yaml +++ b/salt/openbook/ansible/files/gradle.yaml @@ -12,7 +12,7 @@ update_cache: yes when: ansible_distribution == "Ubuntu" - - name: "Install gradle package" + - name: "Install packages" apt: pkg: "{{ item }}" state: present @@ -25,7 +25,7 @@ update_cache: yes when: ansible_distribution == "RedHat" or ansible_distribution == "CentOS" - - name: "Install gradle package" + - name: "Install packages" yum: name: "{{ item }}" state: present @@ -33,10 +33,11 @@ - gradle when: ansible_distribution == "RedHat" or ansible_distribution == "CentOS" - - name: "Install icedtea package" + - name: "Install packages" portage: name: "{{ item }}" state: present with_items: - dev-java/gradle-bin + - net-libs/nodejs when: ansible_distribution == "Gentoo" |
