-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MISC] Switch to strict requirements (#349)
* Switch to strict requirements * Regenerate lock * Switch to dpw 9 * Update boilerplate
- Loading branch information
Showing
11 changed files
with
151 additions
and
75 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
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 |
---|---|---|
|
@@ -26,6 +26,17 @@ jobs: | |
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Set up environment | ||
run: | | ||
pipx install tox | ||
pipx install poetry | ||
pipx inject poetry poetry-plugin-export | ||
# TODO: Remove after https://github.com/python-poetry/poetry/pull/5980 is closed | ||
poetry config warnings.export false | ||
- name: Generate requirements | ||
run: | | ||
tox run -e build-wrapper | ||
mv requirements-last-build.txt requirements.txt | ||
- name: Check libs | ||
uses: canonical/charming-actions/[email protected] | ||
with: | ||
|
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 |
---|---|---|
|
@@ -19,8 +19,6 @@ jobs: | |
name: Tests | ||
uses: ./.github/workflows/ci.yaml | ||
secrets: inherit | ||
permissions: | ||
actions: write # Needed to manage GitHub Actions cache | ||
|
||
release-libraries: | ||
name: Release libraries | ||
|
@@ -33,6 +31,17 @@ jobs: | |
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Set up environment | ||
run: | | ||
pipx install tox | ||
pipx install poetry | ||
pipx inject poetry poetry-plugin-export | ||
# TODO: Remove after https://github.com/python-poetry/poetry/pull/5980 is closed | ||
poetry config warnings.export false | ||
- name: Generate requirements | ||
run: | | ||
tox run -e build-wrapper | ||
mv requirements-last-build.txt requirements.txt | ||
- name: Release charm libraries | ||
uses: canonical/charming-actions/[email protected] | ||
with: | ||
|
@@ -41,14 +50,16 @@ jobs: | |
|
||
build: | ||
name: Build charm | ||
uses: canonical/data-platform-workflows/.github/workflows/[email protected] | ||
uses: canonical/data-platform-workflows/.github/workflows/[email protected] | ||
with: | ||
charmcraft-snap-channel: beta | ||
|
||
release: | ||
name: Release charm | ||
needs: | ||
- ci-tests | ||
- build | ||
uses: canonical/data-platform-workflows/.github/workflows/release_charm.yaml@v7.0.0 | ||
uses: canonical/data-platform-workflows/.github/workflows/release_charm.yaml@v9.0.2 | ||
with: | ||
channel: 14/edge | ||
artifact-name: ${{ needs.build.outputs.artifact-name }} | ||
|
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
Oops, something went wrong.