Skip to content

Commit

Permalink
fix charts and github actions!
Browse files Browse the repository at this point in the history
  • Loading branch information
TimCsaky committed Oct 18, 2024
1 parent 5da5ac2 commit 95e95c3
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/actions/deploy-to-environment/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ runs:
run: >-
helm upgrade --install --debug --atomic ${{ inputs.job_name }} ${{ inputs.app_name }}
--namespace ${{ inputs.namespace_prefix }}-${{ inputs.namespace_environment }}
--repo https://timcsaky.github.io/common-object-management-service
--repo https://bcgov.github.io/common-object-management-service
--values ./.github/environments/values.${{ inputs.environment }}.yaml
--set image.repository=ghcr.io/$OWNER_LC
--set image.tag=sha-$(git rev-parse --short HEAD)
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/on-pr-closed.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Pull Request Closed

env:
ACRONYM: migrate
ACRONYM: coms
APP_NAME: common-object-management-service
NAMESPACE_PREFIX: 1dca6b
NAMESPACE_PREFIX: bb17f9

on:
pull_request:
Expand All @@ -19,7 +19,7 @@ concurrency:
jobs:
remove-pr-dev:
name: Remove PR build from dev namespace
# if: "! github.event.pull_request.head.repo.fork"
if: "! github.event.pull_request.head.repo.fork"
environment:
name: pr
url: https://${{ env.ACRONYM }}-dev-pr-${{ github.event.number }}.apps.silver.devops.gov.bc.ca
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/on-pr-opened.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Pull Request Opened

env:
ACRONYM: migrate
ACRONYM: coms
APP_NAME: common-object-management-service
NAMESPACE_PREFIX: 1dca6b
NAMESPACE_PREFIX: bb17f9

on:
pull_request:
Expand All @@ -21,7 +21,7 @@ concurrency:
jobs:
build:
name: Build & Push
# if: "! github.event.pull_request.head.repo.fork"
if: "! github.event.pull_request.head.repo.fork"
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/on-push.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Push

env:
ACRONYM: migrate
ACRONYM: coms
APP_NAME: common-object-management-service
NAMESPACE_PREFIX: 1dca6b
NAMESPACE_PREFIX: bb17f9

on:
push:
Expand Down
4 changes: 2 additions & 2 deletions charts/coms/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: common-object-management-service
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.2
version: 0.1.4
kubeVersion: ">= 1.13.0"
description: A microservice for managing access control to S3 Objects
# A chart can be either an 'application' or a 'library' chart.
Expand All @@ -28,7 +28,7 @@ sources:
- https://github.com/bcgov/common-object-management-service
dependencies:
- name: postgrescluster
version: 0.1.2
version: 0.1.4
repository: "file://../postgres"
condition: postgres.enabled
alias: postgres
Expand Down
4 changes: 4 additions & 0 deletions charts/coms/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -247,3 +247,7 @@ postgres:
limits:
cpu: 50m
memory: 128Mi

# -------- backups ---------
pgBackRestConfig:
repos: {}
2 changes: 1 addition & 1 deletion charts/postgres/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ name: postgrescluster
description: A Helm chart for Kubernetes
type: application
# The version below should match the version on the PostgresCluster CRD
version: 0.1.2
version: 0.1.4
appVersion: 5.6.0

0 comments on commit 95e95c3

Please sign in to comment.