Commit Graph

20 Commits

Author SHA1 Message Date
Ted Hess 2dcab943cf CircleCI: Filter out Makefile in files and src directories when checking for modified packages
Signed-off-by: Ted Hess <thess@kitschensync.net>
2018-12-29 12:47:45 -05:00
Ted Hess 422cd11b5a CircleCI: Add bzr to Docker image. Update to v1.0.2
Signed-off-by: Ted Hess <thess@kitschensync.net>
2018-12-18 16:24:04 -05:00
Ted Hess fb758431af CircleCI: Remove version info from SDK filename.
Signed-off-by: Ted Hess <thess@kitschensync.net>
2018-12-17 15:07:13 -05:00
Ted Hess 2b6d26b8ec CircleCI: Update SDK / gcc version bump
Signed-off-by: Ted Hess <thess@kitschensync.net>
2018-12-15 16:37:04 -05:00
Ted Hess 761b00c5e9 CircleCI: Fix Debian grep compatibility
Signed-off-by: Ted Hess <thess@kitschensync.net>
2018-12-15 15:53:46 -05:00
Ted Hess 5a444fcc60 CircleCI: Allow '+' in package name subject check
Signed-off-by: Ted Hess <thess@kitschensync.net>
2018-12-15 11:34:19 -05:00
Ted Hess e6e7b5211a CircleCI: Add package checks and HASH verify from Travis. Fix build log generation.
Signed-off-by: Ted Hess <thess@kitschensync.net>
2018-12-09 10:37:30 -05:00
Ted Hess 1c2c18a16a CircleCI: Do not run build as root. Move to public docker repo.
Change docker hub repository to 'openwrtorg'.
Create and use non-root user 'build'. Add xz-utils and unzip.
Use version numbers for docker images (SHA has no sense of time).
Disable pipefail in build step

Signed-off-by: Ted Hess <thess@kitschensync.net>
2018-12-05 15:28:36 -05:00
Ted Hess e47ca98a5e build,circleci: Updates with additional checks from travis scripts.
Checking:
- Pull request does not contain unwanted merges
- signed-off-by tag exists and matches author
- Subject line has package name
- Author name has 'firstname lastname' (no nicknames)

Signed-off-by: Ted Hess <thess@kitschensync.net>
[Use git instead of CircleCI variables]
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2018-11-24 22:18:05 -05:00
Etienne Champetier c3c3252ab5 build,circleci: add curl & wget to base image
curl was present in latest image but seems to have been remove from latest debian:9

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2018-11-24 20:46:39 -05:00
Ted Hess 37ddc58ab9 CircleCI: Fix URL references to openwrt.org
Signed-off-by: Ted Hess <thess@kitschensync.net>
2018-11-13 11:24:50 -05:00
Etienne Champetier 7d38990928 build,circleci: fix container digest
I used podman/buildah to build this image, and the local sha256 is not the same than
the docker hub sha256. The layers are the same, so maybe just docker hub changing the manifest

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2018-11-03 08:53:48 -04:00
Etienne Champetier d6292dcd9e build,circleci: add 'time' to container build image
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2018-11-03 00:03:44 -04:00
Etienne Champetier abf461a95a build,circleci: make BRANCH a variable
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2018-10-29 20:27:23 -04:00
Etienne Champetier e5574ea957 build,circleci: add python to docker build image
This is needed to build ca-certificates

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2018-10-29 02:07:26 -04:00
Etienne Champetier 4aeeeb65d4 build,circleci: enable CircleCI workflows
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2018-10-28 23:26:25 -04:00
Etienne Champetier c48f3f6fbd build,circleci: change exclude pattern
Even when configured to only build PR, CircleCI always build the default branch
`only: /pull.*/` seems like a good idea, but it fails when:
- you are testing on the same repo, because github doesn't create a pull branch
- when your repo is configured, because it see the push on your repo,
prevent building this commit because it doesn't match the regexp, then when you
do the PR CircleCI doesn't work
In the end what we really want is `ignore: master`

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2018-10-28 22:01:58 -04:00
Etienne Champetier cd315ec4e2 build,circleci: fixup pkgs list generation
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2018-10-28 20:18:01 -04:00
Etienne Champetier 4ebb869a94 build,circleci: make compile verbose to avoid timeout
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2018-10-23 16:40:04 -04:00
Etienne Champetier 4c1a67278f build: add CircleCI
The big advantages are:
- everyone can download the build logs and the ipks
- we use our own docker image
- people with commit access can ssh into the build env

The disadvantages:
- need to push new commits to restart the build

I haven't reimplemented the commit message checks as this should be replaced
with a separate script doing only that so we can require it
(https://help.github.com/articles/enabling-required-status-checks/)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2018-10-23 16:35:12 -04:00