Skip to content

Commit

Permalink
Connect to gitlab.com ssh to make package installation work
Browse files Browse the repository at this point in the history
  • Loading branch information
agates committed Oct 17, 2022
1 parent 1f5f964 commit e2c683b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/docker_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Make gitlab ssh work
run: |
ssh -i ~/.ssh/private.key -o UserKnownHostsFile=/github/home/.ssh/known_hosts -tt [email protected] "echo test > testfile1"
-
name: Build and push
uses: docker/build-push-action@v2
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
python -m pip install --upgrade pip
pip install poetry
poetry config virtualenvs.create false
ssh -i ~/.ssh/private.key -o UserKnownHostsFile=/github/home/.ssh/known_hosts -tt [email protected] "echo test > testfile1"
poetry install --no-interaction --no-ansi
- name: Test with pytest
env:
Expand Down

0 comments on commit e2c683b

Please sign in to comment.