Loading .gitlab-ci.yml +8 −0 Original line number Diff line number Diff line Loading @@ -35,6 +35,14 @@ test-shellcheck: script: - shellcheck src/bin/auto-deploy test-shfmt: stage: test image: name: peterdavehello/shfmt:2.6.4 entrypoint: ["/bin/sh", "-c"] script: - shfmt -i 2 -ci -l -d src/bin/* test-dependencies: <<: *test-job variables: Loading README.md +7 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,13 @@ The [Auto-DevOps](https://docs.gitlab.com/ee/topics/autodevops/) [deploy stage](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/lib/gitlab/ci/templates/Jobs/Deploy.gitlab-ci.yml) image. ## Development Scripts in this repository follow GitLab's [shell scripting guide](https://docs.gitlab.com/ee/development/shell_scripting_guide/) and enforces `shellcheck` and `shfmt`. ## Contributing and Code of Conduct Please see [CONTRIBUTING.md](CONTRIBUTING.md) src/bin/auto-deploy +7 −7 Original line number Diff line number Diff line Loading @@ -336,8 +336,8 @@ function get_replicas() { ## End Helper functions option=$1 case $option in case $option in check_kube_domain) check_kube_domain ;; download_chart) download_chart ;; ensure_namespace) ensure_namespace ;; Loading Loading
.gitlab-ci.yml +8 −0 Original line number Diff line number Diff line Loading @@ -35,6 +35,14 @@ test-shellcheck: script: - shellcheck src/bin/auto-deploy test-shfmt: stage: test image: name: peterdavehello/shfmt:2.6.4 entrypoint: ["/bin/sh", "-c"] script: - shfmt -i 2 -ci -l -d src/bin/* test-dependencies: <<: *test-job variables: Loading
README.md +7 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,13 @@ The [Auto-DevOps](https://docs.gitlab.com/ee/topics/autodevops/) [deploy stage](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/lib/gitlab/ci/templates/Jobs/Deploy.gitlab-ci.yml) image. ## Development Scripts in this repository follow GitLab's [shell scripting guide](https://docs.gitlab.com/ee/development/shell_scripting_guide/) and enforces `shellcheck` and `shfmt`. ## Contributing and Code of Conduct Please see [CONTRIBUTING.md](CONTRIBUTING.md)
src/bin/auto-deploy +7 −7 Original line number Diff line number Diff line Loading @@ -336,8 +336,8 @@ function get_replicas() { ## End Helper functions option=$1 case $option in case $option in check_kube_domain) check_kube_domain ;; download_chart) download_chart ;; ensure_namespace) ensure_namespace ;; Loading