darrenarmstrong85 / scientist

q scientist library implementation
Apache License 2.0
0 stars 0 forks source link

CI integration - Initial Investigation #4

Closed darrenarmstrong85 closed 7 years ago

darrenarmstrong85 commented 7 years ago

As a developer, having a simple way of independently verifying builds using CI triggers will improve confidence in testing

No idea how to do this yet. Need more research.

Done
darrenarmstrong85 commented 7 years ago

One mechanism for this would be Travis CI integration. But it would mean adding entirely new language support. See: https://docs.travis-ci.com/user/languages/community-supported-languages/#Adding-a-new-language

darrenarmstrong85 commented 7 years ago

Semaphore is another?

https://semaphoreci.com/docs/customizing-build-commands.html

darrenarmstrong85 commented 7 years ago

Shippable also appear to have decent support for building custom images for "unsupported" languages:

http://docs.shippable.com/ci/languages/customImages/

darrenarmstrong85 commented 7 years ago

Werker may also be another...

darrenarmstrong85 commented 7 years ago

Shippable build requires a docker image from Google Container Registry (GCR) or Amazon EC2 Container Registry ECR. Assuming GCR for now, the steps should be:

(#12)
  1. Create the docker image we need
    • Probably worth validating at this stage that you can run tests locally.
      (#13)
  2. Set up GCR / other account integration: link
  3. Push docker image to required repository link
  4. Pick up this image in shippable.yml. This includes setting language:none and a custom pre_ci_boot to pick up the required image. link
14
  1. ... Magic, to somehow link the build we need
darrenarmstrong85 commented 7 years ago

Builds running in Shippable. See #12, #13