Skip to content

Commit

Permalink
patch(integration_test_charm.yaml): Wait for microk8s to populate ipt…
Browse files Browse the repository at this point in the history
…ables before restarting on IS-hosted runners (#242)
  • Loading branch information
carlcsaposs-canonical authored Oct 16, 2024
1 parent 8e0606f commit 2dfa362
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/integration_test_charm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,10 @@ jobs:
timeout-minutes: 5
if: ${{ inputs.cloud == 'microk8s' && matrix.groups.is_hosted }}
run: |
# Wait for microk8s to populate iptables
# https://chat.canonical.com/canonical/pl/jo5cg6wqjjrudqd5ybj6hhttee
sg '${{ steps.parse-cloud.outputs.group }}' -c "microk8s status --wait-ready"
sudo tee /var/snap/microk8s/current/args/certs.d/docker.io/hosts.toml << EOF
server = "$DOCKERHUB_MIRROR"
[host."${DOCKERHUB_MIRROR#'https://'}"]
Expand Down

0 comments on commit 2dfa362

Please sign in to comment.