From c409503947c3a0420dbacac2411660b527a89beb Mon Sep 17 00:00:00 2001 From: Matt Smith Date: Thu, 12 Dec 2024 11:00:25 -0500 Subject: [PATCH] YNGJ-1058: add to github actions and portal --- .github/workflows/aether_observatory.yml | 13 +++++++++++++ .../aether_observatory.gemspec | 4 ++-- portal.yml | 17 +++++++++++++++++ 3 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/aether_observatory.yml diff --git a/.github/workflows/aether_observatory.yml b/.github/workflows/aether_observatory.yml new file mode 100644 index 00000000..eab8f526 --- /dev/null +++ b/.github/workflows/aether_observatory.yml @@ -0,0 +1,13 @@ +name: aether_observatory + +on: + push: + +jobs: + ruby: + uses: powerhome/github-actions-workflows/.github/workflows/ruby-gem.yml@main + with: + package: ${{ github.workflow }} + workdir: "packages/${{ github.workflow }}" + ruby: '["3.0","3.1","3.2","3.3"]' + secrets: inherit diff --git a/packages/aether_observatory/aether_observatory.gemspec b/packages/aether_observatory/aether_observatory.gemspec index bd6ccbb4..bc7dc833 100644 --- a/packages/aether_observatory/aether_observatory.gemspec +++ b/packages/aether_observatory/aether_observatory.gemspec @@ -28,8 +28,8 @@ Gem::Specification.new do |spec| end spec.require_paths = ["lib"] - spec.add_dependency "activemodel", "~> 6.0", ">= 6.0.6.1" - spec.add_dependency "activesupport", "~> 6.0", ">= 6.0.6.1" + spec.add_dependency "activemodel", ">= 6.0.6.1" + spec.add_dependency "activesupport", ">= 6.0.6.1" spec.add_development_dependency "appraisal", "~> 2.5.0" spec.add_development_dependency "bundler", "~> 2.1" diff --git a/portal.yml b/portal.yml index bc2cc0e3..739886a9 100644 --- a/portal.yml +++ b/portal.yml @@ -1,6 +1,23 @@ --- apiVersion: backstage.io/v1alpha1 kind: Component +metadata: + name: aether_observatory + title: Aether Observatory + description: >- + Aether Observatory provides a event subscription system, based on + ActiveSupport::Notification. + annotations: + backstage.io/techdocs-ref: dir:packages/audit_tracker +spec: + type: library + owner: unbreakable + lifecycle: production + subcomponentOf: power-tools + system: power-application-framework +--- +apiVersion: backstage.io/v1alpha1 +kind: Component metadata: name: power-tools title: PowerTools