Skip to content

Commit

Permalink
feat(config): add ability to verify (#362)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfalkowski committed May 18, 2024
1 parent 027b472 commit c722b65
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 87 deletions.
1 change: 1 addition & 0 deletions config/.hadolint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

12 changes: 12 additions & 0 deletions config/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM cimg/go:1.22.3

USER root
WORKDIR /usr/local/bin

# Install yq.
RUN curl -sSOL https://github.com/mikefarah/yq/releases/download/v4.44.1/yq_linux_amd64 && \
mv yq_linux_amd64 yq && \
chmod +x yq

USER circleci
WORKDIR /home/circleci/
8 changes: 8 additions & 0 deletions config/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
build-docker:
docker build -t alexfalkowski/config:1.0 .

push-docker: build-docker
docker push alexfalkowski/config:1.0

lint-docker:
hadolint Dockerfile
41 changes: 0 additions & 41 deletions config/konfig.yaml

This file was deleted.

45 changes: 0 additions & 45 deletions config/migrieren.yml

This file was deleted.

2 changes: 1 addition & 1 deletion scripts/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ changed() {
}

perform() {
dirs=$(find . -mindepth 1 -maxdepth 1 -type d -not -name scripts -not -name bin -not -name config -not -name grafana -not -name prometheus -not -name vault -not -path '*/\.*' | xargs -n 1 basename)
dirs=$(find . -mindepth 1 -maxdepth 1 -type d -not -name scripts -not -name bin -not -name grafana -not -name prometheus -not -name vault -not -path '*/\.*' | xargs -n 1 basename)

for dir in $dirs
do
Expand Down

0 comments on commit c722b65

Please sign in to comment.