Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/proxy #12

Merged
merged 26 commits into from
Feb 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
a7b0743
chore: adjusted handlers
paulobressan Jan 10, 2024
87541c0
Merge branch 'main' of github.com:demeter-run/ext-cardano-ogmios
paulobressan Jan 10, 2024
e8fcc71
Merge branch 'main' of github.com:demeter-run/ext-cardano-ogmios
paulobressan Jan 15, 2024
34b7f29
Merge branch 'main' of github.com:demeter-run/ext-cardano-ogmios
paulobressan Feb 7, 2024
0ef6c32
feat: added proxy
paulobressan Feb 7, 2024
df8ff51
feat: added workspace to reuse Ogmios port to watch on proxy
paulobressan Feb 8, 2024
113775a
docs(readme): adjusted readme
paulobressan Feb 8, 2024
2e4ca6d
feat(proxy): improved proxy and removed plugin modules
paulobressan Feb 8, 2024
41e1ca5
feat(proxy): adjusted websocket path
paulobressan Feb 9, 2024
a112065
chore(operator): exposed kube lib in workspace
paulobressan Feb 9, 2024
0506fb0
feat(proxy): added RwLock in state
paulobressan Feb 9, 2024
08124f9
feat(proxy): added auth using kube resource
paulobressan Feb 9, 2024
c641fd2
chore(operator): adjusted to use proxy auth
paulobressan Feb 10, 2024
19a4cc9
feat(proxy): added proxy structure req and ws connection metric
paulobressan Feb 10, 2024
7e0b42b
feat(proxy): added ws/http metrics
paulobressan Feb 13, 2024
2bc02a9
feat: added docker files to build each app
paulobressan Feb 14, 2024
75d603c
chore(proxy): added an example using k8s
paulobressan Feb 14, 2024
5550e50
feat(operator): added thread to metrics collector
paulobressan Feb 14, 2024
6959d8a
chore(docker): fixed docker image
paulobressan Feb 14, 2024
a1e955a
chore(proxy): adjusted metrics name
paulobressan Feb 14, 2024
714b5e9
feat(operator): added metrics collector
paulobressan Feb 14, 2024
140a6ce
docs(proxy): added readme
paulobressan Feb 15, 2024
c9e098c
chore(ci/cd): adjusted controller github workflow to use docker/docke…
paulobressan Feb 15, 2024
6465023
feat(ci/cd): added proxy build github workflow
paulobressan Feb 15, 2024
61a7802
feat(proxy): updated regex to get values from hostname
paulobressan Feb 19, 2024
2ad53d9
chore(operator): added version on the URL
paulobressan Feb 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/controller.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ on:
paths:
- ".github/workflows/controller.yml"
- "operator/**"

jobs:
build-images:
strategy:
fail-fast: false
matrix:
include:
- context: operator
file: operator/Dockerfile
endpoint: demeter-run/ext-cardano-ogmios
- context: .
file: docker/dockerfile.operator
endpoint: demeter-run/ext-cardano-ogmios-operator

continue-on-error: true
runs-on: ubuntu-latest
Expand Down
40 changes: 40 additions & 0 deletions .github/workflows/proxy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Proxy

on:
push:
branches:
- "main"
paths:
- ".github/workflows/proxy.yml"
- "proxy/**"

jobs:
build-images:
strategy:
fail-fast: false
matrix:
include:
- context: .
file: docker/dockerfile.proxy
endpoint: demeter-run/ext-cardano-ogmios-proxy

continue-on-error: true
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]

- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v2
with:
context: ${{ matrix.context }}
file: ${{ matrix.file }}
platforms: linux/amd64
push: true
tags: ghcr.io/${{ matrix.endpoint }},ghcr.io/${{ matrix.endpoint }}:${{ github.sha }}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/target
env-crd.yaml
Loading
Loading