Граф коммитов

31 Коммитов

Автор SHA1 Сообщение Дата
Gene Wood e228a2c87e
Fix regex in deploy to match multi digit semver versions 2019-04-01 16:43:37 -07:00
Gene Wood 78473a4fac
Clarify the log messages to reflect the fact that we don't run the tests in CodeBuild 2019-03-29 22:34:33 -07:00
Gene Wood 8c79459308
Fix deploy so it triggers on tags
The tag regex was missing the "v" prefix for the tag name
(e.g. "v1.2.3")
Also removing the march_swarm case as it's no longer needed
2019-03-29 22:34:06 -07:00
Gene Wood 43b29c4876
Add set -e to fail if any step fails
This will prevent the build from continuing if one of the steps fails,
ensuring that the output from CodeBuild is accurate about success or
failure
2019-03-29 22:32:23 -07:00
Gene Wood f20e70264f
Fix docker push and tag
* Only tag an image as latest if it came from master branch
* Upload images to dockerhub tagged as latest in addition to those tagged as the branch
2019-03-29 15:41:00 -07:00
Gene Wood eee914e15a
Move hub-login to before docker-push-tagged
This is for clarify since the second target depends on the first and hub-login
isn't needed before this point
2019-03-22 14:35:05 -07:00
Gene Wood 0c01fd6eac
Remove CodeBuild call to set-version-and-fetch-docker-container make target
This is because
* We've already built the containers in CodeBuild and don't need to do it again
* We don't need to tag the docker images because `docker-push-tagged` will trigger that
* We don't need to modify docker/compose/docker-compose-cloudy-mozdef.yml because we don't use it in CodeBuild
2019-03-22 14:30:43 -07:00
Gene Wood 4d2674540a
Fix bug where deploy is publishing templates from branches and tags
overwriting the /master branch directory in S3 instead of writing
to their respective branch and tag specific directories
2019-03-22 11:45:14 -07:00
Gene Wood 3e5ef4e0ab
Add log output and comments to publish_versioned_templates 2019-03-22 11:44:08 -07:00
Gene Wood 4b68bb85ba
Fix bad make BRANCH value 2019-03-20 17:31:47 -07:00
Gene Wood dc2585fb63
Merge pull request #1143 from gene1wood/add-version-to-stacks
Add support for versioned templates
2019-03-20 16:30:26 -07:00
Andrew Krug a59638650b
fix make target 2019-03-20 16:21:55 -07:00
Gene Wood eee06b82fa
Add support for versioned templates 2019-03-20 16:20:37 -07:00
Andrew Krug 10dcd163b3
simplify deploy script and reduce code dup! 2019-03-20 15:43:44 -07:00
Gene Wood c852e31c60
Add check to pack_and_copy for packer failure 2019-03-20 10:58:14 -07:00
Gene Wood aecbd29308
Replicate AMI tags across regions 2019-03-19 15:26:23 -07:00
Andrew Krug 9356a0cd51
switch to build from cwd for docker builds to avoid second git clone 2019-03-19 14:46:33 -07:00
Andrew Krug c506ab8059
trigger codebuild 2019-03-19 14:30:29 -07:00
Andrew Krug cae75028bf
charge arg order 2019-03-19 13:59:35 -07:00
Andrew Krug ec9265f887
fix make command to properly use branch arg 2019-03-19 13:57:29 -07:00
Andrew Krug dddba11d2e
individual targets should build from github 2019-03-19 12:52:56 -07:00
Andrew Krug 1e78ded72d
add comment on why we do not run tests 2019-03-19 12:49:12 -07:00
Andrew Krug f16290308b
remove run of the test suite 2019-03-19 12:39:48 -07:00
Andrew Krug 456ae104bf
add docker-compose bug override 2019-03-19 12:33:48 -07:00
Andrew Krug 1a5a7cecdc
deploy script passes branch to makefile 2019-03-19 12:23:20 -07:00
Andrew Krug f0f1b35c7c
add packer and logic to reason about swarm branch 2019-03-19 12:07:51 -07:00
Andrew Krug 87dfd11cc8
fix syntax and new lines 2019-03-19 11:57:49 -07:00
Andrew Krug 47d737dc64
add test suite run to all codebuild builds 2019-03-19 11:54:36 -07:00
Andrew Krug 250c3b414e
fix shebang 2019-03-19 11:33:05 -07:00
Andrew Krug 11465093c8
add deploy script 2019-03-19 11:23:07 -07:00
Gene Wood cca0612630
Enable packer-build to replicate AMIs and share them 2019-03-19 08:56:49 -07:00