Skip to content

Commit

Permalink
Remove machine leftovers
Browse files Browse the repository at this point in the history
  • Loading branch information
sed-i committed Sep 21, 2023
1 parent 388e1f8 commit 62f14a5
Show file tree
Hide file tree
Showing 35 changed files with 33 additions and 4,573 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/release-edge.yaml
Original file line number Diff line number Diff line change
@@ -1,36 +1,11 @@
name: Release to Edge

on:
workflow_dispatch: {}
push:
branches:
- main

jobs:
render:
runs-on: ubuntu-20.04
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install dependencies
run: python3 -m pip install tox
- name: Render k8s Charm
run: tox -e render-k8s
- name: Pack Artifact
run: sudo apt-get update && sudo apt-get install tar && tar czvf artifact.tar.gz metadata.yaml src/charm.py
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: k8s_artifact
path: artifact.tar.gz

release:
uses: canonical/observability/.github/workflows/release-charm.yaml@main
needs: render
secrets: inherit
with:
artifact: k8s_artifact
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,4 @@ __pycache__/
.tox
.idea/
tests/integration/*-tester/lib/
metadata.yaml
src/charm.py
.env
3 changes: 0 additions & 3 deletions charmcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ bases:
- name: "ubuntu"
channel: "22.04"
architectures: ["amd64"]
- name: "ubuntu"
channel: "20.04"
architectures: ["amd64"]
parts:
charm:
build-packages:
Expand Down
Loading

0 comments on commit 62f14a5

Please sign in to comment.