Commit Graph

1103 Commits

Author SHA1 Message Date
Matt McCormick
24833fb60b Merge pull request #109 from brainstorm/add_zip
Adding zip
2017-02-02 13:58:59 -05:00
Jean-Christophe Fillion-Robin
42aedb8516 Merge pull request #110 from dockcross/manylinux-update-scikit-build
manylinux: Update scikit-build to 0.5.1
2017-02-02 13:37:04 -05:00
Matt McCormick
b2b77f080a Merge pull request #107 from KalleDK/conan-support
Added conan support
2017-02-02 13:15:56 -05:00
Jean-Christophe Fillion-Robin
682d886b03 manylinux: Update scikit-build to 0.5.1
See http://scikit-build.readthedocs.io/en/latest/changes.html#scikit-build-0-5-1
2017-02-02 13:12:03 -05:00
Roman Valls Guimera
54685b5a50 Add pax and zip to manylinux as well 2017-01-30 16:15:03 +01:00
Roman Valls Guimera
438d84044f Adding zip as well since @radare requires it to bundle the release after compiling. 2017-01-30 15:47:19 +01:00
Jean-Christophe Fillion-Robin
9a398e7de8 Merge pull request #108 from brainstorm/add_pax
Add common (un)archiver, pax
2017-01-30 08:58:56 -05:00
Roman Valls Guimera
fbc429b743 Add common (un)archiver, pax 2017-01-30 12:44:53 +01:00
Kalle R. Møller
06f32e6953 Added conan
Added to README
2017-01-30 02:29:25 +01:00
Matt McCormick
06496631bf Merge pull request #105 from KalleDK/patch-1
Debian Frontend
2017-01-29 09:31:10 -05:00
Kalle Møller
3b046d9c2a Update common.debian
Removed --yes
2017-01-29 11:12:16 +01:00
Matt McCormick
bef31b599a Merge pull request #104 from thewtex/DoNotCreateContainerOnUpdate
dockcross: Do not leave dangling container on update-script
2017-01-25 18:38:10 -05:00
Matt McCormick
c25807acda dockcross: Do not leave dangling container on update-script
Addesses #103
2017-01-25 11:01:48 -05:00
Jean-Christophe Fillion-Robin
3d48e56115 Merge pull request #102 from dockcross/add-linux-mipsel
Add linux mipsel
2017-01-22 20:01:40 -05:00
pancake
dd6a3d0162 Add linux-mipsel to the README 2017-01-22 23:25:25 +01:00
pancake
ae35e5ebbe Add linux-mipsel dockcross target 2017-01-22 23:07:53 +01:00
Jean-Christophe Fillion-Robin
53c068c8a4 Merge pull request #100 from dockcross/manylinux-change-ownership-of-man-and-share-dirs
manylinux-common: Fix pip install change ownership of "man" and "share" dir
2017-01-18 17:50:14 -05:00
Jean-Christophe Fillion-Robin
66a33a7647
manylinux-common: Fix pip install change ownership of "man" and "share" dir
This commit will fix installation of packages like nose that would otherwise
fail to install with error like the following:

  Installing collected packages: nose
  Exception:
  Traceback (most recent call last):
  [...]
  Permission denied: '/opt/_internal/cpython-2.7.11-ucs2/man'
2017-01-18 15:02:18 -05:00
Matt McCormick
0eaea01158 Merge pull request #95 from dockcross/dockcross-check-for-proc-version
dockcross: Check if "/proc/version" exists and fix error on MacOSX. Fixes #94
2016-12-05 10:16:41 -08:00
Jean-Christophe Fillion-Robin
2511a92d17
dockcross: Check if "/proc/version" exists and fix error on MacOSX. Fixes #94
This commit will avoid the following error from being reported
on MacOSX:

```
docker run --rm dockcross/linux-armv7 > ./dockcross-linux-armv7
chmod +x ./dockcross-linux-armv7
./dockcross-linux-armv7 bash -c '$CC test/C/hello.c -o hello_arm'
grep: /proc/version: No such file or directory
grep: /proc/version: No such file or directory
```

Reported-by: Chris Warth <cswarth@gmail.com>
2016-12-05 01:32:14 -05:00
Matt McCormick
c2f98fe1bd Merge pull request #93 from mogenson/add-bc-package
common: add bc package
2016-11-30 07:58:04 -05:00
Mike Mogenson
b398b2d3ec common: add bc package
The 'bc' utility is required to build the 4.x Linux kernel series.
Install the package when creating a debian based image.
2016-11-29 15:37:23 -05:00
Jean-Christophe Fillion-Robin
edaf993b4d Merge pull request #92 from jcfr/capture-btrfs-error-rebased
Makefile: Fix tests removing double quote from RM variable
2016-11-29 02:49:59 -05:00
Jean-Christophe Fillion-Robin
5117ab6493
Makefile: Fix tests removing double quote from RM variable
This commit fixes a regression introduced in 6823cb1 (Makefile: Do not
specify "--rm" docker run argument when executing on CircleCI)
2016-11-28 23:47:26 -05:00
Matt McCormick
2b620ad718 Merge pull request #91 from jcfr/capture-btrfs-error-rebased
dockcross: Ensure deletion error are ignored
2016-11-28 23:16:37 -05:00
Jean-Christophe Fillion-Robin
6823cb1bd9
Makefile: Do not specify "--rm" docker run argument when executing on CircleCI
This will avoid the "Driver btrfs failed to remove" error message when
executing the command on CircleCI.
See https://circleci.com/docs/docker-btrfs-error/
2016-11-28 20:01:39 -05:00
Jean-Christophe Fillion-Robin
c0fe1e2313
dockcross: Ensure deletion error are ignored
This commit follows up on 2e71db2 (dockcross: Ignore deletion error
when running in unprivileged LXC container) by hiding the message
only when (a) the command output matches the expected error message
and (b) is executed on CircleCI.

Doing so will avoid adding "noise" to log of service like CircleCI
that are effectively running docker in unprivileged LXC container.

See #50
2016-11-28 19:50:42 -05:00
Jean-Christophe Fillion-Robin
1ca10b2f29 README: Fix typo
[ci skip]
2016-11-27 04:16:18 -05:00
Matt McCormick
0926d89d99 Merge pull request #90 from jcfr/less-verbose-docker-pull-and-push
circleci-matrix: less verbose docker push and pull
2016-11-27 00:11:59 -05:00
Jean-Christophe Fillion-Robin
5e29d1e338
circleci-matrix: less verbose docker push and pull 2016-11-26 23:58:38 -05:00
Jean-Christophe Fillion-Robin
4e040de75d
circleci-matrix: Display "Waiting for node0 - done" message on a new line 2016-11-26 23:58:38 -05:00
Jean-Christophe Fillion-Robin
824f0fb5eb Merge pull request #89 from jcfr/support-dockcross-init-hook
dockcross: Add support for per-project configuration
2016-11-26 23:02:41 -05:00
Jean-Christophe Fillion-Robin
4ad3e1a94f
dockcross: Add support for per-project configuration 2016-11-26 21:47:11 -05:00
Matt McCormick
b8317c88a0 Merge pull request #88 from jcfr/tweak-download-progress
imagefiles: Reduce wget verbosity using --progress=bar:force
2016-11-26 21:45:58 -05:00
Jean-Christophe Fillion-Robin
dee44ef426
imagefiles: Reduce wget verbosity using --progress=bar:force 2016-11-26 19:59:07 -05:00
Jean-Christophe Fillion-Robin
451715b6ec Merge pull request #86 from dockcross/depend-on-base-latest
Depend on base latest
2016-11-26 18:53:19 -05:00
Jean-Christophe Fillion-Robin
286e6b5c95
Dockerfile: Explicitly depend on "dockcross/base:latest"
As recommended in by CircleCI, explicitly specify the "latest"
tag. This will be important when we will start versioning our images.

Copied from CircleCI documentation [1]:

"Make sure you tag the image you use in the FROM command in your
Dockerfile, even if it is the default “latest” tag. Otherwise, Docker
will pull down all tags for the image you specify. This will create
significant performance problems because the save/load strategy described
above only caches the image layers (and thus tags) that you specify in
the docker save command, so other tags will be re-pulled on every build
if a tag is not specified in the FROM command."

[1] https://circleci.com/docs/docker/#caching-docker-layers
2016-11-26 18:25:08 -05:00
Jean-Christophe Fillion-Robin
1560f4c3b6
makefile/browser-asmjs: Remove now unneeded dependency to "base"
Following 09868d5 (browser-asmjs: Update to depend on existing image from
"trzeci/emscripten"), browser-asmjs does NOT depend anymore on base image.
2016-11-26 18:20:35 -05:00
Jean-Christophe Fillion-Robin
abc164e7c6
circleci-matrix: Push images as part of the test step
To workaround, CircleCI limitation [1]:

"Please note that since we do not support parallel deployment, specifying
‘parallel:true’ in the deployment phase will cause an error."

This commit moves the deployment step as the last action of the test
step. Doing so will ensure, every container will take care of pushing
images it was responsible to build.

[1] https://circleci.com/docs/parallel-manual-setup/#simple-example
2016-11-26 17:54:17 -05:00
Jean-Christophe Fillion-Robin
68393166b9
circleci-matrix: Increase timeout associated with deployment step 2016-11-26 12:50:33 -05:00
Jean-Christophe Fillion-Robin
029b402646
circle-ci-matrix: Fix deployment 2016-11-26 12:15:50 -05:00
Matt McCormick
b4e2a02e0c Merge pull request #84 from jcfr/reenable-parallel-build
Reenable parallel build
2016-11-26 11:29:40 -05:00
Jean-Christophe Fillion-Robin
7fb4b89937
ci: Update circleci-matrix to display when each sub-step starts and finishes 2016-11-25 18:18:17 -05:00
Jean-Christophe Fillion-Robin
6018cc6241
ci: Split building and waiting for base image into its own command
This should help reduce the overall time associated with the test step
and avoid reaching the 120mins cutoff time for a given command.
2016-11-25 18:12:00 -05:00
Jean-Christophe Fillion-Robin
1e4de86ca6
ci: Optimize parallel build
* style: Rename TASK to STEP
* do not pull base image after it was copied from node0 and loaded.
  It caused the current Dockerfile to be out-of-sync with the current image.
* do not pull images after loading the downloaded and up-to-date
  base.tar. It was overwriting the base.tar downloaded and loaded.
* save debian:jessie into base.tar
* use "time" command to help identify long running operation
* rename marker file from "BASE_READY" to "BASE_AVAILABLE"
* build base image only if needed.
2016-11-25 18:12:00 -05:00
Jean-Christophe Fillion-Robin
b5c2221288
Revert "Merge pull request #80 from jcfr/revert-circleci-parallel"
This reverts commit 2f31a84e65, reversing
changes made to e120e36824.
2016-11-25 18:11:21 -05:00
Jean-Christophe Fillion-Robin
e3c3859b0f Merge pull request #83 from jcfr/improve-browser-asmjs
Improve browser asmjs
2016-11-25 18:07:44 -05:00
Jean-Christophe Fillion-Robin
09868d5289
browser-asmjs: Update to depend on existing image from "trzeci/emscripten"
This commit updates the "browser-asmjs" images to avoid systematic
rebuild of emscripten sdk. Instead, it introduces dependency on the
image maintained by @trzeci

Note also:

* emscripten sdk updated from 1.36.7 to 1.36.14

* symlinking of "/bin/bash" as "/bin/sh" is reverted. This ensures other
  images including file like "common.debian" and relying on standard "sh"
  behavior will work as expected.

* workaround associated with CMakeForceCompiler has been removed from
  Dockerfile. Emscripten as been fixed.
  See https://github.com/kripken/emscripten/pull/4477

* we will revisit once official images are available.
  See https://github.com/kripken/emscripten/issues/4682
2016-11-25 15:51:42 -05:00
Jean-Christophe Fillion-Robin
46cef1a33a
common: Introduce "common.debian"
This will facilitate the configuration of other images based on debian
but *NOT* depending on the dockcross/base image.
2016-11-25 15:51:42 -05:00
Jean-Christophe Fillion-Robin
8077008a10
common: Introduce "install-ninja.sh" 2016-11-25 15:51:42 -05:00