-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update poetry publish workflow version to latest (#430)
![image](https://github.com/bakdata/kpops/assets/20357405/16cade09-d279-44ea-a586-cb61eb196a48) There is a way to increase the timeout: https://python-poetry.org/docs/faq/#my-requests-are-timing-out ### Edit The above issue is still not solved. Even after setting the env variable, the timeout does not increase. Related issue for TestPyPI: pypi/support#3396
- Loading branch information
Showing
3 changed files
with
12 additions
and
10 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 |
---|---|---|
|
@@ -21,14 +21,14 @@ jobs: | |
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
|
||
- name: Install Python and set up Poetry | ||
uses: bakdata/ci-templates/actions/[email protected] | ||
with: | ||
poetry-version: "1.4.1" # REASON: https://github.com/python-poetry/poetry/issues/8180 | ||
poetry-version: "1.7.1" | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Check Poetry lock file consistency | ||
|
@@ -82,7 +82,9 @@ jobs: | |
publish-snapshot-version: | ||
name: Publish snapshot to TestPyPI | ||
needs: [test] | ||
uses: bakdata/ci-templates/.github/workflows/[email protected] | ||
uses: bakdata/ci-templates/.github/workflows/[email protected] | ||
with: | ||
poetry-version: "1.7.1" | ||
secrets: | ||
pypi-token: ${{ secrets.TEST_PYPI_TOKEN }} | ||
|
||
|
@@ -91,7 +93,7 @@ jobs: | |
if: ${{ github.ref == 'refs/heads/main' }} | ||
needs: [test] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Publish docs from main branch | ||
uses: ./.github/actions/update-docs | ||
|
@@ -106,7 +108,7 @@ jobs: | |
if: ${{ github.event_name == 'pull_request' }} | ||
needs: [test] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.head_ref }} | ||
|
||
|
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 |
---|---|---|
|
@@ -15,11 +15,11 @@ on: | |
|
||
jobs: | ||
create-github-release-push-tag: | ||
uses: bakdata/ci-templates/.github/workflows/[email protected].1 | ||
uses: bakdata/ci-templates/.github/workflows/[email protected].4 | ||
name: Release | ||
with: | ||
release-type: ${{ inputs.release-type }} | ||
poetry-version: "1.5.1" | ||
poetry-version: "1.7.1" | ||
changelog: true | ||
changelog-config: "./.github/changelog-config.json" | ||
changelog-file: "./docs/docs/user/changelog.md" | ||
|
@@ -33,7 +33,7 @@ jobs: | |
needs: create-github-release-push-tag | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 # Fetch all tags; Required for doc versioning | ||
|
||
|