This is an automated email from the ASF dual-hosted git repository.

msciabarra pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/openserverless-operator.git


The following commit(s) were added to refs/heads/main by this push:
     new 835301f  license-eye
835301f is described below

commit 835301f7eee98d344a0fb31cc4212ed4e5e956ab
Author: Michele Sciabarra <[email protected]>
AuthorDate: Wed Jul 10 19:17:41 2024 +0200

    license-eye
---
 .git-hooks/pre-push |  2 ++
 .licenserc.yaml     | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 Taskfile.yml        | 11 ++++++++++
 shell.nix           |  3 ++-
 4 files changed, 77 insertions(+), 1 deletion(-)

diff --git a/.git-hooks/pre-push b/.git-hooks/pre-push
new file mode 100755
index 0000000..df3ef30
--- /dev/null
+++ b/.git-hooks/pre-push
@@ -0,0 +1,2 @@
+#!/bin/bash
+license-eye header check
diff --git a/.licenserc.yaml b/.licenserc.yaml
new file mode 100644
index 0000000..2fa6289
--- /dev/null
+++ b/.licenserc.yaml
@@ -0,0 +1,62 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+header:
+  license:
+    spdx-id: Apache-2.0
+    copyright-owner: Apache Software Foundation
+
+  paths-ignore:
+    - '**/.git-hooks/*'
+    - 'playground'
+    - '**/*.off'
+    - '**/*.excalidraw'
+    - '.pdm.toml'
+    - 'nodesource_setup.sh'
+    - '**/pdm.lock'
+    - '**/LICENSE'
+    - '**/package-lock.json'
+    - '**/.*-version'
+    - '**/*.json'
+    - '**/*.txt'
+    - '**/node_modules/**'
+    - '**/__pypackages__/**'
+    - '**/build/**'
+    - '**/target/**'
+    - '**/openwhisk/**'
+    - '**/openwhisk-*/**'
+    - '**/parthenon/**'
+    - '**/*.kubeconfig'
+    - '**/license-eye'
+    - '**/id_rsa*'
+    - '**/.gitkeep'
+    - 'poetry.lock'
+    - '**/__*'
+    - '.github/ngrok'
+    - 'ngrok'
+    - 'ngrok.log'
+    - 'poetry.lock'
+    - 'installer/**'
+    - 'nuv/**'
+    - 'olaris/**'
+    - 'skip-test'
+
+
+dependency:
+  files:
+    - go.mod
+    - package.json
\ No newline at end of file
diff --git a/Taskfile.yml b/Taskfile.yml
new file mode 100644
index 0000000..f3a61e6
--- /dev/null
+++ b/Taskfile.yml
@@ -0,0 +1,11 @@
+version: 3
+
+tasks:
+
+  install-registry:
+    - helm repo add twuni https://helm.twun.io
+    - helm install docker-registry twuni/docker-registry --namespace default
+
+  build-dockerfile:
+    - kubectl -n default create configmap dockerfile-configmap 
--from-file=Dockerfile
+    - kubectl apply -f kaniko.yaml
\ No newline at end of file
diff --git a/shell.nix b/shell.nix
index a1f329d..d5a9bf5 100644
--- a/shell.nix
+++ b/shell.nix
@@ -6,6 +6,7 @@ in
 pkgs.mkShellNoCC {
   packages = with pkgs; [
    python3
-
+   kubernetes-helm
   ];
+
 }

Reply via email to