Skip to content
This repository was archived by the owner on Nov 3, 2021. It is now read-only.

Change CI/CD sequence for v1.38.5 #1214

Merged
merged 3 commits into from
Apr 10, 2019

Conversation

gene1wood
Copy link
Contributor

@gene1wood gene1wood commented Apr 10, 2019

Changed the CI/CD order to now build docker images in CodeBuild, upload them
to DockerHub and then pull them down in the packer instance. Updated docs.

I confirmed this one works in a branch and built a new stack and updated an existing stack with the resulting artifacts.

@gene1wood gene1wood requested a review from pwnbus April 10, 2019 01:48
@@ -46,7 +46,8 @@ RUN mkdir -p /opt/mozdef/envs/meteor/mozdef
RUN if [ "${METEOR_BUILD}" = "YES" ]; then \
cd /opt/mozdef/envs/mozdef/meteor && \
meteor npm install && \
meteor build --server localhost:3002 --directory /opt/mozdef/envs/meteor/mozdef && \
echo "Starting meteor build" && \
time meteor build --server localhost:3002 --directory /opt/mozdef/envs/meteor/mozdef && \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we still want to include this time command? Or was this for debugging purposes?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd hoped to include it as it's useful information during the build to show what just happened for the last 3 minutes. I looked into how to get meteor build to output some kind of progress our output and had no luck. So yes, I think we should keep the time in. Is there any downside?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm fine with keeping it in, just curious if it was intentional or not.

@pwnbus pwnbus merged commit 33a770b into mozilla:master Apr 10, 2019
@gene1wood gene1wood deleted the change-cicd-sequence branch April 10, 2019 17:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants