Skip to content

build: refine docker image CI process#10729

Merged
mattklein123 merged 6 commits intomasterfrom
fix_docker
Apr 10, 2020
Merged

build: refine docker image CI process#10729
mattklein123 merged 6 commits intomasterfrom
fix_docker

Conversation

@mattklein123
Copy link
Copy Markdown
Member

Fixes #10716

Fixes #10716

Signed-off-by: Matt Klein <mklein@lyft.com>
@mattklein123
Copy link
Copy Markdown
Member Author

@lizan I tested various permutations of this locally with different env var combinations so I'm fairly confident it works correctly, but would definitely appreciate a close look.

Copy link
Copy Markdown
Member

@lizan lizan left a comment

Choose a reason for hiding this comment

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

Thanks, a few comment. Also can you apply following so we run postsubmit CI against release branch?

diff --git a/.azure-pipelines/pipelines.yml b/.azure-pipelines/pipelines.yml
index 69338021a0..e60c4b35e9 100644
--- a/.azure-pipelines/pipelines.yml
+++ b/.azure-pipelines/pipelines.yml
@@ -2,6 +2,7 @@ trigger:
   branches:
     include:
       - "master"
+      - "release/v*"
   tags:
     include:
       - "v*"

@mattklein123
Copy link
Copy Markdown
Member Author

Also can you apply following so we run postsubmit CI against release branch?

Yes I will make the change, but see my other comment. I don't think we want to push images for stable branch builds, only for tags. This would be useful for CI though.

Signed-off-by: Matt Klein <mklein@lyft.com>
Signed-off-by: Matt Klein <mklein@lyft.com>
@mattklein123
Copy link
Copy Markdown
Member Author

@lizan updated PTAL. I did not make the one change your requested to push images on release branch build since IMO we don't want that.

Signed-off-by: Matt Klein <mklein@lyft.com>
Signed-off-by: Matt Klein <mklein@lyft.com>
@mattklein123
Copy link
Copy Markdown
Member Author

@lizan updated per offline convo

Signed-off-by: Matt Klein <mklein@lyft.com>
Copy link
Copy Markdown
Member

@lizan lizan left a comment

Choose a reason for hiding this comment

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

Thanks!

@mattklein123 mattklein123 merged commit dc197e5 into master Apr 10, 2020
@mattklein123 mattklein123 deleted the fix_docker branch April 10, 2020 23:26
lizan pushed a commit that referenced this pull request May 5, 2020
Signed-off-by: Matt Klein <mklein@lyft.com>
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
lizan pushed a commit that referenced this pull request May 5, 2020
Signed-off-by: Matt Klein <mklein@lyft.com>
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
lizan pushed a commit that referenced this pull request May 5, 2020
Signed-off-by: Matt Klein <mklein@lyft.com>
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

build: docker push/tag script cleanups

2 participants