Skip to content

Commit 02e897a

Browse files
authored
[DPE-2759] data-platform-libs v23 (External Secrets), Juju3 pipelines (#82)
# `data_platform_libs/data_interfaces` v22 - extrenal secrets - accessing local databag/secrets - delete from databag/secrets # Furthermore - Extend pipelines to run tests both with databag (Juju2) and Secrets enabled (Juju3) - Customize tests that expect a different behavior depending Secrets vs. databag usage
1 parent e832715 commit 02e897a

File tree

12 files changed

+1573
-116
lines changed

12 files changed

+1573
-116
lines changed

.github/workflows/ci.yaml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,15 @@ jobs:
108108
bases-index: 0
109109
- series: jammy
110110
bases-index: 1
111-
name: (GH hosted) ${{ matrix.groups.job_name }} | ${{ matrix.ubuntu-versions.series }}
111+
juju-snap-channel: ["2.9/stable", "3.1/stable"]
112+
include:
113+
- juju-snap-channel: "3.1/stable"
114+
agent-version: "3.1.6"
115+
libjuju-version: "3.2.2"
116+
- juju-snap-channel: "2.9/stable"
117+
agent-version: "2.9.45"
118+
libjuju-version: "2.9.44.1"
119+
name: ${{ matrix.juju-snap-channel }} - (GH hosted) ${{ matrix.groups.job_name }} | ${{ matrix.ubuntu-versions.series }}
112120
needs:
113121
- lint
114122
- unit-test
@@ -127,6 +135,11 @@ jobs:
127135
uses: charmed-kubernetes/actions-operator@main
128136
with:
129137
provider: lxd
138+
bootstrap-options: "--agent-version ${{ matrix.agent-version }}"
139+
juju-channel: ${{ matrix.juju-snap-channel }}
140+
- name: Update python-libjuju version
141+
if: ${{ matrix.libjuju-version == '2.9.44.1' }}
142+
run: poetry add --lock --group integration juju@'${{ matrix.libjuju-version }}'
130143
- name: Download packed charm(s)
131144
uses: actions/download-artifact@v3
132145
with:
@@ -144,3 +157,5 @@ jobs:
144157
fi
145158
- name: Run integration tests
146159
run: tox run -e integration -- "${{ matrix.groups.path_to_test_file }}" --group="${{ matrix.groups.group_number }}" -m '${{ steps.select-test-stability.outputs.mark_expression }}' --mysql-router-charm-series=${{ matrix.ubuntu-versions.series }} --mysql-router-charm-bases-index=${{ matrix.ubuntu-versions.bases-index }}
160+
env:
161+
LIBJUJU_VERSION_SPECIFIER: ${{ matrix.libjuju-version }}

0 commit comments

Comments
 (0)