Skip to content
This repository has been archived by the owner on Apr 29, 2020. It is now read-only.

Be faster than Travis on go-ipfs commit to green status #5

Closed
5 of 7 tasks
victorb opened this issue Jan 29, 2017 · 5 comments
Closed
5 of 7 tasks

Be faster than Travis on go-ipfs commit to green status #5

victorb opened this issue Jan 29, 2017 · 5 comments

Comments

@victorb
Copy link
Collaborator

victorb commented Jan 29, 2017

Description

We want our new testing infrastructure to be able to fetch, build and test faster than our existing CI service does.

Acceptance Criteria

  • Making a commit/pr on go-ipfs and waiting for the commit/pr status to turn green is faster than it is on TravisCI

Tasks

  • Measure time from commit to green status with Travis
  • Make fetching commits fast
  • Make building fast
  • Make go-ipfs test run faster
    • Avoid running things that doesn't make sense to run,
      Example: don't run coverage if tests don't pass.
  • @Kubuxu to have timeboxed timeslot to figure out more tasks if necessary

Dependencies

Depends on #1
Depends on #4

@Kubuxu
Copy link
Contributor

Kubuxu commented Jan 29, 2017

I would add: [ ] Make it easy to throw more hardware at it

@Kubuxu
Copy link
Contributor

Kubuxu commented Jan 29, 2017

Some other things to consider:

  • testing utilities artifacts, I am quite sure we could shave off some time thanks to it.
  • gx sources passthrough, maybe building source ball early and passing it through

@Kubuxu
Copy link
Contributor

Kubuxu commented Jan 29, 2017

Other option would be to have a ipfs node on each worker/worker cluster (local network/data center) and then ipfs would be caching those gx sources.

If we had those nodes exclusively for the builds then they could be also used as listing of past and current dependencies.

@Kubuxu
Copy link
Contributor

Kubuxu commented Jan 29, 2017

This means that we would need gx inside the build container and I would be for keeping a prebuilt version in it. This would allow us to update gx version in every repo being built very easily.

@victorb
Copy link
Collaborator Author

victorb commented Jan 30, 2017

Thanks a lot @Kubuxu, added your points to the list of tasks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants