From 76ff7f50408b000fe744cbb08c91f4e8e5852688 Mon Sep 17 00:00:00 2001 From: Zeid Adabel Date: Fri, 16 Feb 2024 12:35:42 +0100 Subject: [PATCH] Merge pull request #6 from Ortec-Finance/first-release First release --- .github/workflows/tag-release.yml | 13 ++++++ CHANGELOG.md | 78 +++++++++++++++++++++++++++++-- 2 files changed, 88 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tag-release.yml b/.github/workflows/tag-release.yml index ea3e0be..1b2f0ec 100644 --- a/.github/workflows/tag-release.yml +++ b/.github/workflows/tag-release.yml @@ -15,3 +15,16 @@ jobs: with: github_token: ${{ secrets.GITHUB_TOKEN }} force_bump: minor + - name: Extract changelog + id: extract-changelog + uses: sean0x42/markdown-extract@c693bde0b70a7056f5d698fc961e92c101bec53f + with: + file: "CHANGELOG.md" + no-print-matched-heading: true + pattern: "${{ steps.tag_version.outputs.new_tag }}" + - name: Create a GitHub release + uses: ncipollo/release-action@v1 + with: + tag: ${{ steps.tag_version.outputs.new_tag }} + name: Release ${{ steps.tag_version.outputs.new_tag }} + body: ${{ steps.extract-changelog.outputs.markdown }} diff --git a/CHANGELOG.md b/CHANGELOG.md index e936b56..142fbae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,12 @@ # Changelog +## v0.8.0 +Implemented GH Action that creates Releases + ## v0.7.0 Added ability to set the maximum amount that your machinesets are allowed to scale to. -### Breaking changes: +### Breaking Changes To upgrade to this version you must update the machineset argo app to include the parameter: ``` @@ -14,16 +17,85 @@ To upgrade to this version you must update the machineset argo app to include th ``` ## v0.6.0 +Fixed some Readme inconsistencies ## v0.5.0 +Simplified image replacements in your overlays, now you can just reference them by name! + +In your overlay you can use the kustomize `images` field like such: + +``` +images: + - name: sailfish-run-manager + newName: your-registry/your-run-manager-image + - name: sailfish-runner + newName: your-registry/your-runner-image + - name: sailfish-gateway + newName: your-registry/your-gateway-image +``` + + + ## v0.4.0 +Fixed issue where this repo does not work with ApplicationSets due to the namespace field in the ScaledJob/ScaledObject Triggers. + +Now these fields no longer needs to be overriden, a ArgoCD Post-Sync job is deployed to fix all the triggers. + +### Breaking Changes +You must update your overlays to no longer replace namespaces of ScaledJob and ScaledObject `triggers` +You must update your ArgoCD Application that deploys sailfish with these ignores: +``` + ## There is a Post Sync job that automates the replacement of the namespace in the triggers + - group: keda.sh + kind: ScaledJob + jsonPointers: + - /spec/triggers/0/metadata/namespace + - /spec/triggers/1/metadata/namespace + - /spec/triggers/2/metadata/namespace + - /spec/triggers/3/metadata/namespace + - /spec/triggers/4/metadata/namespace + - /spec/triggers/5/metadata/namespace + - group: keda.sh + kind: ScaledObject + jsonPointers: + - /spec/triggers/0/metadata/namespace + - /spec/triggers/1/metadata/namespace + - /spec/triggers/2/metadata/namespace + - /spec/triggers/3/metadata/namespace + - /spec/triggers/4/metadata/namespace + - /spec/triggers/5/metadata/namespace +``` + ## v0.3.0 +Added Ability to Scale the Sailfish Broker to Zero when there is no traffic! +This Version also introduces the use of kustomize Components. -## v0.2.0 +The current components are: +- **sailfish-gateway** - A Knative Service that handles the trigger of a Job/Simulation +- **AMQ Broker scaling to zero** - This requires the sailfish-gateway to be enabled +- **Ephemeral Broker** - If you wish to remove the persistence of queue -## v0.1.0 +To activate one of these features, simply add it in your `kustomization.yaml` like such: + +``` +components: + - https://github.com/Ortec-Finance/rd-labs-sailfish-hpc//sailfish-k8s/sailfish/components/ephemeral-broker/?timeout=120&ref=v0.2.0 +``` +If you intend to use the AMQ Broker scaling to zero component you must update your ArgoCD Application that deploys sailfish-hpc with these ignores: + +``` + ignoreDifferences: + - group: broker.amq.io + kind: ActiveMQArtemis + jsonPointers: + - /spec/deploymentPlan/size +``` + +## v0.2.0 +Updated Cluster Configuration to properly deploy operators +Updated Machine Configuration to support OCP 4.12 and parameterized taints and labels