Skip to content

ci/github: Fixes/cleanups for env and workflows - #28473

Merged
phlax merged 1 commit into
envoyproxy:mainfrom
phlax:ci-gh-env4
Jul 19, 2023
Merged

phlax merged 1 commit into
envoyproxy:mainfrom
phlax:ci-gh-env4

Conversation

@phlax

@phlax phlax commented Jul 19, 2023 •

Copy link
Copy Markdown
Member
  • reenable untrusted code checkout in prs
  • fix wf check dependency
  • separate env to an action, and run initial jobs concurrently
  • fix workflow-complete handling

Currently the v/examples job always runs with the current main (ie doesnt correctly check out the pr commit)

This fixes that but also opens up the workflow to potential request attacks so defensive coding is applied in various places to ensure that only untrusted ci runs (ie no access to secrets) can run untrusted code

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

@phlax
phlax force-pushed the ci-gh-env4 branch 3 times, most recently from 54fc17e to 169a1a1 Compare July 19, 2023 06:36
@phlax phlax changed the title ci/github: Fixes/cleanups [WIP] ci/github: Fixes/cleanups Jul 19, 2023
@phlax
phlax marked this pull request as draft July 19, 2023 06:46
@phlax
phlax force-pushed the ci-gh-env4 branch 2 times, most recently from 259b1a6 to 25819e0 Compare July 19, 2023 08:02
Comment thread .github/workflows/envoy-publish.yml Resolved
Comment thread .github/actions/env/action.yml Resolved
@phlax phlax changed the title [WIP] ci/github: Fixes/cleanups [WIP] ci/github: Fixes/cleanups for env and workflows Jul 19, 2023
@phlax
phlax force-pushed the ci-gh-env4 branch 3 times, most recently from e3fa5f3 to ec836cd Compare July 19, 2023 08:30
@phlax phlax changed the title [WIP] ci/github: Fixes/cleanups for env and workflows ci/github: Fixes/cleanups for env and workflows Jul 19, 2023
@phlax
phlax marked this pull request as ready for review July 19, 2023 08:31

@wbpcode wbpcode left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM. Thanks.

@phlax
phlax merged commit d3bb3e0 into envoyproxy:main Jul 19, 2023
phlax added a commit to phlax/envoy that referenced this pull request Jul 19, 2023
michaelfinch added a commit to michaelfinch/envoy that referenced this pull request Jul 19, 2023
* main: (46 commits)
  buffer: Disable second flaky test on windows. (envoyproxy#28483)
  ci/github: Fix repo contexts (envoyproxy#28482)
  ci/github: Minor fix for untrusted code (envoyproxy#28480)
  ci/github: Fixes/cleanups for env and workflows (envoyproxy#28473)
  examples: Warn on `golang-network` flake (envoyproxy#28478)
  build(deps): bump node from 20.3-bullseye-slim to 20.4-bullseye-slim in /examples/shared/node (envoyproxy#28321)
  ecds: add network filter dynamic config provider (envoyproxy#28407)
  deps: bump gRPC to 1.56.2 (envoyproxy#28449)
  Adding disallowed_headers in the ext_proc header forwarding rule. (envoyproxy#28468)
  golang filter: add VirtualClusterName getter (envoyproxy#28406)
  ci/github: Further fixes/cleanups for verify (envoyproxy#28467)
  coverage: Lower `source/common/quic` to fix permafail (93.3) (envoyproxy#28471)
  deps: Bump `rules_python` -> 0.24.0 (envoyproxy#28347)
  ci/github: Fix/improve CI env (envoyproxy#28465)
  improve header matcher output (envoyproxy#28389)
  grpc-patch: fix for oss-fuzz build (envoyproxy#28409)
  ext_proc: Refactor startStream logic and fix crash issue (envoyproxy#28424)
  add switch for setting round trip time to connection info (envoyproxy#28159)
  accesslog: disable resource labels (envoyproxy#28046)
  Remove unused header (envoyproxy#28447)
  ...
phlax added a commit that referenced this pull request Jul 20, 2023
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.

2 participants