Code Monkey home page Code Monkey logo

openshiftio-cico-jobs's People

Contributors

aditya-konarde avatar alexeykazakov avatar aslakknutsen avatar chmouel avatar davidfestal avatar gastaldi avatar ibuziuk avatar jarifibrahim avatar jmelis avatar joshuawilson avatar katka92 avatar kbsingh avatar kwk avatar l0rd avatar ldimaggi avatar lordofthejars avatar maorfr avatar maxandersen avatar msrb avatar musienko-maxim avatar pmacik avatar pmuir avatar ppitonak avatar pranavgore09 avatar raunak1203 avatar rhopp avatar screwtsw avatar tisnik avatar vparfonov avatar vpavlin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

openshiftio-cico-jobs's Issues

oc deploy jobs should wait for deployment to finish

we should have the oc deploy commands wait for the deployment to finish and then have them report the status, into the same jenkins job that they were called from. Typically apps should go live/fail rapidly, so it wont add a lot more time to the overall job run

retry on node inventory failure

there are rate limits at 5 machines per 2 min and then 16 machines per 10 min in the centos ci infra per project, our jobs ignore the returned value from the 'cico node get' operation; we should fix this by adding a sleep 60; if the call fails and retry a few times before failing the job itself.

This wasent a problem in the past, since we only had 4 executors in jenkins, but with 8 executors, we are going to hit this a lot more frequently. specially when we have batch jobs coming up.

Cache maven dependencies used in builds

For example our Keycloak build downloads a lot of maven stuff. Some caching will help a lot to shorten the build time. And will help to avoid build failures in case of jboss nexus, etc. outages.

User "system:serviceaccount:dsaas-preview:platformdeployerbot" cannot "patch" "services" with name "bayesian-pgbouncer" in project "bayesian-preview"

Is there a different service account that I could use to deploy to bayesian-preview project on rh-idev?

+ saasherder --environment staging update hash fabric8-analytics-pgbouncer 7fa39b22d4709f6832a9a3c5c82c3c923a0d2e37
INFO:saasherder.saasherder:Current context: bay
INFO:saasherder.saasherder:Service: fabric8-analytics-pgbouncer
INFO:saasherder.saasherder:Downloading: https://raw.githubusercontent.com/fabric8-analytics/fabric8-analytics-pgbouncer/7fa39b22d4709f6832a9a3c5c82c3c923a0d2e37/openshift/template.yaml
INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): raw.githubusercontent.com
INFO:saasherder.saasherder:Services written to file bay-services/pgbouncer.yaml.
+ saasherder --environment staging pull fabric8-analytics-pgbouncer
INFO:saasherder.saasherder:Current context: bay
INFO:saasherder.saasherder:Service: fabric8-analytics-pgbouncer
INFO:saasherder.saasherder:Downloading: https://raw.githubusercontent.com/fabric8-analytics/fabric8-analytics-pgbouncer/7fa39b22d4709f6832a9a3c5c82c3c923a0d2e37/openshift/template.yaml
INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): raw.githubusercontent.com
INFO:saasherder.saasherder:Template written to bay-templates/fabric8-analytics-pgbouncer.yaml
+ saasherder --environment staging template --output-dir fabric8-analytics-pgbouncer-processed tag fabric8-analytics-pgbouncer
INFO:saasherder.saasherder:Current context: bay
INFO:saasherder.saasherder:oc process  --output yaml -f bay-templates/fabric8-analytics-pgbouncer.yaml IMAGE_TAG=7fa39b2 > fabric8-analytics-pgbouncer-processed/fabric8-analytics-pgbouncer.yaml
+ oc apply -f fabric8-analytics-pgbouncer-processed/fabric8-analytics-pgbouncer.yaml -n bayesian-preview
Error from server: User "system:serviceaccount:dsaas-preview:platformdeployerbot" cannot "patch" "deploymentconfigs" with name "bayesian-pgbouncer" in project "bayesian-preview"
Error from server: User "system:serviceaccount:dsaas-preview:platformdeployerbot" cannot "patch" "services" with name "bayesian-pgbouncer" in project "bayesian-preview"
Build step 'Execute shell' marked build as failure
Finished: FAILURE

Check availability of images when doing promote-to-prod

Images are check using check_image.py (from saasherder) in the promote-to-prod-test jobs. This validates the PRs.

However, we should also add this check to promote-to-prod tests, as there might be a lag between the PR and the merge.

Research switching from using NPM to Yarn

Yarn is a new package management system that was just released. It is significantly faster then NPM. I don't want to switch the UI to it until I know that the build system can handle it.

bringup adhoc stack instance for PR code builds

can the kompose tool be used to bringup adhoc app instances when PR builds succeed ?

we would need to limit it somewhere( at most 6 instances ? ), and the app would need to get reaped after a specified amount of time ( 12 hrs ? )

At the very least, we would need the kompose tool to create a route and allocate hostname to the UI and API ( ref: kubernetes/kompose#140 ), and we would need to setup a new account in openshift cluster that has a policy to terminate and reclaim all resources from apps after a specified amount of time.

cc: @kadel

Consider using artifacts.ci.c.o and delete old builds

The following jobs are using more than 1G on the Jenkins master. Can we consider limiting the number of old builds we keep? artifacts.ci.centos.org is available if we need longer term storage of log files or built artifacts.

  • devtools-fabric8-analytics-common-fabric8-analytics-pydoc
  • devtools-fabric8-analytics-common-fabric8-analytics-pylint
  • devtools-fabric8-analytics-server-fabric8-analytics
  • devtools-fabric8-analytics-server-fabric8-analytics-pydoc
  • devtools-fabric8-analytics-server-fabric8-analytics-pylint
  • devtools-fabric8-analytics-worker-fabric8-analytics
  • devtools-fabric8-analytics-worker-fabric8-analytics-pylint
  • devtools-fabric8-auth
  • devtools-fabric8-auth-coverage
  • devtools-fabric8-planner-f8planner
  • devtools-fabric8-ui
  • devtools-fabric8-wit
  • devtools-fabric8-wit-coverage

Rename almighty-jobs

Would it make sense to rename this repository and move it under openshiftio org? Something like openshiftio/cico-jobs ?

@kbsingh

Upgrade jenkins-jobs-builder version due to bug in 1.6.1

We are currently using version 1.6.1, and the latest one is 2.0.10.

In 1.6.1 there is a bug that prevents the correct behaviour of a yaml that has:

- job:
    name: 'status-context'
    triggers:
      - github-pull-request:
          status-context: "status context"
          success-status: "success message"

The generated XML is invalid, and the status-context does not appear. This is solved in 2.0.10.

In order to reconfigure the new jobs with 2.0.10 we would need to start with a few ones, and make sure they continue to work and expand from there. This looks like a manual task.

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.