From b7fa8bdb1716006819037cd49a4aed650501ce3e Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Sat, 6 Jul 2024 14:24:47 +0000 Subject: [PATCH 1/7] Prepare release v1.0.0 --- CHANGELOG.md | 6 +++++- package.json | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a2b89c7..cb3403d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [v1.0.0] - 2024-07-06 + ### Changed - Improve CI/CD pipeline for deployment, staging and production @@ -19,6 +21,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Initial release - Create "Page under construction" Page -[Unreleased]: https://github.com/SmartCityFlensburg/project-website/compare/v0.0.1...HEAD +[Unreleased]: https://github.com/SmartCityFlensburg/project-website/compare/v1.0.0...HEAD + +[v1.0.0]: https://github.com/SmartCityFlensburg/project-website/compare/v0.0.1...v1.0.0 [v0.0.1]: https://github.com/SmartCityFlensburg/project-website/releases/tag/v0.0.1 diff --git a/package.json b/package.json index d9c5ff5..6163014 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "project-website", "private": true, - "version": "v0.0.1", + "version": "v1.0.0", "type": "module", "scripts": { "dev": "vite", From 6f625deb8fab4b45990da4b96c6427d1b9458fbc Mon Sep 17 00:00:00 2001 From: Cedrik Hoffmann Date: Sat, 6 Jul 2024 16:33:47 +0200 Subject: [PATCH 2/7] docs: update changelog --- CHANGELOG.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index cb3403d..7f5e85e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [v1.0.0] - 2024-07-06 +### Added + +- feat: update readme (#25) +- feat: add stakeholder section as slider (#26) +- feat: add introduction section (#30) +- feat: add favicons (#31) +- feat: add current process section (#36) +- feat: add project page (#41) +- feat: add dashboard preview section (#43) +- feat: add advantages section (#45) +- feat: add contact section (#46) +- feat: add homepage hero (#50) +- feat: add contact page (#53) +- feat: add not found page (#54) +- feat: add hero homepage overlays (#56) +- feat: add background to sections (#59) + ### Changed - Improve CI/CD pipeline for deployment, staging and production From 104a965fbe0f12481bb7ad91ab05304c4ec5e1e1 Mon Sep 17 00:00:00 2001 From: Cedrik Hoffmann Date: Sat, 6 Jul 2024 16:42:03 +0200 Subject: [PATCH 3/7] ci: fix stage build workflow --- .github/workflows/build-and-push-stage.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-and-push-stage.yml b/.github/workflows/build-and-push-stage.yml index 002b075..dcee647 100644 --- a/.github/workflows/build-and-push-stage.yml +++ b/.github/workflows/build-and-push-stage.yml @@ -113,7 +113,7 @@ jobs: if: github.event_name == 'push' with: token: ${{ secrets.GITHUB_TOKEN }} - branch: release/${{ github.event.inputs.version }} + branch: release/${{ env.RELEASE_VERSION }} - name: Push changes uses: CasperWA/push-protected@v2 @@ -125,9 +125,9 @@ jobs: - name: Delete tag uses: dev-drprasad/delete-tag-and-release@v1.1 with: - tag_name: stage-deployment + tag_name: stage-deployment delete_release: false - github_token: ${{ secrets.GITHUB_TOKEN }} + github_token: ${{ secrets.GITHUB_TOKEN }} - name: Create tag run: git tag -fa 'stage-deployment' -m "Update tag to commit ${{ env.COMMIT_SHA }}" From 0b4867fead9445347c91e8c3b6636332f1379701 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Sat, 6 Jul 2024 14:45:08 +0000 Subject: [PATCH 4/7] Update stage image to commit 104a965 --- k8s/values/stage.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8s/values/stage.yaml b/k8s/values/stage.yaml index e8acd90..919985e 100644 --- a/k8s/values/stage.yaml +++ b/k8s/values/stage.yaml @@ -5,7 +5,7 @@ deployment: image: repository: ghcr.io/smartcityflensburg/project-website-stage pullPolicy: Always - tag: 49a593f + tag: 104a965 ingress: enabled: true className: "traefik" From 40866974a1b1c1691558081762bd9a523cd06ae7 Mon Sep 17 00:00:00 2001 From: Cedrik Hoffmann Date: Sat, 6 Jul 2024 16:52:26 +0200 Subject: [PATCH 5/7] ci: dump version in prod helm chart --- k8s/values/prod.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/k8s/values/prod.yaml b/k8s/values/prod.yaml index c687200..9d9efff 100644 --- a/k8s/values/prod.yaml +++ b/k8s/values/prod.yaml @@ -5,8 +5,7 @@ deployment: image: repository: ghcr.io/smartcityflensburg/project-website pullPolicy: Always - tag: latest - + tag: v1.0.0 ingress: enabled: true From 92fdc8da66980cbbbcccbf0618ea24f8c83ca18c Mon Sep 17 00:00:00 2001 From: Cedrik Hoffmann Date: Sat, 6 Jul 2024 16:56:17 +0200 Subject: [PATCH 6/7] ci: dump prod version on draft new release --- .github/workflows/draft-new-release.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/draft-new-release.yml b/.github/workflows/draft-new-release.yml index 1854931..061f4d1 100644 --- a/.github/workflows/draft-new-release.yml +++ b/.github/workflows/draft-new-release.yml @@ -35,6 +35,16 @@ jobs: - name: Bump version in package.json run: yarn version --new-version ${{ github.event.inputs.version }} --no-git-tag-version + - name: "Setup yq" + uses: dcarbone/install-yq-action@v1.1.1 + with: + version: "v4.42.1" + force: true + + - name : Bump version in values/prod.yaml + run: | + yq -i '.deployment.image.tag="${{ github.event.inputs.version }}"' ./k8s/values/prod.yaml + - name: Commit changelog and manifest files id: make-commit run: | @@ -54,7 +64,7 @@ jobs: head: release/${{ github.event.inputs.version }} base: main title: Release version ${{ github.event.inputs.version }} - reviewers: ${{ github.actor }} + reviewers: ${{ github.actor }} body: | Hi @${{ github.actor }}! 👋 @@ -142,8 +152,8 @@ jobs: - name: Delete tag uses: dev-drprasad/delete-tag-and-release@v1.1 with: - tag_name: stage-deployment - github_token: ${{ secrets.GITHUB_TOKEN }} + tag_name: stage-deployment + github_token: ${{ secrets.GITHUB_TOKEN }} - name: Create tag run: git tag -fa 'stage-deployment' -m "Update tag to commit ${{ env.COMMIT_SHA }}" From 79df8f6cdfe02ddc073d682ca61c20f28c20321c Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Sat, 6 Jul 2024 14:59:22 +0000 Subject: [PATCH 7/7] Update stage image to commit 92fdc8d --- k8s/values/stage.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8s/values/stage.yaml b/k8s/values/stage.yaml index 919985e..c0473c7 100644 --- a/k8s/values/stage.yaml +++ b/k8s/values/stage.yaml @@ -5,7 +5,7 @@ deployment: image: repository: ghcr.io/smartcityflensburg/project-website-stage pullPolicy: Always - tag: 104a965 + tag: 92fdc8d ingress: enabled: true className: "traefik"