Add build targets for oauth2redirect and helloworld.
Change-Id: I61680980129695083159aefefc2aed09233664e7
Reviewed-on: https://skia-review.googlesource.com/c/buildbot/+/686357
Reviewed-by: Ravi Mistry <rmistry@google.com>
Commit-Queue: Ravi Mistry <rmistry@google.com>
Commit-Queue: Joe Gregorio <jcgregorio@google.com>
Auto-Submit: Joe Gregorio <jcgregorio@google.com>
diff --git a/helloworld/Makefile b/helloworld/Makefile
new file mode 100644
index 0000000..c45a4e7
--- /dev/null
+++ b/helloworld/Makefile
@@ -0,0 +1,2 @@
+push:
+ $(BAZEL) run --config=mayberemote //helloworld:pushk_helloworld
\ No newline at end of file
diff --git a/kube/BUILD.bazel b/kube/BUILD.bazel
index 177296a..d8e380d 100644
--- a/kube/BUILD.bazel
+++ b/kube/BUILD.bazel
@@ -1 +1,17 @@
+load("//bazel:skia_app_container.bzl", "skia_app_container")
+
exports_files(["attach.sh"])
+
+skia_app_container(
+ name = "oauth2redirect",
+ dirs = {
+ "/usr/local/bin": [
+ [
+ "//kube/cmd/oauth2redirect:oauth2redirect",
+ "0755",
+ ],
+ ],
+ },
+ entrypoint = "/usr/local/bin/oauth2redirect",
+ repository = "skia-public/oauth2redirect",
+)
diff --git a/kube/Makefile b/kube/Makefile
index 417b0c2..b7a03b0 100644
--- a/kube/Makefile
+++ b/kube/Makefile
@@ -15,10 +15,12 @@
docker pull alpine:3.9
./build_basealpine_release
-push: release_auth_proxy
- pushk auth-proxy
+push: pushk_authproxy pushk_authproxy
pushk_authproxy: release_auth_proxy
$(BAZEL) run --config=mayberemote //kube/cmd/auth-proxy:pushk_auth-proxy-container
+pushk_oauth2redirect:
+ $(BAZEL) run --config=mayberemote //kube:pushk_oauth2redirect
+
include kube.mk