-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DPE-2567] Update workflows to release to 6/edge (#211)
* [DPE-2632] Updated data platform libs to use external secrets (#207) The goal of this PR is to update data platform libs to use external secrets in MongoDB charm and update the charm code and tests if required * Release to 6/edge * Fix lint errors * Updated workflow file * Update data platform libs for test charms * Update data platform libs for ha tests test app * Update lint settings for tests libs * Reformat file * Fix integration tests for charm * Disable pytest operator cache for integration tests * Change ci worflow * Change ci worflow * Update ci workflows to build all charms * Update ci workflows to build all charms * Update workflow * Update workflow: build step name * Update workflows
- Loading branch information
1 parent
44ff430
commit 41c140f
Showing
20 changed files
with
5,693 additions
and
1,215 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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
name: Release to 5/edge | ||
name: Release to 6/edge | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- 6/edge | ||
|
||
jobs: | ||
lib-check: | ||
|
@@ -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: "6/edge" | ||
build: | ||
name: Build charm | ||
uses: canonical/data-platform-workflows/.github/workflows/build_charm_without_cache.yaml@v5 | ||
with: | ||
charmcraft-snap-channel: "latest/edge" | ||
|
||
release: | ||
name: Release charm | ||
needs: | ||
- ci-tests | ||
- build | ||
uses: canonical/data-platform-workflows/.github/workflows/release_charm.yaml@v5 | ||
with: | ||
channel: 6/edge | ||
artifact-name: ${{ needs.build.outputs.artifact-name }} | ||
secrets: | ||
charmhub-token: ${{ secrets.CHARMHUB_TOKEN }} | ||
permissions: | ||
contents: write # Needed to create GitHub release |
Oops, something went wrong.