summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add '+' to the list of accepted characters in kbas artifactsbenbrown/kbas-plusBen Brown2017-03-061-1/+1
| | | | | | | | Fixes: [libdbus-c++] Starting upload [libdbus-c++] Artifact server problem: 400 [libdbus-c++] Failed to upload libdbus-c++.joidja8
* Merge branch 'jjardon/remove_non_suppported_distro' into 'master' Javier Jardón2017-03-051-26/+3
|\ | | | | | | | | .gitlab-ci.yml: Remove non supported distros See merge request !316
| * .gitlab-ci.yml: Centos is failing as well; disable for nowjjardon/remove_non_suppported_distroJavier Jardón2017-03-041-9/+0
| |
| * .gitlab-ci.yml: Be sure we run without kbas in the distros we supportJavier Jardón2017-03-041-4/+5
| |
| * .gitlab-ci.yml: Remove non supported distrosJavier Jardón2017-03-041-16/+1
|/ | | | | We do not actually support them: current gcc6.3 version doesnt compile the stage1-gcc currently in definitions (5.3)
* Merge branch 'benbrown/lfs' into 'master' devcurmudgeon2017-03-035-1/+73
|\ | | | | | | | | Add support for Git LFS repositories See merge request !318
| * Add Git LFS snippet to READMEbenbrown/lfsBen Brown2017-03-011-0/+7
| |
| * Bump artifact-version, for LFS supportBen Brown2017-03-011-1/+2
| |
| * Add support for Git LFS repositoriesBen Brown2017-03-013-0/+64
|/
* Merge branch 'ps-remove-riemann' into 'master' Javier Jardón2017-03-015-29/+1
|\ | | | | | | | | Remove unused riemann functionality - depends were breaking pipelines See merge request !312
| * Remove unused riemann functionality - depends were breaking pipelinesps-remove-riemannPaul Sherwood2017-03-015-29/+1
|/
* Merge branch 'tristan-build-sha-if-exists' into 'master' devcurmudgeon2017-02-214-2/+25
|\ | | | | | | | | Tristan build sha if exists See merge request !310
| * Store the original 'ref' and restore it before savingtristan-build-sha-if-existsTristan Van Berkom2017-02-213-6/+20
| | | | | | | | | | | | In case it was overridden by the 'sha' field for the purpose of building, we still want to export the original 'ref' field in the saved target.yml
| * If definition contains sha:, it always overrides ref:ps-sha-overrides-refPaul Sherwood2017-02-203-1/+10
|/
* Merge branch 'tristan/symlinks-and-staging' into 'master' devcurmudgeon2017-02-191-9/+51
|\ | | | | | | | | Tristan/symlinks and staging See merge request !308
| * utils.py: Warning when source file listed in artifact does not existtristan/symlinks-and-stagingTristan Van Berkom2017-02-191-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We use the split artifact metadata to move files from the staged system directory into a <system>.inst/ subdirectory one file at a time, after running system integration commands and ldconfig. The current working assumption is that if a file was listed in the artifact output; it will certainly exist when we try to move it into the system install directory, but this is not true. Running system integration commands and ldconfig can result in removing files, one working example is when you have broken symlink installed into an artifact inside a libdir. ldconfig will delete dangling symlinks in it's libdirs with extreme prejudice. It may or may not make sense to eventually turn this into an error.
| * utils.py: Ensure realpath exists for staged broken symlinks.Tristan Van Berkom2017-02-191-9/+42
|/ | | | | | | | | | | | | This is important because a chunk can install a link to a directory that does not exist; while not being responsible for creating the symlink target directory. The result is later failures when trying to stage files across the broken symlink boundary. This throws an IOError (and not a clean exit()) if a symlink points outside of the staging area. This is because resolving the relative symlink path is taken care of so if the error triggers it's an internal bug (not a problem with definitions).
* Merge branch 'tristan/mode-option' into 'master' devcurmudgeon2017-02-183-15/+28
|\ | | | | | | | | Added -m/--mode command line argument. See merge request !307
| * Added -m/--mode command line argument.tristan/mode-optionTristan Van Berkom2017-02-183-15/+28
|/ | | | | | | | | | If specified, the mode argument will override whatever mode was loaded in the YBD installation configuration. This is especially useful when you have one YBD installation that you use accomplish multiple tasks, you may want to just create a manifest and then later build; without having to modify a configuration file.
* Merge branch 'tristan/empty-stratum' into 'master' devcurmudgeon2017-02-181-1/+4
|\ | | | | | | | | splitting.py: Print a warning if stratum does not have contents See merge request !306
| * splitting.py: Print a warning if stratum does not have contentstristan/empty-stratumTristan Van Berkom2017-02-181-1/+4
|/ | | | | | This is better than crashing, but happens when a system references a stratum that doesnt exist. This is better than the crash but the error should be found at load time.
* Merge branch 'tristan/symlinks' into 'master' devcurmudgeon2017-02-181-4/+15
|\ | | | | | | | | utils.py: Dont stomp on non-empty directories with symlinks See merge request !305
| * utils.py: Dont stomp on non-empty directories with symlinkstristan/symlinksTristan Van Berkom2017-02-181-4/+15
|/
* Merge branch 'encode-repo-url' into 'master' devcurmudgeon2017-02-131-2/+5
|\ | | | | | | | | Encode the expanded repo url in the saved target yaml See merge request !304
| * Encode the expanded repo url in the saved target yamlencode-repo-urlTristan Van Berkom2017-02-111-2/+5
|/ | | | This is useful for external tools to operate on the generated yaml
* Merge branch 'jjardon/protobuf' into 'master' devcurmudgeon2017-02-091-0/+1
|\ | | | | | | | | requirements.freeze.txt: Require protobuf==3.0.0 See merge request !303
| * requirements.freeze.txt: Require protobuf==3.0.0Javier Jardón2017-02-091-0/+1
|/ | | | | | | | | | | | | | | | | | | | | | | | | | Currently version of protobuf (3.2.0) breaks ybd: $ ybd/ybd.py systems/build-system-x86_64-chroot.morph x86_64 Traceback (most recent call last): File "ybd/ybd.py", line 18, in <module> runpy.run_module('ybd') File "/usr/lib/python2.7/runpy.py", line 182, in run_module mod_name, loader, code, fname = _get_module_details(mod_name) File "/usr/lib/python2.7/runpy.py", line 111, in _get_module_details __import__(mod_name) # Do not catch exceptions initializing package File "/builds/baserock/definitions/ybd/ybd/__init__.py", line 16, in <module> import app File "/builds/baserock/definitions/ybd/ybd/app.py", line 32, in <module> from riemann_client.transport import TCPTransport File "/usr/local/lib/python2.7/dist-packages/riemann_client/transport.py", line 12, in <module> import riemann_client.riemann_pb2 File "/usr/local/lib/python2.7/dist-packages/riemann_client/riemann_pb2.py", line 10, in <module> from riemann_client.riemann_pb2_py2 import (Event, Msg, Query, Attribute) File "/usr/local/lib/python2.7/dist-packages/riemann_client/riemann_pb2_py2.py", line 32, in <module> options=None), File "/usr/local/lib/python2.7/dist-packages/google/protobuf/descriptor.py", line 494, in __new__ _message.Message._CheckCalledFromGeneratedFile() TypeError: Descriptors should not be created directly, but only retrieved from their parent.
* Merge branch 'ps-manifest-improvements' into 'master' Javier Jardón2017-02-078-19/+55
|\ | | | | | | | | Fixes #247 ybd can now generate a single file containing all defs with SHAs (and build from it) See merge request !300
| * Build from single .yml file if that's what is providedPaul Sherwood2017-02-074-5/+16
| | | | | | | | | | | | | | Now we save the resolved definitions as ./$target.yml And if we specify a $target.yml file when running ybd, ybd will now parse that, instead of the morph files in the directory tree.
| * Prune definitions to what we need for build/deployPaul Sherwood2017-02-072-2/+11
| |
| * Add track-branches: conf option, to use unpetrify-refPaul Sherwood2017-02-075-11/+23
| | | | | | | | | | Also, if we set branches in the ref: fields now, these get resolved to sha: in output $definitions.yml file
| * If git user is not configured, we need to set itPaul Sherwood2017-02-071-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | The release-note functionality needs to explore previous version of definitions, so we do - git stash - checkout the old version - figure out what we need - git stash pop Git stash will fail unless user and email are configured, so we do that here.
| * s/release-command/release-cmd/ and don't crash out if it's absentPaul Sherwood2017-02-072-3/+3
|/ | | | | Previously if release-note: was specified, but release-command was not, then ybd would error. Renamed to release-cmd for pep8
* Merge branch 'ps-artifact-version-7' into 'master' Javier Jardón2017-02-051-1/+3
|\ | | | | | | | | | | | | Fix #249 Update to artifact-version: 7, max-jobs is now in cache-key Closes #249 See merge request !302
| * Fix #249 Update to artifact-version: 7, max-jobs is now in cache-keyPaul Sherwood2017-02-051-1/+3
|/
* Merge branch 'jjardon/fix_typo' into 'master' devcurmudgeon2017-02-051-1/+2
|\ | | | | | | | | Minor install_dependencies.sh fixes See merge request !301
| * nstall_dependencies.sh: fix typojjardon/fix_typoJavier Jardón2017-02-021-1/+1
| |
| * install_dependencies.sh: Add shebangJavier Jardón2017-02-011-0/+1
|/
* Merge branch 'jjardon/change_docker_image' into 'master' Javier Jardón2017-01-311-1/+1
|\ | | | | | | | | | | | | .gitlab-ci.yml: Use debian:jessie instead python:2.7-slim by default Closes #254 See merge request !294
| * .gitlab-ci.yml: Use debian:jessie instead python:2.7-slim by defaultJavier Jardón2017-01-311-1/+1
|/ | | | | | python:2.7-slim install python in /usr/local instead /usr, which is causing problems with our extensions that expect python to be in /usr/bin/python
* Merge branch 'jjardon/remove_system_pip' into 'master' Javier Jardón2017-01-311-1/+4
|\ | | | | | | | | | | | | Remove system python pip and upgrade python packages if needed Closes #253 See merge request !298
| * install_dependencies.sh: Upgrade installed packages if neededJavier Jardón2017-01-301-1/+1
| |
| * install_dependencies.sh: Remove system-installed python pip packageJavier Jardón2017-01-301-0/+3
|/
* Merge branch 'ps-fix-250' into 'master' devcurmudgeon2017-01-302-1/+6
|\ | | | | | | | | | | | | Fix #250 - don't leak kbas user:pass in logs Closes #250 See merge request !296
| * Fix #250 - don't leak kbas user:pass in logsps-fix-250Paul Sherwood2017-01-302-1/+6
|/
* Merge branch 'ps-fresh-tmpdir' into 'master' Javier Jardón2017-01-301-1/+2
|\ | | | | | | | | | | | | Don't attempt to re-use tmpdir Closes #252 See merge request !295
| * Don't attempt to re-use tmpdirPaul Sherwood2017-01-301-1/+2
|/
* Merge branch 'jjardon/test_distros' into 'master' devcurmudgeon2017-01-302-13/+51
|\ | | | | | | | | Test build in several distros as part of the CI See merge request !293
| * .gitlab-ci.yml: Check ybd works in several distrosJavier Jardón2017-01-301-3/+34
| | | | | | | | | | | | | | | | | | This is at the moment: - Debian jessie (stable) - Debian stretch (testing) - Ubuntu 16.04 LTS - Ubuntu 16.10 - Centos 7
| * install_dependencies.sh: Update pip if possibleJavier Jardón2017-01-301-0/+2
| |