Skip to content
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

ci: Publish artefacts for the exactly required docker images #17080

Merged
merged 1 commit into from
Jun 29, 2021

Conversation

phlax
Copy link
Member

@phlax phlax commented Jun 22, 2021

Signed-off-by: Ryan Northey [email protected]

Commit Message: ci: Only publish the required docker image
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue] Fix #17132
[Optional Deprecated:]
[Optional API Considerations:]

@phlax phlax changed the title [WIP/TESTING] ci: Only publish the required docker image [WIP/TESTING] ci: Only publish artefacts for the required docker image Jun 22, 2021
@phlax phlax changed the title [WIP/TESTING] ci: Only publish artefacts for the required docker image ci: Only publish artefacts for the required docker image Jun 22, 2021
@phlax phlax marked this pull request as ready for review June 22, 2021 20:34
@phlax phlax force-pushed the docker-only-save-dev branch from 938031d to 4e5894a Compare June 22, 2021 20:38
Copy link
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.

What's the purpose of only saving one image instead of all?

ci/docker_ci.sh Outdated Show resolved Hide resolved
@phlax
Copy link
Member Author

phlax commented Jun 24, 2021

setting this WIP temporarily - i just realized that envoy-alpine-dev is still required for examples...

@phlax phlax marked this pull request as draft June 24, 2021 17:52
@phlax phlax changed the title ci: Only publish artefacts for the required docker image [WIP] ci: Only publish artefacts for the required docker image Jun 24, 2021
@phlax
Copy link
Member Author

phlax commented Jun 24, 2021

What's the purpose of only saving one image instead of all?

it takes ~20-30 minutes off of the windows docker stage, and ~10 minutes off of the linux docker and verify stages

@phlax phlax force-pushed the docker-only-save-dev branch from 4e5894a to 0017dcf Compare June 24, 2021 19:12
@phlax phlax changed the title [WIP] ci: Only publish artefacts for the required docker image ci: Only publish artefacts for the required docker image Jun 24, 2021
@phlax phlax marked this pull request as ready for review June 24, 2021 19:14
@phlax phlax requested a review from lizan June 24, 2021 19:14
@phlax
Copy link
Member Author

phlax commented Jun 24, 2021

@lizan both issues - alpine and release builds - addressed, ptal - it would be great to land this as it will save a fair amount of ci time/load

@phlax phlax force-pushed the docker-only-save-dev branch from 0017dcf to d4620d9 Compare June 24, 2021 19:21
@phlax
Copy link
Member Author

phlax commented Jun 24, 2021

it occurred to me in the last minute that if docker_ci.sh just tags release builds as -dev before saving we could fix #17132 without requiring #17133

@phlax phlax changed the title ci: Only publish artefacts for the required docker image ci: Publish artefacts for the exactly required docker images Jun 24, 2021
@phlax phlax changed the title ci: Publish artefacts for the exactly required docker images [WIP] ci: Publish artefacts for the exactly required docker images Jun 25, 2021
@phlax phlax marked this pull request as draft June 25, 2021 18:42
@phlax
Copy link
Member Author

phlax commented Jun 25, 2021

i just looked at the setec repo and realised 2 things - that also tests the wrong images - ie pulls from dockerhub, and this pr doesnt handle that correctly - ill update...

@phlax phlax force-pushed the docker-only-save-dev branch from 2891628 to d0cc7b4 Compare June 25, 2021 22:43
@phlax phlax changed the title [WIP] ci: Publish artefacts for the exactly required docker images ci: Publish artefacts for the exactly required docker images Jun 25, 2021
@phlax
Copy link
Member Author

phlax commented Jun 25, 2021

i think this should work now in the required contexts, fix the verify image mismatches and speedup ci all round

ci/docker_ci.sh Show resolved Hide resolved
@phlax phlax merged commit 87b2e1a into envoyproxy:main Jun 29, 2021
baojr added a commit to baojr/envoy that referenced this pull request Jul 1, 2021
* main: (51 commits)
  listener: add filter chain match support for direct source address (envoyproxy#17118)
  Increase common/common coverage (envoyproxy#17193)
  crash_dump: Added local_end_stream_ to crash dump for H2. (envoyproxy#17199)
  codeql: improve Ubuntu dependency installation (envoyproxy#16556)
  ci: Move tooling tests to tooling job (envoyproxy#17071)
  Fix issue with Windows container image (envoyproxy#17113)
  fix filter linking urls (envoyproxy#17185)
  bug fix: fix bug that check_format.py will check files which are ignored (envoyproxy#17195)
  tls: moving the server name into SocketAddressProvider (envoyproxy#16574)
  network: Use std::make_unique and std::make_shared in source/common/network instead of bare new() (envoyproxy#17177)
  Revert "alpha matching: support generic action factory context (envoyproxy#17025)" (envoyproxy#17191)
  ci: Dont clone filter example where not required (envoyproxy#17182)
  alpha matching: support generic action factory context (envoyproxy#17025)
  xds: Clarify comment for RouteMatch.case_sensitive field. (envoyproxy#17176)
  ci: Only publish the required docker image (envoyproxy#17080)
  coverage: fixing flake (envoyproxy#17190)
  api: add cluster_specifier_plugin to RouteAction (envoyproxy#16944)
  wasm: update V8 to v9.2.230.13. (envoyproxy#17183)
  wasm: update Proxy-Wasm C++ Host and SDK to latest (2021-06-24). (envoyproxy#17174)
  owners: add Piotr as senior extension maintainer (envoyproxy#17175)
  ...

Signed-off-by: Garrett Bourg <[email protected]>
chrisxrepo pushed a commit to chrisxrepo/envoy that referenced this pull request Jul 8, 2021
leyao-daily pushed a commit to leyao-daily/envoy that referenced this pull request Sep 30, 2021
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.

Tagged versions dont build -dev docker images, breaking verify ci
2 participants