Skip to content

Commit d7601d5

Browse files
patch(integration_test_charm.yaml): Fix Allure install (#154)
Fixes https://github.com/canonical/mysql-k8s-operator/actions/runs/8149514584/job/22275041487
1 parent c01d6dc commit d7601d5

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/integration_test_charm.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ jobs:
164164
- name: (self-hosted) Install pipx
165165
if: ${{ matrix.groups.self_hosted }}
166166
run: |
167+
sudo apt-get update
167168
sudo apt-get install python3-pip python3-venv -y
168169
python3 -m pip install --user pipx
169170
python3 -m pipx ensurepath
@@ -248,6 +249,7 @@ jobs:
248249
- name: Set up microk8s
249250
if: ${{ inputs.cloud == 'microk8s' }}
250251
run: |
252+
sudo apt-get update
251253
sudo apt-get install retry -y
252254
sudo snap install microk8s --channel='${{ inputs.microk8s-snap-channel }}'
253255
sudo adduser "$USER" '${{ steps.parse-cloud.outputs.group }}'
@@ -364,7 +366,9 @@ jobs:
364366
env:
365367
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
366368
- name: Install Allure
367-
run: sudo apt-get install ./allure_*.deb -y
369+
run: |
370+
sudo apt-get update
371+
sudo apt-get install ./allure_*.deb -y
368372
# For first run, manually create branch with no history
369373
# (e.g.
370374
# git checkout --orphan gh-pages-beta

.github/workflows/release_rock.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ jobs:
3636
- name: Install CLI
3737
run: pipx install git+https://github.com/canonical/data-platform-workflows@'${{ needs.get-workflow-version.outputs.version }}'#subdirectory=python/cli
3838
- name: Install skopeo
39-
run: sudo apt-get install skopeo -y
39+
run: |
40+
sudo apt-get update
41+
sudo apt-get install skopeo -y
4042
- name: Checkout
4143
uses: actions/checkout@v4
4244
- name: Login to GitHub Container Registry

0 commit comments

Comments
 (0)