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

Add //example:docker test #2

Merged
merged 6 commits into from
Feb 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added .bazelrc
Empty file.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: CI

# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [master]
branches: [main]
pull_request:
branches: [master]
branches: [main]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down
1 change: 0 additions & 1 deletion bazel/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ example_test_filegroup(
srcs = [
"BUILD.bazel",
# "container.bzl",
# "python.bzl",
"repositories.bzl",
"workspace0.bzl",
"workspace1.bzl",
Expand Down
5 changes: 0 additions & 5 deletions bazel/python.bzl

This file was deleted.

97 changes: 0 additions & 97 deletions bazel/python/BUILD.bazel

This file was deleted.

5 changes: 3 additions & 2 deletions bazel/python/pdm/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
load("@//bazel:python.bzl", "py_binary", "pycross_image")
load("@rules_python//python:defs.bzl", "py_binary")
load("@//rules:oci.bzl", "py_image")

py_binary(
name = "pdm",
Expand All @@ -7,7 +8,7 @@ py_binary(
deps = ["@pypi_deps_for_pdm//:pdm"],
)

pycross_image(
py_image(
name = "image",
base = "@distroless_python3_debian12",
binary = ":pdm",
Expand Down
9 changes: 0 additions & 9 deletions bazel/python/poetry.py

This file was deleted.

Loading
Loading