Skip to content

Commit

Permalink
feat: updated all the helm charts for prod deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
NithinKuruba committed Nov 30, 2023
1 parent fc38487 commit 9217572
Show file tree
Hide file tree
Showing 32 changed files with 433 additions and 484 deletions.
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@v2
- uses: actions/checkout@v3

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

- name: Log in to the GitHub Container registry
uses: docker/login-action@v2
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@v4
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@v3
with:
context: aggregator
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
95 changes: 0 additions & 95 deletions .github/workflows/publish-aggregator.yml

This file was deleted.

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

This file was deleted.

77 changes: 0 additions & 77 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.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
helm/**/charts
get-pip.py
**/.env
Loading

0 comments on commit 9217572

Please sign in to comment.