Skip to content

Commit

Permalink
ci, build: update CI, libraries, python dependencies, and format (#112)
Browse files Browse the repository at this point in the history
* ci, build: update CI and python dependencies

This commit updates the CI with standard CI configuration (juju, actions, deps) that is shared
across multiple repositories. All python dependencies are also updated to their latest working
versions. Finally, some formatting was applied on non-compliant files (copyright, style).
  • Loading branch information
DnPlas authored Jul 26, 2023
1 parent 8724dda commit 216817b
Show file tree
Hide file tree
Showing 36 changed files with 604 additions and 481 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/integrate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,9 @@ jobs:
with:
provider: microk8s
channel: 1.24/stable
# Pinned until this bug is resolved: https://bugs.launchpad.net/juju/+bug/1992833
bootstrap-options: "--agent-version=2.9.34"
microk8s-addons: "dns storage rbac metallb:10.64.140.43-10.64.140.49"

# TODO: Remove once the actions-operator does this automatically
- name: Configure kubectl
run: |
sg microk8s -c "microk8s config > ~/.kube/config"
juju-channel: 2.9/stable
charmcraft-channel: latest/candidate

- name: Build and test
working-directory: ./charms/${{ matrix.charm }}
Expand Down
2 changes: 1 addition & 1 deletion bundle.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Canonical Ltd.
# Copyright 2023 Canonical Ltd.
# See LICENSE file for licensing details.

bundle: kubernetes
Expand Down
2 changes: 1 addition & 1 deletion charms/argo-controller/charmcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Canonical Ltd.
# Copyright 2023 Canonical Ltd.
# See LICENSE file for licensing details.

type: charm
Expand Down
2 changes: 1 addition & 1 deletion charms/argo-controller/config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Canonical Ltd.
# Copyright 2023 Canonical Ltd.
# See LICENSE file for licensing details.

options:
Expand Down
213 changes: 110 additions & 103 deletions charms/argo-controller/lib/charms/grafana_k8s/v0/grafana_dashboard.py

Large diffs are not rendered by default.

Loading

0 comments on commit 216817b

Please sign in to comment.