Skip to content

Commit 39a40df

Browse files
authored
Merge pull request #2 from stackb/pcj/examples
Add //example:docker test
2 parents 43fde7a + e606664 commit 39a40df

17 files changed

Lines changed: 136 additions & 5217 deletions

File tree

.bazelrc

Whitespace-only changes.

.github/workflows/ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ name: CI
22

33
# Controls when the action will run.
44
on:
5-
# Triggers the workflow on push or pull request events but only for the master branch
5+
# Triggers the workflow on push or pull request events but only for the main branch
66
push:
7-
branches: [master]
7+
branches: [main]
88
pull_request:
9-
branches: [master]
9+
branches: [main]
1010

1111
# Allows you to run this workflow manually from the Actions tab
1212
workflow_dispatch:

bazel/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ example_test_filegroup(
55
srcs = [
66
"BUILD.bazel",
77
# "container.bzl",
8-
# "python.bzl",
98
"repositories.bzl",
109
"workspace0.bzl",
1110
"workspace1.bzl",

bazel/python.bzl

Lines changed: 0 additions & 5 deletions
This file was deleted.

bazel/python/BUILD.bazel

Lines changed: 0 additions & 97 deletions
This file was deleted.

bazel/python/pdm/BUILD.bazel

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
load("@//bazel:python.bzl", "py_binary", "pycross_image")
1+
load("@rules_python//python:defs.bzl", "py_binary")
2+
load("@//rules:oci.bzl", "py_image")
23

34
py_binary(
45
name = "pdm",
@@ -7,7 +8,7 @@ py_binary(
78
deps = ["@pypi_deps_for_pdm//:pdm"],
89
)
910

10-
pycross_image(
11+
py_image(
1112
name = "image",
1213
base = "@distroless_python3_debian12",
1314
binary = ":pdm",

bazel/python/poetry.py

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)