[NO TESTS] WIP
This commit is contained in:
parent
e82259f756
commit
77912e9b65
10 changed files with 10 additions and 70 deletions
1
.bazelrc
1
.bazelrc
|
@ -1,5 +1,6 @@
|
||||||
test --test_output=errors
|
test --test_output=errors
|
||||||
test --test_tag_filters=-known-to-fail
|
test --test_tag_filters=-known-to-fail
|
||||||
|
test --keep_going
|
||||||
|
|
||||||
# To enable flake8 on all build steps, uncomment this -
|
# To enable flake8 on all build steps, uncomment this -
|
||||||
# test --aspects="//tools/flake8:flake8.bzl%flake8_aspect" --output_groups=flake8_checks
|
# test --aspects="//tools/flake8:flake8.bzl%flake8_aspect" --output_groups=flake8_checks
|
||||||
|
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -24,3 +24,4 @@ tmp/
|
||||||
/**/*.sqlite*
|
/**/*.sqlite*
|
||||||
/**/config*.toml
|
/**/config*.toml
|
||||||
/**/config*.yml
|
/**/config*.yml
|
||||||
|
MODULE.bazel.lock
|
||||||
|
|
76
WORKSPACE
76
WORKSPACE
|
@ -62,76 +62,14 @@ load("@arrdem_source_pypi//:requirements.bzl", "install_deps")
|
||||||
# Call it to define repos for your requirements.
|
# Call it to define repos for your requirements.
|
||||||
install_deps()
|
install_deps()
|
||||||
|
|
||||||
git_repository(
|
# git_repository(
|
||||||
name = "rules_zapp",
|
|
||||||
remote = "https://git.arrdem.com/arrdem/rules_zapp.git",
|
|
||||||
commit = "961be891e5cff539e14f2050d5cd9e82845ce0f2",
|
|
||||||
# tag = "0.1.2",
|
|
||||||
)
|
|
||||||
|
|
||||||
# local_repository(
|
|
||||||
# name = "rules_zapp",
|
# name = "rules_zapp",
|
||||||
# path = "/home/arrdem/Documents/hobby/programming/lang/python/rules_zapp",
|
# remote = "https://git.arrdem.com/arrdem/rules_zapp.git",
|
||||||
|
# commit = "961be891e5cff539e14f2050d5cd9e82845ce0f2",
|
||||||
|
# # tag = "0.1.2",
|
||||||
# )
|
# )
|
||||||
|
|
||||||
####################################################################################################
|
local_repository(
|
||||||
# Docker support
|
name = "rules_zapp",
|
||||||
####################################################################################################
|
path = "/home/arrdem/Documents/hobby/programming/lang/python/rules_zapp",
|
||||||
|
|
||||||
http_archive(
|
|
||||||
name = "io_bazel_rules_docker",
|
|
||||||
sha256 = "b1e80761a8a8243d03ebca8845e9cc1ba6c82ce7c5179ce2b295cd36f7e394bf",
|
|
||||||
urls = ["https://github.com/bazelbuild/rules_docker/releases/download/v0.25.0/rules_docker-v0.25.0.tar.gz"],
|
|
||||||
)
|
|
||||||
|
|
||||||
load("@io_bazel_rules_docker//toolchains/docker:toolchain.bzl",
|
|
||||||
docker_toolchain_configure="toolchain_configure"
|
|
||||||
)
|
|
||||||
|
|
||||||
docker_toolchain_configure(
|
|
||||||
name = "docker_config",
|
|
||||||
docker_flags = [
|
|
||||||
],
|
|
||||||
)
|
|
||||||
|
|
||||||
load(
|
|
||||||
"@io_bazel_rules_docker//repositories:repositories.bzl",
|
|
||||||
container_repositories = "repositories",
|
|
||||||
)
|
|
||||||
container_repositories()
|
|
||||||
|
|
||||||
load(
|
|
||||||
"@io_bazel_rules_docker//repositories:deps.bzl",
|
|
||||||
container_deps = "deps"
|
|
||||||
)
|
|
||||||
|
|
||||||
container_deps()
|
|
||||||
|
|
||||||
load(
|
|
||||||
"@io_bazel_rules_docker//container:container.bzl",
|
|
||||||
"container_pull",
|
|
||||||
)
|
|
||||||
|
|
||||||
# container_pull(
|
|
||||||
# name = "python_base",
|
|
||||||
# registry = "index.docker.io",
|
|
||||||
# repository = "library/python",
|
|
||||||
# tag = "3.10.8-alpine"
|
|
||||||
# # sha256 = "digest:d78a749034380426dd6cec6a0db139459ca701630533ffce112adbcdd996fddd",
|
|
||||||
# )
|
|
||||||
|
|
||||||
# container_pull(
|
|
||||||
# name = "python_base",
|
|
||||||
# registry = "gcr.io",
|
|
||||||
# repository = "distroless/python3-debian11",
|
|
||||||
# tag = "latest"
|
|
||||||
# # sha256 = "digest:d78a749034380426dd6cec6a0db139459ca701630533ffce112adbcdd996fddd",
|
|
||||||
# )
|
|
||||||
|
|
||||||
container_pull(
|
|
||||||
name = "python_base",
|
|
||||||
registry = "index.docker.io",
|
|
||||||
repository = "library/python",
|
|
||||||
tag = "3.11-buster"
|
|
||||||
# sha256 = "digest:d78a749034380426dd6cec6a0db139459ca701630533ffce112adbcdd996fddd",
|
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue