buildbot

command module
v0.0.0-...-05d7c05 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 10, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

README

ODS Box build bot

On a build server ODS box builds will be triggered by a cron job 4 times a day.

0 */6 * * * export PACKER_LOG=1 && export AWS_MAX_ATTEMPTS=400 && export AWS_POLL_DELAY_SECONDS=15 && source /home/georg/.packerrc && date && cd /home/georg/opendevstack/ods-core &&  time bash 2>&1 ods-devenv/packer/create_ods_box_image.sh --target create_ods_box_ami --aws-access-key "${aws_access_key}" --aws-secret-key "${aws_secret_access_key}" --ods-branch "${branch}" --instance-type ${instance_type} | tee "/home/georg/tmp/ami_builds/build_$(echo "${branch}" | tr "/" "_")_$(date +\%Y\%m\%dT\%H\%M\%S).log"

The corresponding logs will be scanned for success or error messages by the buildbot. The build result will be served under the URL https://buildbot_domain/build/result

Configuration

The user running the buildbot should have the .packerrc file available in their $HOME path, as defined by the template in ods-devenv/packer/.packerrc.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
* utilities for the ods-devenv buildbot.
* utilities for the ods-devenv buildbot.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL