Skip to content

Commit

Permalink
Re-organize hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
treydock committed Mar 22, 2021
1 parent 719859b commit 6b94c63
Show file tree
Hide file tree
Showing 10 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,4 @@ jobs:
kubectl config use-context kind-kind
kubectl cluster-info
- name: Test k8s-bootstrap
run: /bin/bash hooks/k8s-bootstrap-ondemand.sh test hooks/hook.env.example
run: /bin/bash hooks/k8s-bootstrap/k8s-bootstrap-ondemand.sh test hooks/hook.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export PATH=/usr/local/bin:/bin:$PATH
export NAMESPACE="${NAMESPACE_PREFIX}${ONDEMAND_USERNAME}"

BASEDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
YAML_DIR="${BASEDIR}/k8s-bootstrap"
YAML_DIR="${BASEDIR}/yaml"
TMPFILE=$(mktemp "/tmp/k8-ondemand-bootstrap-${ONDEMAND_USERNAME}.XXXXXX")

envsubst < "${YAML_DIR}/namespace.yaml" > "$TMPFILE"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion lib/tasks/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def yarn_app?(path)
sh "shellcheck -x ood-portal-generator/sbin/update_ood_portal"
sh "shellcheck -x nginx_stage/sbin/nginx_stage"
sh "shellcheck nginx_stage/sbin/update_nginx_stage"
sh "shellcheck hooks/*.sh"
sh "shellcheck hooks/k8s-bootstrap/*.sh"
end

begin
Expand Down

0 comments on commit 6b94c63

Please sign in to comment.