Coder Social home page Coder Social logo

kie-ci's Introduction

KIE-CI (former kie-jenkins-scripts)

This repository is used to store KIE either provisioned machines ansible configuration and job DSLs for jenkins.

Provisioned Machines ansible configuration

We have different kind of machines:

To test ansible playbooks

Just execute

docker run --name ansible-managed-node --privileged -p 2222:22 -d -it chusiang/ansible-managed-node:centos-7 /usr/sbin/init
ansible-playbook -e ansible_ssh_pass=root -e encrypted_password=root_pass -e rhel_version=7 kie-rhel.yml

kie-ci's People

Contributors

akoufoudakis avatar antstephenson avatar bacciotti avatar baldimir avatar christopher-chianelli avatar cristianonicolai avatar davidesalerno avatar domhanak avatar ginxo avatar gitgabrio avatar hasys avatar jakubschwan avatar lampajr avatar lucamolteni avatar mareknovotny avatar marianmacik avatar mbarkley avatar mbiarnes avatar mmagnanijr avatar msmagnanijr avatar psiroky avatar pszubiak avatar radtriste avatar rgdoliveira avatar rsynek avatar spolti avatar sutaakar avatar tmckayus avatar winklerm avatar yurloc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kie-ci's Issues

Replace internal URLs with variables

There are few places in the jenkins-slaves dir where we use internal URLs. It would be preferable to replace those with variables which are then set from Jenkins/local env when actually running the packer/ansible scripts.

Deploy new SNAPSHOTs only if there was a change in git repo

Currently the deploy job will always deploy new SNAPSHOTs, even in cases when the code actually did not change (e.g. the build is started by an upstream job). We should investigate if it is possible to deploy the artifacts only in case the SCM changed. This would speed-up the jobs a bit in most cases and would save quite a lot of bandwidth.

Replace Maven jobs with Freestyle jobs

The standard 'deploy' jobs are still using the Maven job. It adds a lot of hooks into the build and sometimes even changes the way a build is being executed. This sometimes leads to an unexpected failures, where the build works fine with just "mvn clean install", but fails in the job. These jobs need to be replaced with the Freestyle jobs, which do the Maven build exactly as expected. We can not simply update the config, Jenkins won't accept that. The old jobs first need to be deleted and new ones then re-created. We will loose the build history, but that's not a big issue.

List of issues with the Maven job type:

  • it partially ignores the MAVEN_OPTS settings. When parsing the POMs is simply does it as part of the slave.jar process. This results in OOME for big projects.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.