Forráskód Böngészése

Added //tools, //third_party, //ops

Breandan Dezendorf 2 éve
szülő
commit
a7908ea8a1

+ 11 - 0
ops/tools/terraform/BUILD

@@ -0,0 +1,11 @@
+shx_binary(
+	name = "terraform",
+	srcs = "terraform.sh",
+	data = [
+		"//third_party/terraform-provider-aws",
+		"//third_party/terraform-provider-cloudflare",
+		"//third_party/terraform@0.12",
+	],
+	visibility = ["//visibility:public"]
+)
+

+ 0 - 0
third_party/BUILD


+ 6 - 0
third_party/fiction-dl/Dockerfile

@@ -0,0 +1,6 @@
+FROM python:3.10-buster
+RUN apt update && apt upgrade -y
+RUN apt install -y libgl1-mesa-glx libglib2.0-0 libmupdf-dev calibre
+
+RUN  /usr/local/bin/python -m pip install --upgrade pip
+RUN  pip3 install fiction-dl

+ 2 - 0
third_party/fiction-dl/Makefile

@@ -0,0 +1,2 @@
+build:
+	docker build -t fiction-dl . < Dockerfile

+ 1 - 0
third_party/requirements.txt

@@ -0,0 +1 @@
+Flask==2.0.2

+ 1 - 0
third_party/requirements_lock.txt

@@ -0,0 +1 @@
+Flask==2.0.2

+ 16 - 0
third_party/terraform/BUILD

@@ -0,0 +1,16 @@
+licenses(["notice"])
+
+package(default_visibility = ["//visibility:public"])
+
+alias(
+	name = "terraform",
+	actual = select({
+		"//conditions:default": "@com_hashicorp_terraform_linux_amd64//:copy_terraform",
+	}),
+	visibilty = ["//visibility:public"],
+)
+
+exports_files([
+	"terraform.BUILD",
+	"package.sh",
+])

+ 11 - 0
third_party/terraform/terraform.BUILD

@@ -0,0 +1,11 @@
+load("@//tools/build_rules:copyfile.bzl", "copyfile")
+
+package(default_visibility = ["//visibility:public"])
+
+copyfile(
+	name = "copy_terraform",
+	src = "terraform",
+	out = "terraform-bin",
+	output_to_bindir = 1,
+	executable = 1,
+)

+ 1 - 0
tools/bin/argocd

@@ -0,0 +1 @@
+/home/bwdezend/monorepo/tools/argocd-cli/argocd-linux-amd64