summaryrefslogtreecommitdiffstats
path: root/ci/build.sh
Commit message (Collapse)AuthorAgeFilesLines
* ci: Rename defconfig in build.shJoel Stanley2019-04-031-1/+1
| | | | | | openpower_p9_mambo_defconfig is now called opal_defconfig. Signed-off-by: Joel Stanley <joel@jms.id.au>
* ci: Bump fedora to Fedora 29Stewart Smith2019-03-281-2/+2
| | | | Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* ci: Use Ubuntu 18.04 rather than Ubuntu 16.04Stewart Smith2019-03-281-2/+2
| | | | | | | We will soon require Ubuntu 18.04 rather than Ubuntu 16.04 for building op-build due to a GCC6.2 requirement from glibc. Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* ci: Mention proxy variables in help textJoel Stanley2018-11-011-0/+3
| | | | Signed-off-by: Joel Stanley <joel@jms.id.au>
* ci: Clarify that sdk cache dir must existJoel Stanley2018-11-011-1/+1
| | | | Signed-off-by: Joel Stanley <joel@jms.id.au>
* ci: Fix environment variable checkJoel Stanley2018-11-011-2/+2
| | | | | | | | | | | | | | | | The check for the variables were passing even tho they were not set, resulting in bad syntax in the docker file: ENV DL_DIR ENV CCACHE_DIR ' + docker build --network=host -t openpower/op-build-ubuntu1604 - Sending build context to Docker daemon 2.56kB Error response from daemon: ENV must have two arguments I am no bash guru; this test is what is recommended by the first hit on stackoverflow. Improve it if you know better. Signed-off-by: Joel Stanley <joel@jms.id.au>
* ci/docker: Run containers with --initStewart Smith2018-10-291-1/+1
| | | | | | This should avoid a bunch of zombie processes. Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* ci: Build more targets, cache SDKs, eatmydataStewart Smith2018-08-301-11/+37
| | | | | | | | | | | | | | | | Build graph-depends and legal-info along with firmware images Also, use proper O=/foo for telling buildroot where to build images. Also, use the magic buildroot config script rather than hacky hacks. Support building and caching an SDK, meaning you can build simple defconfigs in dozens of minutes, and greatly reduce the total time for building all configurations. Eatmydata will save us a *lot* of fsync() activity when you don't have infinite IOPS. Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* ci: Add release mode to build legal infoSamuel Mendoza-Jonas2018-08-281-2/+6
| | | | | | | | | | | Add an option to build the Buildroot legal-info target after building a platform. This is mainly useful as part of building platforms for inclusion in images for distribution, but is also good for CI systems doing a sanity check on what is being built. This also updates build-all-defconfigs.sh to use getopt to handle its inputs more sanely. Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
* ci: Set BR2_DL_DIR & BR2_CCACHE_DIRSamuel Mendoza-Jonas2018-08-061-0/+8
| | | | Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
* ci: Add -b option to specify custom mount pointSamuel Mendoza-Jonas2018-08-061-2/+12
| | | | | | | Use '-b' to specify a bind mount point to use instead of the current working directory. This is useful if we need access parent directories. Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
* ci: Use host network driverSamuel Mendoza-Jonas2018-08-061-1/+1
| | | | | | This helps those of us with specific proxy and DNS requirements. Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
* ci: Use uname rather than archSamuel Mendoza-Jonas2018-07-251-2/+2
| | | | | | Also fixes the failure message. Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
* Update ci/ Dockerfiles to Fedora 27/Ubuntu 16.04LTSStewart Smith2018-02-121-5/+11
| | | | Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* ci: use fedora 25 instead of fedora23Stewart Smith2017-02-161-3/+10
| | | | | | Fedora 23 is no longer supported. Current release is Fedora 25 Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* Enhancements for op-build ci.Pridhiviraj Paidipeddi2016-08-151-1/+32
| | | | | | | | | | | | | | | | | | | | | This patch adds support for running ci for individual platforms, as well as it can generate firmware images for all the platforms. Added command line options -p and -a. -p List of comma separated platform names to build images for those particular platforms. -a Build firmware images for all the platform defconfig's. For running ci to individual platforms: DOCKER_PREFIX=sudo ./ci/build.sh -p palmetto DOCKER_PREFIX=sudo ./ci/build.sh -p garrison,palmetto For running ci to all the platforms: DOCKER_PREFIX=sudo ./ci/build.sh -a DOCKER_PREFIX=sudo ./ci/build.sh And also it contains missing packages required for fedora23 Dockerfile. Signed-off-by: Pridhiviraj Paidipeddi <ppaidipe@linux.vnet.ibm.com>
* Add CI building scripts using DockerStewart Smith2016-03-071-0/+55
This is a first stab at a set of scripts to build each defconfig on each supported build platform inside Docker containers. The idea is that on x86-64 and ppc64le hosts, we can easily test that everything still at least builds on our supported build platforms. Due to docker image availability and Docker's complete lack of acknowledging that there may exist architectures other than x86-64, we get to jump through some rather stupid hoops to work out what to build where. Tested on Fedora 23 x86-64 and Ubuntu xenial snapshot with docker daily snapshot on ppc64le. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
OpenPOWER on IntegriCloud