Andrew Krug
9434eab751
fix typos in build targets
2019-03-20 11:07:09 -07:00
Andrew Krug
5327feb52a
try to pass branch name to multi-target
2019-03-20 11:02:23 -07:00
Andrew Krug
45cbaebaf8
fix typo
2019-03-20 10:57:25 -07:00
Andrew Krug
d11c2f9f03
update make target to run in packer
2019-03-20 10:54:02 -07:00
Andrew Krug
02558d2f3d
sed in place
2019-03-20 10:34:53 -07:00
Andrew Krug
df290da3ec
add make target to cache container artifacts and add latest to mozdef built containers by default
2019-03-20 10:34:52 -07:00
Andrew Krug
85688e7bd6
add buildspec and make target for logging into dockerhub as the service user
2019-03-19 09:59:22 -07:00
Andrew Krug
fa5ae7b69d
clarify comments on targets
2019-03-18 16:10:57 -07:00
Andrew Krug
f782092fec
change top level build target to have build from cwd or github branch to enable CD
2019-03-18 15:56:56 -07:00
Jon Moroney
887784d198
Actually working with ENV file existence check and env variable setting for docker-compose command
2019-02-01 10:49:59 -08:00
Jon Moroney
69e253143b
Update to iheritance model in Makefile
2019-01-28 14:53:33 -08:00
Jon Moroney
d9a6ec17c9
Add user defined env make target
2019-01-28 10:55:00 -08:00
Brandon Myers
ca362d687b
Merge pull request #987 from mozilla/enable_test_resources_external
...
Add new make target for running test resources externally
2018-11-29 11:40:46 -06:00
Brandon Myers
637d1c7a31
Add new make target for running test resources externally
2018-11-28 13:39:53 -06:00
Jon Moroney
24652048a1
Add option to do a rebuild when running tests. Very helpful when you don't know if your tests are correct
2018-11-27 11:53:55 -08:00
Brandon Myers
e9fd8d3f87
Add new make target to run only resources for tests
2018-11-14 15:21:48 -06:00
Brandon Myers
322535aa1c
Remove leftover comment in makefile
2018-10-31 14:29:34 -05:00
Brandon Myers
685a911b39
Add new-alert make target to create alert and unit test template
2018-10-31 14:21:29 -05:00
Guillaume Destuynder
1939c60143
run flake everywhere for now as it needs more logic in order to detect
...
where to run it
2018-10-30 14:04:16 -07:00
Guillaume Destuynder
b67f010cd8
typo
2018-10-30 14:03:23 -07:00
Guillaume Destuynder
bb1175e8d1
upgrade travis docker-compose as per https://docs.travis-ci.com/user/docker/
2018-10-30 13:53:07 -07:00
Guillaume Destuynder
7e72569d55
allow for make TEST_CASE=tests/alerts/test_proxy_drop_exfil_execute.py
...
cleanups
don't shutdown test env on test completion as i suspect it doesnt work
for some people's workflow
2018-10-30 13:40:13 -07:00
Guillaume Destuynder
d1f0f3a9ea
separate compose for tests from main compose
2018-10-30 13:15:43 -07:00
Guillaume Destuynder
67c92b592e
port build system to docker compose 3.7
...
use dependency-based builds
default to GITHASH=latest instead of the opposite
rename mq_event-task to mq_worker where it wasn't
fix dockerfiles to import from mozdef/* by default
introduce `make BUILD_MODE=pull` to pull images (instead of build)
2018-10-30 13:01:47 -07:00
Brandon Myers
56b9ef9627
Rename generic mq_eventtask container to worker
2018-10-24 15:45:03 -05:00
andrewkrug
95d9437061
makefile must always build base
2018-10-22 16:06:32 -07:00
Guillaume Destuynder
4aaebef166
easy target to restart cloudymozdef
2018-10-19 09:49:41 -07:00
Guillaume Destuynder
37fdb0aab2
"multiple fixes"
...
- makefile whitelist what to upload to s3
- use a kibana reverse proxy
- use an additional env file for the proxy
- expose new ports
- other things?
2018-10-18 08:58:28 -07:00
Guillaume Destuynder
bc0ba6e17b
dont override the docker/compose/cloudy_mozdef.env by making a local
...
file instead and touching the current one
2018-10-18 08:43:48 -07:00
Guillaume Destuynder
0b78dbea58
support new httpsredir=no option for the access proxy
...
fix tester pull
force pull new dkr images
2018-10-18 08:21:27 -07:00
Guillaume Destuynder
0d678526b7
swap nginx for oidc access proxy entierely
...
auto pull cloudmozdef on make
2018-10-17 16:45:40 -07:00
Guillaume Destuynder
dbedba3039
do not use the norebuild system for cloudymozdef
2018-10-17 15:40:43 -07:00
Guillaume Destuynder
a7f5ddfb61
typo
2018-10-17 14:37:47 -07:00
Guillaume Destuynder
1e1278ed94
Change all files to be compose 2.2 compliant (its either that or all 3.0
...
but certain features are them docker-swarm only)
Change the rebuild/norebuild mechanism to use a parameter instead of
different targets for simplicity
2018-10-17 14:33:13 -07:00
Guillaume Destuynder
f04a0e6671
make runonly target and test targets that don't need rebuilding
2018-10-17 12:46:42 -07:00
Brandon Myers
a382f9aee3
Update typo in makefile
2018-10-17 11:54:59 -07:00
Guillaume Destuynder
80fb5056a0
add run-cloudy-mozdef target and related files
2018-10-17 09:39:19 -07:00
Guillaume Destuynder
38bbdde97e
document targets so that they show up with `make`
2018-10-17 08:38:12 -07:00
Guillaume Destuynder
6ba170b12c
fix test-fast to actually use the image
2018-10-16 16:41:43 -07:00
Guillaume Destuynder
8c2a7962c3
allow for make GITHASH=latest hub-get
...
fix mozdef base pull for tests
2018-10-16 16:35:00 -07:00
Guillaume Destuynder
7b2bf66f1b
fix down target
2018-10-16 16:25:09 -07:00
Guillaume Destuynder
b077e18a4a
missing rabbitmq image
2018-10-16 16:08:35 -07:00
Guillaume Destuynder
5a3bd39b86
fix clean target, oops
2018-10-16 15:46:00 -07:00
Guillaume Destuynder
3cccfa166e
add targets which use the prebuilt images, for speed
2018-10-16 14:57:03 -07:00
Guillaume Destuynder
ef9da76382
add target to push to dkr hub
2018-10-16 14:11:16 -07:00
Guillaume Destuynder
e00015d71f
clean up test targets
...
update documentation
2018-10-15 15:39:22 -07:00
Guillaume Destuynder
8b6bad9a0b
Beautify and simplify makefiles (green card)
2018-10-15 14:37:10 -07:00
Jeff Bryner
52ecbf74ee
Mirror andrews docker changes from https://github.com/mozilla/MozDef/compare/master...andrewkrug:docker_maintenance
2018-10-01 10:30:20 -07:00
Brandon Myers
9b4a9c1664
Add new command for removing tests containers
2018-02-09 13:58:29 -06:00
Brandon Myers
1e3a893e2b
Add make command for removing tests volumes
2018-02-09 13:56:37 -06:00