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

chore: deploy to main #46

Merged
merged 42 commits into from
Jul 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
eb7243d
chore: encapsulate aggregation db credentials fetch process
junminahn Jan 13, 2023
52f2ca8
Merge pull request #28 from bcgov/feat/work
junminahn Jan 13, 2023
3174397
chore: minor change to readme
thegentlemanphysicist Feb 2, 2023
6cb1ae7
Merge pull request #30 from bcgov/readmechange
thegentlemanphysicist Feb 2, 2023
3397684
chore: allow manual trigger of loki
thegentlemanphysicist Feb 2, 2023
f25ee9d
Merge pull request #31 from bcgov/readmechange
thegentlemanphysicist Feb 3, 2023
debd0b6
chore: add manual trigger
thegentlemanphysicist Feb 3, 2023
5e309dc
Merge pull request #32 from bcgov/readmechange
thegentlemanphysicist Feb 3, 2023
4a3b74d
Autoscaller (#33)
thegentlemanphysicist May 29, 2023
d43165f
Autoscaller (#34)
thegentlemanphysicist May 30, 2023
49fa76a
feat: repo setup and install grafana in e4ca1d (#36)
NithinKuruba Oct 19, 2023
3aab72a
feat: deploy grafana to production (#37)
NithinKuruba Oct 23, 2023
5404d4f
feat: disable login form
NithinKuruba Oct 23, 2023
2c0771c
feat: updated architecture diagram
NithinKuruba Nov 17, 2023
fc38487
feat: close db conn after query (#38)
NithinKuruba Nov 29, 2023
9217572
feat: updated all the helm charts for prod deployment
NithinKuruba Nov 30, 2023
30db344
feat: minor tweaks to optimize the resources
NithinKuruba Dec 6, 2023
118517d
feat: updated retention period grafana loki
NithinKuruba Mar 14, 2024
4843e2c
chore: update configs
jlangy Mar 19, 2024
596ebed
Merge pull request #40 from bcgov/ssoteam-1610
jlangy Mar 19, 2024
05c6f08
feat: upgraded git actions to be compatible with node 20 (#42)
NithinKuruba Apr 2, 2024
1a734cf
chore: sessions
jlangy May 17, 2024
f2ee039
chore: cleanup
jlangy May 17, 2024
7c44f03
feat: webhook
jlangy May 24, 2024
6e469bc
chore: workflow
jlangy May 24, 2024
f3246fa
fix: workflow
jlangy May 24, 2024
a385f9b
fix: workflow
jlangy May 24, 2024
9cf4012
fix: workflow
jlangy May 24, 2024
7bba6dc
fix: workflow
jlangy May 24, 2024
1e39633
fix: workflow
jlangy May 24, 2024
3c3b7e6
chore: tests
jlangy May 24, 2024
232b759
chore: workflow
jlangy May 24, 2024
56a7ead
chore: workflow
jlangy May 24, 2024
2b044fd
chore: helm
jlangy May 24, 2024
82835a7
chore: cleanup
jlangy May 24, 2024
3bfbdad
chore: events
jlangy May 25, 2024
597ae04
chore: reduce frequency
jlangy May 28, 2024
718fa5f
Merge pull request #43 from bcgov/ssoteam-1456
jlangy May 28, 2024
cda2b66
chore: update values
jlangy Jul 29, 2024
c940044
chore: close db
jlangy Jul 29, 2024
c14162a
Merge pull request #44 from bcgov/ssoteam-1454
jlangy Jul 29, 2024
8acbbaf
chore: perform migration to allow null entries in table (#45)
thegentlemanphysicist Jul 30, 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
4 changes: 2 additions & 2 deletions .github/actions/setup-tools/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ runs:
using: composite
steps:
- name: Install asdf
uses: asdf-vm/actions/setup@v1
uses: asdf-vm/actions/setup@v3

- name: Cache tools
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: /home/runner/.asdf
key: ${{ runner.os }}-${{ hashFiles('**/.tool-versions') }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ jobs:
pre-commit:
runs-on: ubuntu-22.04
steps:
- uses: hmarr/debug-action@v2
- uses: actions/checkout@v3
- uses: hmarr/debug-action@v3
- uses: actions/checkout@v4

- name: Setup Tools
uses: ./.github/actions/setup-tools
Expand All @@ -18,7 +18,7 @@ jobs:
commitlint:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v5
51 changes: 51 additions & 0 deletions .github/workflows/publish-aggregator-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Create and publish SSO Aggregator

on:
push:
branches:
- main
- dev
paths:
- aggregator/**

env:
GITHUB_REGISTRY: ghcr.io
IMAGE_NAME: bcgov/sso-aggregator

jobs:
build-and-push-image:
runs-on: ubuntu-22.04
permissions:
contents: read
packages: write

steps:
- uses: hmarr/debug-action@v3
- uses: actions/checkout@v4

- name: Setup Tools
uses: ./.github/actions/setup-tools

- name: Log in to the GitHub Container registry
uses: docker/login-action@v3
with:
registry: ${{ env.GITHUB_REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.GITHUB_REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=ref,event=branch
type=sha,format=long

- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: aggregator
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
85 changes: 0 additions & 85 deletions .github/workflows/publish-aggregator.yml

This file was deleted.

67 changes: 0 additions & 67 deletions .github/workflows/publish-grafana.yml

This file was deleted.

67 changes: 0 additions & 67 deletions .github/workflows/publish-loki.yml

This file was deleted.

39 changes: 0 additions & 39 deletions .github/workflows/publish-promtail-prod.yml

This file was deleted.

39 changes: 0 additions & 39 deletions .github/workflows/publish-promtail-sandbox.yml

This file was deleted.

Loading
Loading