-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
lpmatos
committed
Jul 27, 2020
1 parent
31e2d35
commit 27e13b0
Showing
11 changed files
with
286 additions
and
318 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
======= | ||
Credits | ||
======= | ||
|
||
Development Lead | ||
---------------- | ||
|
||
* Lucca Pessoa da Silva Matos <luccapsm@gmail.com> | ||
|
||
Contributors | ||
------------ | ||
|
||
None yet. Why not be the first? | ||
======= | ||
Credits | ||
======= | ||
|
||
Development Lead | ||
---------------- | ||
|
||
* Lucca Pessoa da Silva Matos <luccapsm@gmail.com> | ||
|
||
Contributors | ||
------------ | ||
|
||
None yet. Why not be the first? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,34 @@ | ||
ARG PYTHON_VERSION=3.8-alpine3.11 | ||
|
||
FROM python:${PYTHON_VERSION} as base | ||
|
||
FROM base as install-env | ||
ARG GIT_PASSWORD | ||
|
||
COPY [ "requirements.txt", "."] | ||
|
||
RUN pip install --upgrade pip && \ | ||
pip install --upgrade setuptools && \ | ||
pip install --user --no-warn-script-location -r ./requirements.txt | ||
|
||
FROM base | ||
|
||
ENV GIT_PASSWORD=$GIT_PASSWORD | ||
|
||
RUN set -ex && apk update | ||
|
||
RUN apk add --update --no-cache \ | ||
bash=5.0.11-r1 \ | ||
git=2.24.3-r0 | ||
|
||
COPY --from=install-env [ "/root/.local", "/usr/local" ] | ||
|
||
WORKDIR /usr/src/code | ||
|
||
COPY [ "./gitlab-clone", "." ] | ||
|
||
RUN git config --global user.name "Lucca Pessoa" && \ | ||
git config --global user.email "luccapsm@gmail.com" && \ | ||
git config --global credential.helper cache | ||
|
||
RUN find ./ -iname "*.py" -type f -exec chmod a+x {} \; -exec echo {} \;; | ||
ARG PYTHON_VERSION=3.8-alpine3.11 | ||
|
||
FROM python:${PYTHON_VERSION} as base | ||
|
||
FROM base as install-env | ||
ARG GIT_PASSWORD | ||
|
||
COPY [ "requirements.txt", "."] | ||
|
||
RUN pip install --upgrade pip && \ | ||
pip install --upgrade setuptools && \ | ||
pip install --user --no-warn-script-location -r ./requirements.txt | ||
|
||
FROM base | ||
|
||
ENV GIT_PASSWORD=$GIT_PASSWORD | ||
|
||
RUN set -ex && apk update | ||
|
||
RUN apk add --update --no-cache \ | ||
bash=5.0.11-r1 \ | ||
git=2.24.3-r0 | ||
|
||
COPY --from=install-env [ "/root/.local", "/usr/local" ] | ||
|
||
WORKDIR /usr/src/code | ||
|
||
COPY [ "./gitlab-clone", "." ] | ||
|
||
RUN git config --global user.name "Lucca Pessoa" && \ | ||
git config --global user.email "luccapsm@gmail.com" && \ | ||
git config --global credential.helper cache | ||
|
||
RUN find ./ -iname "*.py" -type f -exec chmod a+x {} \; -exec echo {} \;; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
include AUTHORS.rst | ||
include CONTRIBUTING.rst | ||
include HISTORY.rst | ||
include LICENSE | ||
include README.rst | ||
|
||
recursive-include tests * | ||
recursive-exclude * __pycache__ | ||
recursive-exclude * *.py[co] | ||
|
||
recursive-include docs *.rst conf.py Makefile make.bat *.jpg *.png *.gif | ||
include AUTHORS.rst | ||
include CONTRIBUTING.rst | ||
include HISTORY.rst | ||
include LICENSE | ||
include README.rst | ||
recursive-include tests * | ||
recursive-exclude * __pycache__ | ||
recursive-exclude * *.py[co] | ||
recursive-include docs *.rst conf.py Makefile make.bat *.jpg *.png *.gif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
module.exports = {extends: ['@commitlint/config-conventional']} | ||
module.exports = {extends: ['@commitlint/config-conventional']} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
version: "3.8" | ||
|
||
# ============================================================================== | ||
# ANCHORS | ||
# ============================================================================== | ||
|
||
x-logging: &default-logging | ||
driver: "json-file" | ||
options: | ||
max-size: "500k" | ||
max-file: "20" | ||
|
||
# ============================================================================== | ||
# SERVICES | ||
# ============================================================================== | ||
|
||
services: | ||
|
||
gitlab-clone: | ||
container_name: ${CONTAINER_NAME} | ||
env_file: [ "./.env" ] | ||
build: | ||
context: ./${PATH_DOCKERFILE} | ||
dockerfile: Dockerfile | ||
stdin_open: true | ||
tty: true | ||
restart: on-failure | ||
logging: *default-logging | ||
version: "3.8" | ||
|
||
# ============================================================================== | ||
# ANCHORS | ||
# ============================================================================== | ||
|
||
x-logging: &default-logging | ||
driver: "json-file" | ||
options: | ||
max-size: "500k" | ||
max-file: "20" | ||
|
||
# ============================================================================== | ||
# SERVICES | ||
# ============================================================================== | ||
|
||
services: | ||
|
||
gitlab-clone: | ||
container_name: ${CONTAINER_NAME} | ||
env_file: [ "./.env" ] | ||
build: | ||
context: ./${PATH_DOCKERFILE} | ||
dockerfile: Dockerfile | ||
stdin_open: true | ||
tty: true | ||
restart: on-failure | ||
logging: *default-logging |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = "0.0.1" | ||
__version__ = "0.0.1" |
Oops, something went wrong.