Skip to content

Commit

Permalink
chore: remove generator for mkdkr (#75)
Browse files Browse the repository at this point in the history
- simplify docker image
  • Loading branch information
rosineygp authored Feb 18, 2020
1 parent adba881 commit 50b7072
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 66 deletions.
13 changes: 2 additions & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
# this dockerfile is an example
FROM python:3.6-alpine
FROM alpine:3

RUN pip install jinja2-cli[yaml] \
&& apk --no-cache add bash \
&& rm -rf /var/cache/apk/*

COPY generator /generator

WORKDIR /generator

RUN ln -sf /generator/gitlab-ci /usr/local/bin/
RUN echo "just a test"
7 changes: 0 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ shellcheck:
@$(.)
... koalaman/shellcheck-alpine:v0.4.6
.. shellcheck -e SC1088 -e SC2068 -e SC2086 .mkdkr
.. shellcheck generator/gitlab-ci
.. shellcheck -e SC2181 test/unit_job_name
.. shellcheck -e SC2181 -e SC2086 test/unit_create_instance
.. shellcheck -e SC2181 -e SC2086 -e SC1091 test/unit_branch_or_tag_name
Expand Down Expand Up @@ -79,12 +78,6 @@ brainfuck:
.. apk add make bash
.. make pipeline

generator/gitlab:
@$(.)
... rosineygp/mkdkr
.. gitlab-ci lint=shellcheck \
scenarios=small,service,dind > .gitlab-ci.yml

pipeline:
make --silent commitlint
make --silent shellcheck
Expand Down
21 changes: 0 additions & 21 deletions generator/gitlab-ci

This file was deleted.

27 changes: 0 additions & 27 deletions generator/templates/.gitlab-ci.yml.j2

This file was deleted.

0 comments on commit 50b7072

Please sign in to comment.