Skip to content

Commit

Permalink
New PyPi repo (#1206)
Browse files Browse the repository at this point in the history
  • Loading branch information
koropets authored Dec 20, 2021
1 parent bdcd29c commit 4d38bab
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Install
run: |
pip install --upgrade pip==20.1.1
pip install -i "${{ secrets.INDEX_URL }}" -r requirements/full_requirements.txt
pip install --extra-index-url "${{ secrets.INDEX_URL }}" -r requirements/full_requirements.txt
pip install -r requirements/test_requirements.txt
- name: Test ${{ matrix.component }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
run: |
pip install --upgrade pip
pip uninstall -y aws-sam-cli pyyaml # Workaround for fixing an issue with incompatible package versions
pip install -i "${{ secrets.INDEX_URL }}" -r requirements/full_requirements.txt
pip install --extra-index-url "${{ secrets.INDEX_URL }}" -r requirements/full_requirements.txt
- name: Build
run: |
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ ENV PATH "${HOME}/.local/bin:${PATH}"
# Install requirements separately for improved docker caching
COPY --from=builder /code/prereq.txt .
RUN --mount=type=secret,id=pip_index_url \
pip install -i "$(cat /run/secrets/pip_index_url)" --no-deps -r prereq.txt --no-cache-dir
pip install --extra-index-url "$(cat /run/secrets/pip_index_url)" --no-deps -r prereq.txt --no-cache-dir

COPY requirements/full_requirements.txt .
RUN --mount=type=secret,id=pip_index_url \
pip install -i "$(cat /run/secrets/pip_index_url)" -r full_requirements.txt --no-cache-dir
pip install --extra-index-url "$(cat /run/secrets/pip_index_url)" -r full_requirements.txt --no-cache-dir

# Install gordo, packaged from earlier 'python setup.py sdist'
COPY --from=builder /code/dist/gordo-packed.tar.gz .
Expand Down

0 comments on commit 4d38bab

Please sign in to comment.