-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(ci): Add capability to build and push test images to GCR. #812
Conversation
.circleci/config.yml
Outdated
@@ -357,6 +340,7 @@ jobs: | |||
default: build | |||
image: | |||
type: string | |||
default: docker |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This probably isn't necessary since we're not specifying a default for either of the build jobs and we're passing this parameter from every job that calls it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me. If you want, you can test this out by having it temporarily filter against your branch instead of master
in the job definitions. Once your push up a commit in your branch, CircleCI should try to build and deploy the images and I can confirm whether or not they were successfully pushed to GAR.
e3c258b
9d044e2
to
1a4956c
Compare
af23d5a
to
6c586fa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pre-approving so that you are not blocked over the holidays @b4handjr.
I suggest to take this opportunity to rename the 'notification' tests, which is not a commonly recognized test category or level , to 'end-to-end' tests.
.circleci/config.yml
Outdated
branches: | ||
only: master |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a departure from the way we have the PR builds setup currently. We usually build the load-test image in PR builds without deploying, so developers can be signaled before they merge if they have introduced a breaking change. I suggest to remove this filter and perhaps the one for the notification test container as well for the same reason.
When I was working on #812 I mislabeled the autoconnect/endpoint docker images in the deploy step. This should fix that. I am also running those steps on CI to make sure everything works.
Adds the steps needed to build and push our containerized tests to GCR.
SYNC-4559