Loading .gitlab-ci.yml +20 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,10 @@ include: # pre-commit hook. This can also be better if you're working on different # branches but want to use the hooks from the master branch. # yamllint disable-line rule:line-length - remote: https://git.shore.co.il/shore/ci-templates/-/raw/master/templates/pre-commit.yml - remote: |- https://git.shore.co.il/shore/ci-templates/-/raw/master/templates/pre-commit.yml - remote: |- https://git.shore.co.il/shore/ci-templates/-/raw/master/templates/containerfiles.yml lint templates: image: registry.shore.co.il/ci-images:pre-commit Loading @@ -29,3 +32,19 @@ lint templates: cache: paths: - .cache/ # bats image: build-bats: extends: .container-build variables: CONTEXT: images/bats push-bats: extends: .container-push variables: IMAGE: ci-images TAG: bats needs: - job: build-bats artifacts: true images/bats/.dockerignore 0 → 100644 +1 −0 Original line number Diff line number Diff line * images/bats/Dockerfile 0 → 100644 +11 −0 Original line number Diff line number Diff line FROM registry.hub.docker.com/library/alpine:3.14 # hadolint ignore=DL3018 RUN apk add --update --no-cache \ bats \ build-base \ docker-cli \ git \ openssh-client-default \ openssl \ && \ rm -rf /var/cache/apk/* /tmp/* /var/tmp/* Loading
.gitlab-ci.yml +20 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,10 @@ include: # pre-commit hook. This can also be better if you're working on different # branches but want to use the hooks from the master branch. # yamllint disable-line rule:line-length - remote: https://git.shore.co.il/shore/ci-templates/-/raw/master/templates/pre-commit.yml - remote: |- https://git.shore.co.il/shore/ci-templates/-/raw/master/templates/pre-commit.yml - remote: |- https://git.shore.co.il/shore/ci-templates/-/raw/master/templates/containerfiles.yml lint templates: image: registry.shore.co.il/ci-images:pre-commit Loading @@ -29,3 +32,19 @@ lint templates: cache: paths: - .cache/ # bats image: build-bats: extends: .container-build variables: CONTEXT: images/bats push-bats: extends: .container-push variables: IMAGE: ci-images TAG: bats needs: - job: build-bats artifacts: true
images/bats/Dockerfile 0 → 100644 +11 −0 Original line number Diff line number Diff line FROM registry.hub.docker.com/library/alpine:3.14 # hadolint ignore=DL3018 RUN apk add --update --no-cache \ bats \ build-base \ docker-cli \ git \ openssh-client-default \ openssl \ && \ rm -rf /var/cache/apk/* /tmp/* /var/tmp/*