-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Ryan Northey <ryan@synca.io>
- Loading branch information
Showing
8 changed files
with
81 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Envoy | ||
|
||
permissions: | ||
contents: read | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
|
||
concurrency: | ||
group: >- | ||
${{ github.event.inputs.head_ref || github.run_id }} | ||
jobs: | ||
envoy: | ||
runs-on: ubuntu-24.04 | ||
if: github.repository_owner == 'envoyproxy' | ||
steps: | ||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | ||
- run: | | ||
bazel build --config=ci //:envoy_versions | ||
cat bazel-bin/envoy_versions.json | jq '.' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
load("@base_pip3//:requirements.bzl", pip_dependencies = "install_deps") | ||
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies") | ||
|
||
def dependencies_extra(): | ||
pip_dependencies() | ||
gazelle_dependencies(go_repository_default_config = "//:WORKSPACE") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
load("@envoy//bazel:python_dependencies.bzl", "envoy_python_dependencies") | ||
load("@envoy//bazel:repo.bzl", "envoy_repo") | ||
|
||
def setup_extra(): | ||
envoy_python_dependencies() | ||
envoy_repo() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,17 @@ | ||
load("@aspect_bazel_lib//lib:repositories.bzl", "register_jq_toolchains", "register_yq_toolchains") | ||
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains") | ||
load("@rules_proto//proto:toolchains.bzl", "rules_proto_toolchains") | ||
load("@rules_python//python:repositories.bzl", "python_register_toolchains") | ||
|
||
def toolchains(): | ||
def _python_minor_version(python_version): | ||
return "_".join(python_version.split(".")[:2]) | ||
|
||
def toolchains(versions): | ||
python_register_toolchains( | ||
name = "python3_12", | ||
# Available versions are listed in @rules_python//python:versions.bzl. | ||
# We recommend using the same version your team is already standardized on. | ||
python_version = "3.12", | ||
name = "python%s" % _python_minor_version(versions["python"]), | ||
python_version = versions["python"], | ||
) | ||
rules_proto_toolchains() | ||
go_register_toolchains(version = "1.22.4") | ||
register_jq_toolchains(version = versions["jq"]) | ||
register_yq_toolchains(version = versions["yq"]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
|
||
VERSIONS = { | ||
"jq": "1.7", | ||
"yq": "4.24.4", | ||
"python": "3.12", | ||
"aspect_bazel_lib": { | ||
"type": "github_archive", | ||
|