Skip to content

Commit

Permalink
feat(ISD-897): Add nginx-route integration (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
amandahla authored Jul 5, 2023
1 parent 778694c commit 39c3a0c
Show file tree
Hide file tree
Showing 16 changed files with 670 additions and 109 deletions.
1 change: 1 addition & 0 deletions .licenserc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ header:
- '.trivyignore'
- '.woke.yaml'
- '.woke.yml'
- '.wokeignore'
- 'CODEOWNERS'
- 'icon.svg'
- 'LICENSE'
Expand Down
1 change: 1 addition & 0 deletions .wokeignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lib/charms/nginx_ingress_integrator/v0/nginx_route.py
10 changes: 5 additions & 5 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ options:
github_webhook_token:
type: string
description: The secret token defined while creating the Webhook.
default: 'default'
default: "default"
github_api_token:
type: string
description: >-
description: |
The GitHub API Access Token used to collect the Action Billing metrics.
default: 'default'
default: "default"
github_org:
type: string
description: >-
description: |
GitHub Organization from which the Action Billing metrics will be
collected.
default: 'default'
default: "default"
4 changes: 1 addition & 3 deletions githubactionsexporter_rock/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,14 @@ name: githubactionsexporter
summary: githubactionsexporter rock
description: GitHub Actions Exporter OCI image for the GitHub Actions Exporter charm
version: "1.0"
base: bare
build-base: ubuntu:22.04
base: ubuntu:22.04
license: Apache-2.0
platforms:
amd64:
parts:
add-user:
plugin: nil
overlay-script: |
mkdir $CRAFT_OVERLAY/etc
chmod 755 $CRAFT_OVERLAY/etc
groupadd -R $CRAFT_OVERLAY --gid 2000 gh_exporter
useradd -R $CRAFT_OVERLAY --system --gid 2000 --uid 2000 --home /srv/gh_exporter/ gh_exporter
Expand Down
Loading

0 comments on commit 39c3a0c

Please sign in to comment.