-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DPE-3167] 5/edge: Correct retry before initialising users and update…
… CI (#230) * Update release workflow for 5/edge: use data platform workflows * Remove unused release.yaml file * Update version of used datap platform workflows to version 6 * Update user creation logic * Update .github/workflows/release_5_edge.yaml Co-authored-by: Carl Csaposs <[email protected]> * Use constant instead of hardcoded number * Fix lint erros * Fix unit tests * WIP * Update use creation * WIP: Fix user creation and unit tests * fix unit tests * Fix HA tests * Increas timeout before check for a cluster status after the network was restored * Fix lint errors * Pin charmcaft revision * Update workflow versions to lates * Fix indentation in build scripts * Pin charmcraft version * Address review comments --------- Co-authored-by: Ubuntu <[email protected]> Co-authored-by: Carl Csaposs <[email protected]> Co-authored-by: Mia Altieri <[email protected]>
- Loading branch information
1 parent
f3ccf7d
commit eba4782
Showing
8 changed files
with
198 additions
and
49 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,21 +28,22 @@ jobs: | |
- lib-check | ||
uses: ./.github/workflows/ci.yaml | ||
|
||
release-to-charmhub: | ||
name: Release to CharmHub | ||
needs: | ||
- lib-check | ||
- ci-tests | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 60 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Upload charm to charmhub | ||
uses: canonical/charming-actions/[email protected] | ||
with: | ||
credentials: "${{ secrets.CHARMHUB_TOKEN }}" | ||
github-token: "${{ secrets.GITHUB_TOKEN }}" | ||
channel: "5/edge" | ||
build: | ||
name: Build charm | ||
uses: canonical/data-platform-workflows/.github/workflows/build_charm_without_cache.yaml@v8 | ||
with: | ||
charmcraft-snap-revision: 1349 | ||
|
||
release: | ||
name: Release charm | ||
needs: | ||
- ci-tests | ||
- build | ||
uses: canonical/data-platform-workflows/.github/workflows/release_charm.yaml@v8 | ||
with: | ||
channel: 5/edge | ||
artifact-name: ${{ needs.build.outputs.artifact-name }} | ||
secrets: | ||
charmhub-token: ${{ secrets.CHARMHUB_TOKEN }} | ||
permissions: | ||
contents: write # Needed to create GitHub release |
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 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.