-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #139 from artefactory/dev
ACK v2.0
- Loading branch information
Showing
269 changed files
with
10,429 additions
and
6,138 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,4 +1,4 @@ | ||
PROJECT_ID=artefact-docker-containers | ||
DOCKER_IMAGE=nautilus-connectors-kit-dev | ||
DOCKER_TAG=v1.1 | ||
DOCKER_IMAGE=artefactory-connectors-kit-dev | ||
DOCKER_TAG=v2.0 | ||
DOCKER_REGISTRY=eu.gcr.io |
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 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 |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# GNU Lesser General Public License v3.0 only | ||
# Copyright (C) 2020 Artefact | ||
# [email protected] | ||
# | ||
# This program is free software; you can redistribute it and/or | ||
# modify it under the terms of the GNU Lesser General Public | ||
# License as published by the Free Software Foundation; either | ||
# version 3 of the License, or (at your option) any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
# Lesser General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU Lesser General Public License | ||
# along with this program; if not, write to the Free Software Foundation, | ||
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
|
||
name: Build and deploy documentation to Github pages | ||
|
||
on: | ||
push: | ||
branches: | ||
- dev | ||
|
||
jobs: | ||
|
||
build-and-deploy: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
persist-credentials: false | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: 3.8 | ||
|
||
- name: Install Python dependencies | ||
run: | | ||
pip3 install setuptools | ||
pip3 install sphinx sphinx-rtd-theme | ||
- name: Build Sphinx doc | ||
run: | | ||
cd docs/ | ||
make html | ||
- name: Deploy Github Pages | ||
uses: JamesIves/[email protected] | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
BRANCH: gh-pages | ||
FOLDER: docs/build/html/ | ||
CLEAN: true |
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 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 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 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 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,41 +1,14 @@ | ||
FROM python:3.7 | ||
FROM python:3.8-slim-buster | ||
|
||
# Install Unix packages | ||
RUN apt-get update && apt-get install -y \ | ||
supervisor \ | ||
cron \ | ||
nano \ | ||
git \ | ||
build-essential \ | ||
unzip \ | ||
libaio-dev \ | ||
&& mkdir -p /opt/data/api | ||
ENV PYTHONDONTWRITEBYTECODE True | ||
ENV PYTHONUNBUFFERED True | ||
|
||
# Oracle Dependencies | ||
ADD ./vendor /opt/vendor | ||
ADD requirements.txt . | ||
RUN python -m pip install -r requirements.txt | ||
|
||
WORKDIR /opt/vendor | ||
WORKDIR /app | ||
ADD . /app | ||
|
||
ENV ORACLE_HOME=/opt/oracle/instantclient | ||
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME | ||
|
||
ENV OCI_HOME=/opt/oracle/instantclient | ||
ENV OCI_LIB_DIR=/opt/oracle/instantclient | ||
ENV OCI_INCLUDE_DIR=/opt/oracle/instantclient/sdk/include | ||
|
||
# Install Oracle | ||
RUN mkdir /opt/oracle | ||
RUN chmod +x /opt/vendor/install.sh | ||
RUN /opt/vendor/install.sh | ||
|
||
RUN mkdir /app | ||
|
||
# Copy code | ||
ADD . /app/ | ||
RUN chmod -R 0644 /app | ||
WORKDIR /app/ | ||
ENV PYTHONPATH=${PYTHONPATH}:. | ||
|
||
RUN python setup.py install | ||
|
||
ENTRYPOINT ["nckrun"] | ||
ENTRYPOINT ["python", "ack/entrypoints/cli/main.py"] |
Oops, something went wrong.