Giter Club home page Giter Club logo

Comments (9)

dennybaa avatar dennybaa commented on June 12, 2024

Thank you for the detailed review. Now we can keep travis in our view scope. Nice!)

The first - yeah unpredictable build time is bad, but I've seen it before with a dedicated cloud node, better to have a good cloud...)

The second yeah this sucks, so travis doesn't provide us a way to do the required action (publish packages somewhere) from the box.

Third, no no we don't want and need to tie up to our existing travis workflow. We rather want to untie and simplify the "test on a git commit" stage.
It's clear that we need another CI instance for the task of building packages, and it should be triggered via argument enabled hook, this is the best case. What I mean by an argument enabled hook is that a person can initiate a build say it: build debian with arguments repo=st2-packages branch=master st2ver=0.15 st2rel=dev15.

from st2-packages.

arm4b avatar arm4b commented on June 12, 2024

There are 2 cool things about Travis I've found today also:

from st2-packages.

dennybaa avatar dennybaa commented on June 12, 2024
  1. drone also has it..., but probably we won't need s3 feature at all. Since our plan to use bintray.com.
  2. yeah, nice +1

I've just had a short look into the second thing, and was surprised - github_key goes in the travis.yml so it's seems to be public. Can you clarify this moment?

from st2-packages.

arm4b avatar arm4b commented on June 12, 2024

They most probably mean encrypted by Travis keys, see: http://docs.travis-ci.com/user/encryption-keys/ (same logic with keeping secrets encrypted, as you might have in any Configuration Management tool).

Also it's possible to set ENV variables in Travis UI.

from st2-packages.

dennybaa avatar dennybaa commented on June 12, 2024

@armab have a look https://github.com/drone/drone/tree/master/plugin/publish
wow, it seems quite extensive. And there's bintray plugin already available)

from st2-packages.

arm4b avatar arm4b commented on June 12, 2024

Nice! Drone plugin directory is definitely something we should dig into. The bad thing is that I can't find plugin dir in 0.4 branch (as you said parallel support starts from this version): https://github.com/drone/drone/tree/0.4.0 Must be hidden somewhere.


Just found that Travis has built-in deploy to Bintray also: http://docs.travis-ci.com/user/deployment/bintray/

Here is another bash example via Bintray API (simple CURL POST): https://github.com/bintray/bintray-examples/tree/master/bash-example

Ok, at least I hope we won't have problems uploading to Bintray.

from st2-packages.

arm4b avatar arm4b commented on June 12, 2024

Btw, nice page here: http://addons.drone.io/ 🍰
We should have something nice looking like this for StackStorm packs/integrations.

from st2-packages.

dennybaa avatar dennybaa commented on June 12, 2024

yeap. bintray has its API, however less scripting is what we need. So it's nice that we've got already ready bintray integrations for travis and drone, so no need in wheel reinvention)

from st2-packages.

dennybaa avatar dennybaa commented on June 12, 2024

okay Travis is not our option, we've chosen Circle CI (details here #6), so closing it.

from st2-packages.

Related Issues (20)

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.