Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

Commit

Permalink
upkeep: use refactored ci (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucabello authored Oct 19, 2023
1 parent 1420dd0 commit 9216331
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 118 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/issues.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Issues

on: [issues]

jobs:
update:
name: Update Issue
uses: canonical/observability/.github/workflows/issues.yaml@main
secrets: inherit
with:
component: tempo
53 changes: 0 additions & 53 deletions .github/workflows/issues.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/promote.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
jobs:
promote:
name: Promote
uses: canonical/observability/.github/workflows/promote-charm.yaml@main
uses: canonical/observability/.github/workflows/charm-promote.yaml@main
with:
promotion: ${{ github.event.inputs.promotion }}
secrets: inherit
42 changes: 1 addition & 41 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
name: Pull Requests

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
pull_request:
branches:
Expand All @@ -12,41 +8,5 @@ on:
jobs:
pull-request:
name: PR
uses: canonical/observability/.github/workflows/pull-request.yaml@main
uses: canonical/observability/.github/workflows/charm-pull-request.yaml@main
secrets: inherit

scenario-tests:
name: Scenario tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Set up python
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install dependencies
run: python -m pip install tox
- name: Run scenario tests
run: tox -vve scenario

lint:
name: Linting
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Set up python
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install dependencies
run: python -m pip install tox
- name: Run linter
run: tox -vve lint
- name: Run linter
run: tox -vve lint
11 changes: 0 additions & 11 deletions .github/workflows/release-edge.yaml

This file was deleted.

11 changes: 0 additions & 11 deletions .github/workflows/release-libs.yaml

This file was deleted.

11 changes: 11 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Release Charm to Edge and Publish Libraries

on:
push:
branches:
- main

jobs:
release:
uses: canonical/observability/.github/workflows/charm-release.yaml@main
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/update-libs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ on:
jobs:
update-lib:
name: Check libraries
uses: canonical/observability/.github/workflows/update-libs.yaml@main
uses: canonical/observability/.github/workflows/charm-update-libs.yaml@main
secrets: inherit

0 comments on commit 9216331

Please sign in to comment.