From 3e5020dc8a0676f6e615f7ebaf4b7ca1771f1734 Mon Sep 17 00:00:00 2001 From: Nico Vidoni Date: Thu, 3 Apr 2025 08:34:37 +0200 Subject: [PATCH 1/7] chore: build playground for CI --- .github/workflows/ci-backend.yml | 31 +----- .github/workflows/ci-sfera-mock.yml | 31 +----- .github/workflows/ci-webapp.yml | 53 +-------- .github/workflows/documentation-gh-pages.yml | 84 --------------- .github/workflows/flutter_android_build.yml | 31 +----- .../flutter_browserstack_android.yml | 52 +-------- .../workflows/flutter_browserstack_ios.yml | 39 +------ .../workflows/flutter_build_test_analyze.yml | 33 +----- .github/workflows/flutter_ios_build.yml | 18 +--- .github/workflows/main-image-cleanup.yml | 32 ------ .../workflows/release-das-client-android.yml | 96 +---------------- .github/workflows/release-das-client-ios.yml | 101 +----------------- .github/workflows/release-please.yml | 83 +++----------- .github/workflows/story-review.yml | 41 ------- 14 files changed, 30 insertions(+), 695 deletions(-) delete mode 100644 .github/workflows/documentation-gh-pages.yml delete mode 100644 .github/workflows/main-image-cleanup.yml delete mode 100644 .github/workflows/story-review.yml diff --git a/.github/workflows/ci-backend.yml b/.github/workflows/ci-backend.yml index 496f61cf5..082ceb6ac 100644 --- a/.github/workflows/ci-backend.yml +++ b/.github/workflows/ci-backend.yml @@ -23,34 +23,7 @@ on: branches: [ "main" ] jobs: - build: - + random: runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Set up JDK 21 - uses: actions/setup-java@v4 - with: - java-version: '21' - distribution: 'temurin' - cache: maven - - name: Run the Maven verify phase - run: mvn --batch-mode --update-snapshots verify - - name: Login to GitHub Container Registry - if: github.ref == 'refs/heads/main' - run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin - - name: Create container image - if: github.ref == 'refs/heads/main' - env: - IMAGE_ID: ghcr.io/${{ github.repository }}/backend - VERSION: main - run: | - # Convert to lowercase - IMAGE_ID=$(echo $IMAGE_ID | tr '[:upper:]' '[:lower:]') - - mvn spring-boot:build-image \ - -Dmaven.test.skip=true \ - -Dspring-boot.build-image.imageName=$IMAGE_ID:$VERSION - - docker push $IMAGE_ID:$VERSION + - run: echo CI das_backend \ No newline at end of file diff --git a/.github/workflows/ci-sfera-mock.yml b/.github/workflows/ci-sfera-mock.yml index 117f4ceb6..46d095843 100644 --- a/.github/workflows/ci-sfera-mock.yml +++ b/.github/workflows/ci-sfera-mock.yml @@ -23,34 +23,7 @@ on: branches: [ "main" ] jobs: - build: - + random: runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Set up JDK 21 - uses: actions/setup-java@v4 - with: - java-version: '21' - distribution: 'temurin' - cache: maven - - name: Run the Maven verify phase - run: mvn --batch-mode --update-snapshots verify - - name: Login to GitHub Container Registry - if: github.ref == 'refs/heads/main' - run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin - - name: Create container image - if: github.ref == 'refs/heads/main' - env: - IMAGE_ID: ghcr.io/${{ github.repository }}/sfera-mock - VERSION: main - run: | - # Convert to lowercase - IMAGE_ID=$(echo $IMAGE_ID | tr '[:upper:]' '[:lower:]') - - mvn spring-boot:build-image \ - -Dmaven.test.skip=true \ - -Dspring-boot.build-image.imageName=$IMAGE_ID:$VERSION - - docker push $IMAGE_ID:$VERSION + - run: echo CI sfera_mock diff --git a/.github/workflows/ci-webapp.yml b/.github/workflows/ci-webapp.yml index 14fde9de3..d5503b5b6 100644 --- a/.github/workflows/ci-webapp.yml +++ b/.github/workflows/ci-webapp.yml @@ -23,56 +23,7 @@ permissions: packages: write jobs: - lint: + random: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version-file: 'das_playground/.nvmrc' - cache: 'npm' - cache-dependency-path: 'das_playground/package-lock.json' - - run: npm clean-install - - run: npm run lint - - test: - runs-on: ubuntu-latest - needs: lint - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version-file: 'das_playground/.nvmrc' - cache: 'npm' - cache-dependency-path: 'das_playground/package-lock.json' - - run: npm clean-install - - run: npm test - - build: - runs-on: ubuntu-latest - needs: lint - env: - IMAGE_REPO: ghcr.io/${{ github.repository }}/webapp - IMAGE_TAG: main - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version-file: 'das_playground/.nvmrc' - cache: 'npm' - cache-dependency-path: 'das_playground/package-lock.json' - - run: npm clean-install - - run: npm run build:ngssc - - name: Login to GitHub Container Registry - if: github.ref == 'refs/heads/main' - run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin - - name: Create container image - if: github.ref == 'refs/heads/main' - run: | - # Convert to lowercase - IMAGE_REPO=$(echo $IMAGE_REPO | tr '[:upper:]' '[:lower:]') - - docker build -t $IMAGE_REPO:$IMAGE_TAG . - docker push $IMAGE_REPO:$IMAGE_TAG - env: - DOCKER_BUILDKIT: 1 + - run: echo CI das playground \ No newline at end of file diff --git a/.github/workflows/documentation-gh-pages.yml b/.github/workflows/documentation-gh-pages.yml deleted file mode 100644 index 3e4e3382a..000000000 --- a/.github/workflows/documentation-gh-pages.yml +++ /dev/null @@ -1,84 +0,0 @@ -# Based on Hugo https://gohugo.io/ and hextra https://imfing.github.io/hextra/ -name: Deploy documentation to Pages - -on: - push: - paths: - - 'docs/**' - branches: ["main"] - pull_request: - paths: - - 'docs/**' - branches: [ "main" ] - - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - -# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages -permissions: - contents: read - pages: write - id-token: write - -# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. -# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. -concurrency: - group: "pages" - cancel-in-progress: false - -# Default to bash -defaults: - run: - shell: bash - working-directory: docs/hugo-config - -jobs: - # Build job - build: - runs-on: ubuntu-latest - env: - HUGO_VERSION: 0.139.0 - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 0 # fetch all history for .GitInfo and .Lastmod - submodules: recursive - - name: Setup Go - uses: actions/setup-go@v5 - with: - go-version: '1.22' - cache-dependency-path: '**/go.sum' - - name: Setup Pages - id: pages - uses: actions/configure-pages@v5 - - name: Setup Hugo - run: | - wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \ - && sudo dpkg -i ${{ runner.temp }}/hugo.deb - - name: Build with Hugo - env: - # For maximum backward compatibility with Hugo modules - HUGO_ENVIRONMENT: production - HUGO_ENV: production - run: | - hugo \ - --gc --minify \ - --baseURL "${{ steps.pages.outputs.base_url }}/" - - name: Upload artifact - uses: actions/upload-pages-artifact@v3 - with: - path: 'docs/hugo-config/public' - - # Deployment job - deploy: - if: github.ref == 'refs/heads/main' - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-latest - needs: build - steps: - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v4 \ No newline at end of file diff --git a/.github/workflows/flutter_android_build.yml b/.github/workflows/flutter_android_build.yml index b0a0f83fd..0047f2211 100644 --- a/.github/workflows/flutter_android_build.yml +++ b/.github/workflows/flutter_android_build.yml @@ -27,33 +27,6 @@ on: jobs: build: - runs-on: macos-latest + runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-java@v4 - with: - distribution: 'temurin' - java-version: '17' - cache: 'gradle' - - uses: subosito/flutter-action@v2 - with: - flutter-version: '3.27.1' - cache: true - - name: Prepare Flutter Build - env: - ANDROID_KEYSTORE_STRING: ${{ secrets.ANDROID_KEYSTORE }} - ANDROID_KEYSTORE: ${{ github.workspace }}/das_client/android/das.keystore - ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD }} - ANDROID_KEY_ALIAS: ${{ secrets.ANDROID_KEY_ALIAS }} - ANDROID_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD }} - run: | - echo $ANDROID_KEYSTORE_STRING | base64 -d > $ANDROID_KEYSTORE - echo "ANDROID_KEYSTORE=$ANDROID_KEYSTORE" >> "$GITHUB_ENV" - echo "ANDROID_KEYSTORE_PASSWORD=$ANDROID_KEYSTORE_PASSWORD" >> "$GITHUB_ENV" - echo "ANDROID_KEY_ALIAS=$ANDROID_KEY_ALIAS" >> "$GITHUB_ENV" - echo "ANDROID_KEY_PASSWORD=$ANDROID_KEY_PASSWORD" >> "$GITHUB_ENV" - flutter pub get - flutter pub run build_runner build --delete-conflicting-outputs - - run: flutter build appbundle --flavor dev -t lib/main_dev.dart - - run: flutter build appbundle --flavor inte -t lib/main_inte.dart - - run: flutter build appbundle --flavor prod -t lib/main_prod.dart \ No newline at end of file + - run: "Building iOS App" \ No newline at end of file diff --git a/.github/workflows/flutter_browserstack_android.yml b/.github/workflows/flutter_browserstack_android.yml index 50a92e7dc..45fd6ef85 100644 --- a/.github/workflows/flutter_browserstack_android.yml +++ b/.github/workflows/flutter_browserstack_android.yml @@ -17,8 +17,6 @@ concurrency: cancel-in-progress: true on: - schedule: - - cron: '0 2 * * *' push: paths: - 'das_client/**' @@ -30,52 +28,6 @@ on: jobs: build: - runs-on: macos-latest + runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-java@v4 - with: - distribution: 'temurin' - java-version: '17' - cache: 'gradle' - - uses: subosito/flutter-action@v2 - with: - flutter-version: '3.27.1' - cache: true - - name: Prepare Flutter Build - env: - ANDROID_KEYSTORE_STRING: ${{ secrets.ANDROID_KEYSTORE }} - ANDROID_KEYSTORE: ${{ github.workspace }}/das_client/android/das.keystore - ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD }} - ANDROID_KEY_ALIAS: ${{ secrets.ANDROID_KEY_ALIAS }} - ANDROID_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD }} - run: | - echo $ANDROID_KEYSTORE_STRING | base64 -d > $ANDROID_KEYSTORE - echo "ANDROID_KEYSTORE=$ANDROID_KEYSTORE" >> "$GITHUB_ENV" - echo "ANDROID_KEYSTORE_PASSWORD=$ANDROID_KEYSTORE_PASSWORD" >> "$GITHUB_ENV" - echo "ANDROID_KEY_ALIAS=$ANDROID_KEY_ALIAS" >> "$GITHUB_ENV" - echo "ANDROID_KEY_PASSWORD=$ANDROID_KEY_PASSWORD" >> "$GITHUB_ENV" - flutter pub get - flutter pub run build_runner build --delete-conflicting-outputs - - shell: bash - env: - MQTT_USERNAME: ${{ secrets.MQTT_USERNAME }} - MQTT_PASSWORD: ${{ secrets.MQTT_PASSWORD }} - run: | - flutter build apk --flavor dev -t integration_test/app_test.dart --no-tree-shake-icons --debug --dart-define=MQTT_USERNAME=$MQTT_USERNAME --dart-define=MQTT_PASSWORD=$MQTT_PASSWORD - - name: Build Test Package - run: | - cd android - ./gradlew app:assembleAndroidTest - cd .. - - name: Upload and Run on Browserstack - uses: Grodien/browserstack-flutter-action@v1.4 - with: - browserstackUsername: ${{ secrets.BROWSERSTACK_USERNAME }} - browserstackAccessKey: ${{ secrets.BROWSERSTACK_ACCESS_KEY }} - project: das_client - customId: das_client_android - buildTag: das_client_android - appFilePath: ${{ github.workspace }}/das_client/build/app/outputs/flutter-apk/app-dev-debug.apk - testFilePath: ${{ github.workspace }}/das_client/build/app/outputs/apk/androidTest/dev/debug/app-dev-debug-androidTest.apk - devices: Samsung Galaxy Tab S9-13.0,Samsung Galaxy Tab S8-12.0 + - run: echo "Testing client on Browserstack" diff --git a/.github/workflows/flutter_browserstack_ios.yml b/.github/workflows/flutter_browserstack_ios.yml index e78d5f12e..54e2255de 100644 --- a/.github/workflows/flutter_browserstack_ios.yml +++ b/.github/workflows/flutter_browserstack_ios.yml @@ -17,8 +17,6 @@ concurrency: cancel-in-progress: true on: - schedule: - - cron: '0 2 * * *' push: paths: - 'das_client/**' @@ -30,39 +28,6 @@ on: jobs: build: - # required for xcode 14 to be available - runs-on: macos-13 + runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: maxim-lobanov/setup-xcode@v1 - with: - # Starting from xcode 15 there is a issue with integration tests running longer then ~6 minutes (https://github.com/flutter/flutter/issues/145143) - xcode-version: 14.3.1 - - uses: subosito/flutter-action@v2 - with: - flutter-version: '3.27.1' - cache: true - - run: flutter pub get - - run: flutter pub run build_runner build --delete-conflicting-outputs - - shell: bash - env: - MQTT_USERNAME: ${{ secrets.MQTT_USERNAME }} - MQTT_PASSWORD: ${{ secrets.MQTT_PASSWORD }} - run: | - flutter build ios --flavor dev --release --no-codesign -t integration_test/app_test.dart --no-tree-shake-icons --dart-define=MQTT_USERNAME=$MQTT_USERNAME --dart-define=MQTT_PASSWORD=$MQTT_PASSWORD - pushd ios - xcodebuild -workspace Runner.xcworkspace -scheme dev -config Flutter/Release.xcconfig -derivedDataPath ../build/ios_integration -sdk iphoneos build-for-testing CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO - popd - pushd build/ios_integration/Build/Products - zip -r app-integrationtest-release.zip Release-iphoneos dev_dev_iphoneos*-arm64.xctestrun - popd - - name: Upload and Run on Browserstack - uses: Grodien/browserstack-flutter-action@v1.4 - with: - browserstackUsername: ${{ secrets.BROWSERSTACK_USERNAME }} - browserstackAccessKey: ${{ secrets.BROWSERSTACK_ACCESS_KEY }} - project: das_client - customId: das_client_ios - buildTag: das_client_ios - testPackagePath: ${{ github.workspace }}/das_client/build/ios_integration/Build/Products/app-integrationtest-release.zip - devices: iPad 9th-15 + - run: echo "Testing client on Browserstack" diff --git a/.github/workflows/flutter_build_test_analyze.yml b/.github/workflows/flutter_build_test_analyze.yml index 8b5547e85..89eb22d1c 100644 --- a/.github/workflows/flutter_build_test_analyze.yml +++ b/.github/workflows/flutter_build_test_analyze.yml @@ -29,35 +29,4 @@ jobs: build: runs-on: ubuntu-latest steps: - - - uses: actions/checkout@v4 - - - uses: actions/setup-java@v4 - with: - distribution: 'temurin' - java-version: '17' - cache: 'gradle' - - - uses: subosito/flutter-action@v2 - with: - flutter-version: '3.27.1' - cache: true - - - name: Get dependencies - run: flutter pub get - - - name: Format check with line length 120 - run: dart format -l 120 -o none --set-exit-if-changed . - - - name: Src generation - run: flutter pub run build_runner build --delete-conflicting-outputs - - - name: Flutter analyze - run: flutter analyze - - - name: Custom linter - run: flutter pub run custom_lint --no-fatal-infos - - - name: Flutter test - run: flutter test - + - run: echo "Testing client" diff --git a/.github/workflows/flutter_ios_build.yml b/.github/workflows/flutter_ios_build.yml index faa9b14b2..79da25cfa 100644 --- a/.github/workflows/flutter_ios_build.yml +++ b/.github/workflows/flutter_ios_build.yml @@ -27,20 +27,6 @@ on: jobs: build: - runs-on: macos-latest + runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: subosito/flutter-action@v2 - with: - flutter-version: '3.27.1' - cache: true - - name: Prepare Flutter Build - run: | - flutter pub get - flutter pub run build_runner build --delete-conflicting-outputs - - name: Build iOS App DEV - run: flutter build ipa --flavor dev -t lib/main_dev.dart --release --no-codesign - - name: Build iOS App INTE - run: flutter build ipa --flavor inte -t lib/main_inte.dart --release --no-codesign - - name: Build iOS App PROD - run: flutter build ipa --flavor prod -t lib/main_prod.dart --release --no-codesign \ No newline at end of file + - run: "Building iOS App" \ No newline at end of file diff --git a/.github/workflows/main-image-cleanup.yml b/.github/workflows/main-image-cleanup.yml deleted file mode 100644 index f4244bdd3..000000000 --- a/.github/workflows/main-image-cleanup.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: Main Image Cleanup - -on: - workflow_dispatch: {} - schedule: - - cron: '0 4 * * *' - -permissions: - packages: write - -jobs: - main-image: - runs-on: ubuntu-latest - steps: - - uses: actions/delete-package-versions@v5 - with: - package-name: 'das/backend' - package-type: 'container' - min-versions-to-keep: 3 - delete-only-untagged-versions: 'true' - - uses: actions/delete-package-versions@v5 - with: - package-name: 'das/sfera-mock' - package-type: 'container' - min-versions-to-keep: 3 - delete-only-untagged-versions: 'true' - - uses: actions/delete-package-versions@v5 - with: - package-name: 'das/webapp' - package-type: 'container' - min-versions-to-keep: 3 - delete-only-untagged-versions: 'true' diff --git a/.github/workflows/release-das-client-android.yml b/.github/workflows/release-das-client-android.yml index 9677736a0..ea2219d23 100644 --- a/.github/workflows/release-das-client-android.yml +++ b/.github/workflows/release-das-client-android.yml @@ -17,7 +17,7 @@ permissions: jobs: prepare: if: (github.event.pull_request.merged && contains( github.event.pull_request.labels.*.name, 'release:das_client')) - runs-on: ubuntu-latest + runs-on: macos-latest concurrency: group: release-das-client-android defaults: @@ -25,96 +25,4 @@ jobs: working-directory: das_client steps: - - uses: actions/checkout@v4 - - - uses: subosito/flutter-action@v2 - with: - flutter-version: '3.27.1' - cache: true - - - name: Get dependencies - run: flutter pub get - - - name: Src generation - run: flutter pub run build_runner build --delete-conflicting-outputs - - - name: Upload generated srcs # saves around 40 sec - uses: actions/upload-artifact@v4 - with: - name: gen_srcs - path: | - **/*.g.dart - **/*.gr.dart - **/*.mocks.dart - - release: - needs: [prepare] - runs-on: ubuntu-latest - defaults: - run: - working-directory: das_client - - strategy: - matrix: - include: # will run three jobs in parallel - - flavor: "dev" - packageName: 'ch.sbb.das.client.dev' - app-root: 'lib/main_dev.dart' - release-dir: 'devRelease/app-dev-release.aab' - - flavor: "inte" - packageName: 'ch.sbb.das.client.inte' - app-root: 'lib/main_inte.dart' - release-dir: 'inteRelease/app-inte-release.aab' - - flavor: "prod" - packageName: 'ch.sbb.das.client' - app-root: 'lib/main_prod.dart' - release-dir: 'prodRelease/app-prod-release.aab' - - - steps: - - uses: actions/checkout@v4 - - - uses: actions/setup-java@v4 - with: - distribution: 'temurin' - java-version: '17' - cache: 'gradle' - - - uses: subosito/flutter-action@v2 - with: - flutter-version: '3.27.1' - cache: true - - - name: Get dependencies - run: flutter pub get - - - name: Download gen srcs - uses: actions/download-artifact@v4 - with: - name: gen_srcs - - - name: Store secrets as env vars - env: - ANDROID_KEYSTORE_STRING: ${{ secrets.ANDROID_KEYSTORE }} - ANDROID_KEYSTORE: ${{ github.workspace }}/das_client/android/das.keystore - ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD }} - ANDROID_KEY_ALIAS: ${{ secrets.ANDROID_KEY_ALIAS }} - ANDROID_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD }} - run: | - echo $ANDROID_KEYSTORE_STRING | base64 -d > $ANDROID_KEYSTORE - echo "ANDROID_KEYSTORE=$ANDROID_KEYSTORE" >> "$GITHUB_ENV" - echo "ANDROID_KEYSTORE_PASSWORD=$ANDROID_KEYSTORE_PASSWORD" >> "$GITHUB_ENV" - echo "ANDROID_KEY_ALIAS=$ANDROID_KEY_ALIAS" >> "$GITHUB_ENV" - echo "ANDROID_KEY_PASSWORD=$ANDROID_KEY_PASSWORD" >> "$GITHUB_ENV" - - - name: Build appbundle - run: flutter build appbundle --flavor ${{ matrix.flavor }} -t ${{ matrix.app-root }} - - - name: Upload App to Google Play Store - uses: r0adkll/upload-google-play@v1.1.3 - with: - serviceAccountJsonPlainText: ${{ secrets.ANDROID_SERVICE_ACCOUNT_JSON }} - packageName: ${{ matrix.packageName }} - releaseFiles: das_client/build/app/outputs/bundle/${{ matrix.release-dir }} - track: internal - status: draft \ No newline at end of file + - run: echo "Created DAS ANDROID CLient release" diff --git a/.github/workflows/release-das-client-ios.yml b/.github/workflows/release-das-client-ios.yml index 830d911a7..695183b7c 100644 --- a/.github/workflows/release-das-client-ios.yml +++ b/.github/workflows/release-das-client-ios.yml @@ -27,103 +27,4 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: subosito/flutter-action@v2 - with: - flutter-version: '3.27.1' - cache: true - - - name: Get dependencies - run: flutter pub get - - - name: Src generation - run: flutter pub run build_runner build --delete-conflicting-outputs - - - name: Upload generated srcs # saves around 40 sec - uses: actions/upload-artifact@v4 - with: - name: gen_srcs - path: | - **/*.g.dart - **/*.gr.dart - **/*.mocks.dart - - release: - needs: [prepare] - runs-on: macos-latest - defaults: - run: - working-directory: das_client - - strategy: - matrix: - include: # will run three jobs in parallel - - flavor: "dev" - bundle-id: 'ch.sbb.das.dev' - app-root: 'lib/main_dev.dart' - archive-filename: 'DAS Dev.xcarchive' - - flavor: "inte" - bundle-id: 'ch.sbb.das.inte' - app-root: 'lib/main_inte.dart' - archive-filename: 'DAS Inte.xcarchive' - - flavor: "prod" - bundle-id: 'ch.sbb.das' - app-root: 'lib/main_prod.dart' - archive-filename: 'DAS.xcarchive' - - steps: - - uses: actions/checkout@v4 - - - uses: subosito/flutter-action@v2 - with: - flutter-version: '3.27.1' - cache: true - - - name: Get dependencies - run: flutter pub get - - - name: Download gen srcs - uses: actions/download-artifact@v4 - with: - name: gen_srcs - - - name: Install Apple signing certificate and appstore connect key - env: - SBB_APPSTORE_BASE64: ${{ secrets.SBB_APPSTORE_BASE64 }} - SBB_APPSTORE_P12_PASSWORD: ${{ secrets.SBB_APPSTORE_P12_PASSWORD }} - KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }} - APPSTORE_CONNECT_PRIVATE_KEY_BASE64: ${{ secrets.APPSTORE_CONNECT_PRIVATE_KEY_BASE64 }} - run: | - # create variables - SBB_CERTIFICATE_PATH=$RUNNER_TEMP/sbb_appstore.p12 - KEYCHAIN_PATH=$RUNNER_TEMP/app-signing.keychain-db - APPSTORE_CONNECT_PRIVATE_KEY_PATH=~/AuthKey.p8 - - # import certificate and private key from secrets - echo -n "$SBB_APPSTORE_BASE64" | base64 --decode -o $SBB_CERTIFICATE_PATH - echo -n "$APPSTORE_CONNECT_PRIVATE_KEY_BASE64" | base64 --decode -o $APPSTORE_CONNECT_PRIVATE_KEY_PATH - - # create temporary keychain - security create-keychain -p "$KEYCHAIN_PASSWORD" $KEYCHAIN_PATH - security set-keychain-settings -lut 21600 $KEYCHAIN_PATH - security unlock-keychain -p "$KEYCHAIN_PASSWORD" $KEYCHAIN_PATH - - # import certificate to keychain - security import $SBB_CERTIFICATE_PATH -P "$SBB_APPSTORE_P12_PASSWORD" -A -t cert -f pkcs12 -k $KEYCHAIN_PATH - security set-key-partition-list -S apple-tool:,apple: -k "$KEYCHAIN_PASSWORD" $KEYCHAIN_PATH - security list-keychain -d user -s $KEYCHAIN_PATH - - - name: Download Provisioning Profiles - uses: apple-actions/download-provisioning-profiles@v3 - with: - bundle-id: ${{ matrix.bundle-id }} - issuer-id: ${{ secrets.APPSTORE_CONNECT_ISSUER_ID }} - api-key-id: ${{ secrets.APPSTORE_CONNECT_KEY_ID }} - api-private-key: ${{ secrets.APPSTORE_CONNECT_PRIVATE_KEY }} - - - name: Build and Deploy iOS App - env: - APPSTORE_CONNECT_KEY_ID: ${{ secrets.APPSTORE_CONNECT_KEY_ID }} - APPSTORE_CONNECT_ISSUER_ID: ${{ secrets.APPSTORE_CONNECT_ISSUER_ID }} - run: | - flutter build ipa --flavor ${{ matrix.flavor }} -t ${{ matrix.app-root }} --release --no-codesign - xcodebuild -exportArchive -archivePath "build/ios/archive/${{ matrix.archive-filename }}" -exportOptionsPlist ios/exportOptionsRelease.plist -authenticationKeyIssuerID "$APPSTORE_CONNECT_ISSUER_ID" -authenticationKeyID "$APPSTORE_CONNECT_KEY_ID" -authenticationKeyPath ~/AuthKey.p8 \ No newline at end of file + - run: echo "Created DAS iOS CLient release" diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 19a5d2b29..fbf6fd002 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -24,19 +24,19 @@ jobs: das_playground--version: ${{ steps.release.outputs.das_playground--version }} das_playground--tag_name: ${{ steps.release.outputs.das_playground--tag_name }} steps: - - name: Generate token for SBB DAS Github app # allows triggering subsequent workflows - id: app-token - uses: actions/create-github-app-token@v1 - with: - app-id: ${{ vars.DASGITHUBAPP_APPID }} - private-key: ${{ secrets.DASGITHUBAPP_PRIVATKEY }} + # - name: Generate token for SBB DAS Github app # allows triggering subsequent workflows + # id: app-token + # uses: actions/create-github-app-token@v1 + # with: + # app-id: ${{ vars.DASGITHUBAPP_APPID }} + # private-key: ${{ secrets.DASGITHUBAPP_PRIVATKEY }} - uses: googleapis/release-please-action@v4 id: release with: config-file: ci/release-please-config.json manifest-file: ci/.release-please-manifest.json - token: ${{ steps.app-token.outputs.token }} + sfera_mock-release: needs: release-please @@ -47,29 +47,10 @@ jobs: working-directory: sfera_mock steps: - uses: actions/checkout@v4 - - uses: actions/setup-java@v4 - with: - java-version: '21' - distribution: 'temurin' - cache: 'maven' - - name: Login to GitHub Container Registry - run: echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io --username ${{ github.actor }} --password-stdin - - name: Create container image - env: - IMAGE_ID: ghcr.io/${{ github.repository }}/sfera-mock - VERSION: ${{ needs.release-please.outputs.sfera_mock--version }} - run: | - # Convert to lowercase - IMAGE_ID=$(echo $IMAGE_ID | tr '[:upper:]' '[:lower:]') - - mvn spring-boot:build-image \ - -Dmaven.test.skip=true \ - -Dspring-boot.build-image.imageName=$IMAGE_ID:$VERSION - - docker push $IMAGE_ID:$VERSION - docker tag $IMAGE_ID:$VERSION $IMAGE_ID:latest - docker push $IMAGE_ID:latest + - run: echo "Created sfera_mock RELEASE" + + das_backend-release: needs: release-please if: needs.release-please.outputs.das_backend--release_created @@ -79,29 +60,10 @@ jobs: working-directory: das_backend steps: - uses: actions/checkout@v4 - - uses: actions/setup-java@v4 - with: - java-version: '21' - distribution: 'temurin' - cache: 'maven' - - name: Login to GitHub Container Registry - run: echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io --username ${{ github.actor }} --password-stdin - - name: Create container image - env: - IMAGE_ID: ghcr.io/${{ github.repository }}/backend - VERSION: ${{ needs.release-please.outputs.das_backend--version }} - run: | - # Convert to lowercase - IMAGE_ID=$(echo $IMAGE_ID | tr '[:upper:]' '[:lower:]') + - run: echo "Created das_backend RELEASE" - mvn spring-boot:build-image \ - -Dmaven.test.skip=true \ - -Dspring-boot.build-image.imageName=$IMAGE_ID:$VERSION - docker push $IMAGE_ID:$VERSION - docker tag $IMAGE_ID:$VERSION $IMAGE_ID:latest - docker push $IMAGE_ID:latest das_playground-release: needs: release-please if: needs.release-please.outputs.das_playground--release_created @@ -111,26 +73,5 @@ jobs: working-directory: das_playground steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version-file: 'das_playground/.nvmrc' - cache: 'npm' - cache-dependency-path: 'das_playground/package-lock.json' - - run: npm clean-install - - run: npm run build:ngssc - - name: Login to GitHub Container Registry - run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin - - name: Create container image - env: - IMAGE_REPO: ghcr.io/${{ github.repository }}/webapp - IMAGE_TAG: ${{ needs.release-please.outputs.das_playground--version }} - DOCKER_BUILDKIT: 1 - run: | - # Convert to lowercase - IMAGE_ID=$(echo $IMAGE_ID | tr '[:upper:]' '[:lower:]') - docker build -t $IMAGE_REPO:$IMAGE_TAG . - docker push $IMAGE_REPO:$IMAGE_TAG - docker tag $IMAGE_REPO:$IMAGE_TAG $IMAGE_REPO:latest - docker push $IMAGE_REPO:latest - + - run: echo "Created das_playground RELEASE" diff --git a/.github/workflows/story-review.yml b/.github/workflows/story-review.yml deleted file mode 100644 index 46ee03e38..000000000 --- a/.github/workflows/story-review.yml +++ /dev/null @@ -1,41 +0,0 @@ -name: Story Issue Checkbox - -on: - issues: - types: [ edited ] - -permissions: - issues: write - -jobs: - update-checkbox: - runs-on: ubuntu-latest - steps: - - name: Checkboxes - uses: actions/github-script@v7 - with: - script: | - const checkboxes = ["BA Review", "DEV Review", "PO Review"]; - const issueBody= context.payload.issue.body - const oldIssueBody = context.payload.changes.body.from - const username = context.actor; - for(const checkbox of checkboxes){ - if(issueBody.includes(`- [x] ${checkbox}`) && oldIssueBody.includes(`- [ ] ${checkbox}`)){ - const updatedBody = issueBody.replace(`- [x] ${checkbox}`, `- [x] ${checkbox} (@${username})`); - github.rest.issues.update({ - owner: context.repo.owner, - repo: context.repo.repo, - issue_number: context.issue.number, - body: updatedBody - }); - } else if(issueBody.includes(`- [ ] ${checkbox}`) && oldIssueBody.includes(`- [x] ${checkbox}`)){ - const regex = new RegExp(`- \\[ \\] ${checkbox} \\(@[^)]+\\)`, 'g'); - const updatedBody = issueBody.replace(regex, `- [ ] ${checkbox}`); - github.rest.issues.update({ - owner: context.repo.owner, - repo: context.repo.repo, - issue_number: context.issue.number, - body: updatedBody - }); - } - } From 209eeac7fc27ca63d48a2688a96aba845044b777 Mon Sep 17 00:00:00 2001 From: Nico Vidoni Date: Thu, 3 Apr 2025 08:37:20 +0200 Subject: [PATCH 2/7] feat!: big feature change for Client --- das_client/README.md | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/das_client/README.md b/das_client/README.md index 49fec459c..8683a2871 100644 --- a/das_client/README.md +++ b/das_client/README.md @@ -2,6 +2,8 @@ DAS (Driver Advisory System) is a mobile application that provides all the required journey data to the train driver. +Big feature change! + ## Supported platforms
@@ -27,7 +29,8 @@ fvm flutter run --flavor prod -t lib/main_prod.dart ## Running Integration Tests -Instrumentation Tests do not use user authentication. Therefore the credentials must be provided as environment variables. +Instrumentation Tests do not use user authentication. Therefore the credentials must be provided as environment +variables. ```shell fvm flutter test --flavor dev --dart-define=MQTT_USERNAME=${MQTT_USERNAME} --dart-define=MQTT_PASSWORD=${MQTT_PASSWORD} integration_test/app_test.dart @@ -36,8 +39,11 @@ fvm flutter test --flavor dev --dart-define=MQTT_USERNAME=${MQTT_USERNAME} --dar ## Architecture ### Test file structure -To prevent confusion, fictive train numbers with the prefix `T` are used for the test scenarios. It is desired to create new train journeys for different features. + +To prevent confusion, fictive train numbers with the prefix `T` are used for the test scenarios. It is desired to create +new train journeys for different features. The file structure in [test_resources](test_resources) for a test scenario looks as follows: + * base directory named `_` * journey profile named `SFERA_JP__` * corresponding segment profiles named `SFERA_SP__` @@ -49,8 +55,7 @@ The file structure in [test_resources](test_resources) for a test scenario looks * SFERA_SP_T1_1 * SFERA_SP_T1_2 * SFERA_TC_T1_1 - - + ## Localization @@ -71,12 +76,14 @@ Localization terms/keys conform to the following format: The prefix is mandatory and indicates the scope of the term. Valid prefixes are: | Prefix | Scope | Description | -| --- | --- | --- | +|--------|--------|------------------------------------------------| | c | Common | Common terms that can be used in the whole app | | p | Page | Terms that belong to a specific page | | w | Widget | Terms that bleong to a specific widget | -The context is optional and indicate where a localization is used. When a localization is scoped to a page or widget, the context MUST be equal to the name of that page or widget. For example, localizations used on the login page would start with `p_login_`. +The context is optional and indicate where a localization is used. When a localization is scoped to a page or widget, +the context MUST be equal to the name of that page or widget. For example, localizations used on the login page would +start with `p_login_`. To generate the localization code, run the following command: @@ -97,4 +104,5 @@ Notable difference: Line length is set to 120 characters. Please adapt your IDE This app uses [FVM][1] to configure the Flutter SDK version. [1]:https://fvm.app/ + [2]:https://github.com/flutter/flutter/blob/master/docs/contributing/Style-guide-for-Flutter-repo.md From 10463b7898ef6e1257ba69e5a0f735c00bd3b53c Mon Sep 17 00:00:00 2001 From: Nico Vidoni Date: Thu, 3 Apr 2025 08:38:09 +0200 Subject: [PATCH 3/7] feat!: grandissimo change for Client --- das_client/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/das_client/README.md b/das_client/README.md index 8683a2871..ec025c14d 100644 --- a/das_client/README.md +++ b/das_client/README.md @@ -2,7 +2,7 @@ DAS (Driver Advisory System) is a mobile application that provides all the required journey data to the train driver. -Big feature change! +Big feature change! Second Feature. ## Supported platforms From 8ed8a4a54290fa685fc0ee30d21e0af838189919 Mon Sep 17 00:00:00 2001 From: Nico Vidoni Date: Thu, 3 Apr 2025 17:55:05 +0200 Subject: [PATCH 4/7] chore(ci): fix cis --- .github/workflows/ci-backend.yml | 8 ++++++-- .github/workflows/ci-sfera-mock.yml | 8 ++++++-- .github/workflows/ci-webapp.yml | 8 ++++++-- .github/workflows/flutter_android_build.yml | 6 +++++- .github/workflows/flutter_browserstack_android.yml | 6 +++++- .github/workflows/flutter_browserstack_ios.yml | 6 +++++- .github/workflows/flutter_build_test_analyze.yml | 6 +++++- .github/workflows/flutter_ios_build.yml | 6 +++++- .github/workflows/release-das-client-android.yml | 6 +++++- .github/workflows/release-das-client-ios.yml | 8 +++++--- 10 files changed, 53 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci-backend.yml b/.github/workflows/ci-backend.yml index 082ceb6ac..6a933da7f 100644 --- a/.github/workflows/ci-backend.yml +++ b/.github/workflows/ci-backend.yml @@ -23,7 +23,11 @@ on: branches: [ "main" ] jobs: - random: + build: runs-on: ubuntu-latest steps: - - run: echo CI das_backend \ No newline at end of file + - name: bashCmd + shell: bash + run: | + echo "GH_REPO: $GH_REPO" + echo "CI backend" \ No newline at end of file diff --git a/.github/workflows/ci-sfera-mock.yml b/.github/workflows/ci-sfera-mock.yml index 46d095843..b39dd6d6c 100644 --- a/.github/workflows/ci-sfera-mock.yml +++ b/.github/workflows/ci-sfera-mock.yml @@ -23,7 +23,11 @@ on: branches: [ "main" ] jobs: - random: + build: runs-on: ubuntu-latest steps: - - run: echo CI sfera_mock + - name: bashCmd + shell: bash + run: | + echo "GH_REPO: $GH_REPO" + echo "CI Sfera Mock" diff --git a/.github/workflows/ci-webapp.yml b/.github/workflows/ci-webapp.yml index d5503b5b6..9049ce3fb 100644 --- a/.github/workflows/ci-webapp.yml +++ b/.github/workflows/ci-webapp.yml @@ -23,7 +23,11 @@ permissions: packages: write jobs: - random: + build: runs-on: ubuntu-latest steps: - - run: echo CI das playground \ No newline at end of file + - name: bashCmd + shell: bash + run: | + echo "GH_REPO: $GH_REPO" + echo "CI Webapp" \ No newline at end of file diff --git a/.github/workflows/flutter_android_build.yml b/.github/workflows/flutter_android_build.yml index 0047f2211..f48773592 100644 --- a/.github/workflows/flutter_android_build.yml +++ b/.github/workflows/flutter_android_build.yml @@ -29,4 +29,8 @@ jobs: build: runs-on: ubuntu-latest steps: - - run: "Building iOS App" \ No newline at end of file + - name: bashCmd + shell: bash + run: | + echo "GH_REPO: $GH_REPO" + echo "Android Build" \ No newline at end of file diff --git a/.github/workflows/flutter_browserstack_android.yml b/.github/workflows/flutter_browserstack_android.yml index 45fd6ef85..b9710dd0d 100644 --- a/.github/workflows/flutter_browserstack_android.yml +++ b/.github/workflows/flutter_browserstack_android.yml @@ -30,4 +30,8 @@ jobs: build: runs-on: ubuntu-latest steps: - - run: echo "Testing client on Browserstack" + - name: bashCmd + shell: bash + run: | + echo "GH_REPO: $GH_REPO" + echo "BrowserStack run Android" diff --git a/.github/workflows/flutter_browserstack_ios.yml b/.github/workflows/flutter_browserstack_ios.yml index 54e2255de..8fcb94538 100644 --- a/.github/workflows/flutter_browserstack_ios.yml +++ b/.github/workflows/flutter_browserstack_ios.yml @@ -30,4 +30,8 @@ jobs: build: runs-on: ubuntu-latest steps: - - run: echo "Testing client on Browserstack" + - name: bashCmd + shell: bash + run: | + echo "GH_REPO: $GH_REPO" + echo "BrowserStack run iOS" diff --git a/.github/workflows/flutter_build_test_analyze.yml b/.github/workflows/flutter_build_test_analyze.yml index 89eb22d1c..a6e34bd51 100644 --- a/.github/workflows/flutter_build_test_analyze.yml +++ b/.github/workflows/flutter_build_test_analyze.yml @@ -29,4 +29,8 @@ jobs: build: runs-on: ubuntu-latest steps: - - run: echo "Testing client" + - name: bashCmd + shell: bash + run: | + echo "GH_REPO: $GH_REPO" + echo "client testing" diff --git a/.github/workflows/flutter_ios_build.yml b/.github/workflows/flutter_ios_build.yml index 79da25cfa..39a0dd46e 100644 --- a/.github/workflows/flutter_ios_build.yml +++ b/.github/workflows/flutter_ios_build.yml @@ -29,4 +29,8 @@ jobs: build: runs-on: ubuntu-latest steps: - - run: "Building iOS App" \ No newline at end of file + - name: bashCmd + shell: bash + run: | + echo "GH_REPO: $GH_REPO" + echo "ios build client" \ No newline at end of file diff --git a/.github/workflows/release-das-client-android.yml b/.github/workflows/release-das-client-android.yml index ea2219d23..a3372774b 100644 --- a/.github/workflows/release-das-client-android.yml +++ b/.github/workflows/release-das-client-android.yml @@ -25,4 +25,8 @@ jobs: working-directory: das_client steps: - - run: echo "Created DAS ANDROID CLient release" + - name: bashCmd + shell: bash + run: | + echo "GH_REPO: $GH_REPO" + echo "release android" diff --git a/.github/workflows/release-das-client-ios.yml b/.github/workflows/release-das-client-ios.yml index 695183b7c..39d15114f 100644 --- a/.github/workflows/release-das-client-ios.yml +++ b/.github/workflows/release-das-client-ios.yml @@ -25,6 +25,8 @@ jobs: working-directory: das_client steps: - - uses: actions/checkout@v4 - - - run: echo "Created DAS iOS CLient release" + - name: bashCmd + shell: bash + run: | + echo "GH_REPO: $GH_REPO" + echo "release ios" From 4a29d70fa78f9b168d240e6db198a2614d5ab6c3 Mon Sep 17 00:00:00 2001 From: Nico Vidoni Date: Thu, 3 Apr 2025 18:01:51 +0200 Subject: [PATCH 5/7] chore(ci): add repo checkout --- .github/workflows/ci-backend.yml | 1 + .github/workflows/ci-sfera-mock.yml | 1 + .github/workflows/ci-webapp.yml | 1 + .github/workflows/flutter_android_build.yml | 1 + .../flutter_browserstack_android.yml | 1 + .../workflows/flutter_browserstack_ios.yml | 1 + .../workflows/flutter_build_test_analyze.yml | 1 + .github/workflows/flutter_ios_build.yml | 1 + .github/workflows/pr-title-linter.yml | 26 ------------------- .../workflows/release-das-client-android.yml | 1 + .github/workflows/release-das-client-ios.yml | 1 + 11 files changed, 10 insertions(+), 26 deletions(-) delete mode 100644 .github/workflows/pr-title-linter.yml diff --git a/.github/workflows/ci-backend.yml b/.github/workflows/ci-backend.yml index 6a933da7f..2fcfdc26d 100644 --- a/.github/workflows/ci-backend.yml +++ b/.github/workflows/ci-backend.yml @@ -26,6 +26,7 @@ jobs: build: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - name: bashCmd shell: bash run: | diff --git a/.github/workflows/ci-sfera-mock.yml b/.github/workflows/ci-sfera-mock.yml index b39dd6d6c..77d389103 100644 --- a/.github/workflows/ci-sfera-mock.yml +++ b/.github/workflows/ci-sfera-mock.yml @@ -26,6 +26,7 @@ jobs: build: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - name: bashCmd shell: bash run: | diff --git a/.github/workflows/ci-webapp.yml b/.github/workflows/ci-webapp.yml index 9049ce3fb..c69b0d23e 100644 --- a/.github/workflows/ci-webapp.yml +++ b/.github/workflows/ci-webapp.yml @@ -26,6 +26,7 @@ jobs: build: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - name: bashCmd shell: bash run: | diff --git a/.github/workflows/flutter_android_build.yml b/.github/workflows/flutter_android_build.yml index f48773592..d07e07651 100644 --- a/.github/workflows/flutter_android_build.yml +++ b/.github/workflows/flutter_android_build.yml @@ -29,6 +29,7 @@ jobs: build: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - name: bashCmd shell: bash run: | diff --git a/.github/workflows/flutter_browserstack_android.yml b/.github/workflows/flutter_browserstack_android.yml index b9710dd0d..f8c4b986c 100644 --- a/.github/workflows/flutter_browserstack_android.yml +++ b/.github/workflows/flutter_browserstack_android.yml @@ -30,6 +30,7 @@ jobs: build: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - name: bashCmd shell: bash run: | diff --git a/.github/workflows/flutter_browserstack_ios.yml b/.github/workflows/flutter_browserstack_ios.yml index 8fcb94538..0c5fa60a7 100644 --- a/.github/workflows/flutter_browserstack_ios.yml +++ b/.github/workflows/flutter_browserstack_ios.yml @@ -30,6 +30,7 @@ jobs: build: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - name: bashCmd shell: bash run: | diff --git a/.github/workflows/flutter_build_test_analyze.yml b/.github/workflows/flutter_build_test_analyze.yml index a6e34bd51..a8e13230c 100644 --- a/.github/workflows/flutter_build_test_analyze.yml +++ b/.github/workflows/flutter_build_test_analyze.yml @@ -29,6 +29,7 @@ jobs: build: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - name: bashCmd shell: bash run: | diff --git a/.github/workflows/flutter_ios_build.yml b/.github/workflows/flutter_ios_build.yml index 39a0dd46e..a829c05e1 100644 --- a/.github/workflows/flutter_ios_build.yml +++ b/.github/workflows/flutter_ios_build.yml @@ -29,6 +29,7 @@ jobs: build: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - name: bashCmd shell: bash run: | diff --git a/.github/workflows/pr-title-linter.yml b/.github/workflows/pr-title-linter.yml deleted file mode 100644 index d6d3b6836..000000000 --- a/.github/workflows/pr-title-linter.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: PR Title Linter -on: - pull_request: - types: [opened, edited, reopened, unlocked, synchronize] - -permissions: read-all - -jobs: - lint: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - - name: Install commitlint - run: | - npm install @commitlint/config-conventional - npm install commitlint@latest - echo "module.exports = { extends: ['@commitlint/config-conventional'], rules: { 'issue-references': [2, 'always'] }, plugins: [{ rules: { 'issue-references': ({type, references}) => [!(type === 'feat' && references.length === 0), 'Feature must contain issue references'] } } ] };" > commitlint.config.js - - name: "Lint: Pull request title" - env: - PR_TITLE: ${{ github.event.pull_request.title }} - run: echo $PR_TITLE | npx commitlint - - - name: "Warning: Pull request title must match patterns defined in CONTRIBUTING.md in section Commit Message Guidelines!" - if: ${{ failure() }} - run: echo "Pull request title must match patterns defined in CONTRIBUTING.md in section Commit Message Guidelines!" diff --git a/.github/workflows/release-das-client-android.yml b/.github/workflows/release-das-client-android.yml index a3372774b..f9252e0cb 100644 --- a/.github/workflows/release-das-client-android.yml +++ b/.github/workflows/release-das-client-android.yml @@ -25,6 +25,7 @@ jobs: working-directory: das_client steps: + - uses: actions/checkout@v4 - name: bashCmd shell: bash run: | diff --git a/.github/workflows/release-das-client-ios.yml b/.github/workflows/release-das-client-ios.yml index 39d15114f..82f96d21a 100644 --- a/.github/workflows/release-das-client-ios.yml +++ b/.github/workflows/release-das-client-ios.yml @@ -25,6 +25,7 @@ jobs: working-directory: das_client steps: + - uses: actions/checkout@v4 - name: bashCmd shell: bash run: | From 975a1943dc5d81b48bc32a2fc0eae56dccd9e957 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 4 Apr 2025 07:57:24 +0200 Subject: [PATCH 6/7] chore(main): release das_client 0.16.0 (#3) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- ci/.release-please-manifest.json | 2 +- das_client/CHANGELOG.md | 85 ++++++++++++++++++++++++++++++++ das_client/pubspec.yaml | 2 +- 3 files changed, 87 insertions(+), 2 deletions(-) diff --git a/ci/.release-please-manifest.json b/ci/.release-please-manifest.json index fb4870721..e87e3b959 100644 --- a/ci/.release-please-manifest.json +++ b/ci/.release-please-manifest.json @@ -1,6 +1,6 @@ { "das_playground": "0.4.0", - "das_client": "0.15.0", + "das_client": "0.16.0", "das_backend": "0.1.2", "sfera_mock": "0.3.0" } diff --git a/das_client/CHANGELOG.md b/das_client/CHANGELOG.md index 9e0eed24a..f1134d567 100644 --- a/das_client/CHANGELOG.md +++ b/das_client/CHANGELOG.md @@ -1,5 +1,90 @@ # Changelog +## [0.16.0](https://github.com/smallTrogdor/DAS/compare/das_client-v0.15.0...das_client-v0.16.0) (2025-04-03) + + +### ⚠ BREAKING CHANGES + +* grandissimo change for Client +* big feature change for Client +* upgrade to SFERA v3 ([#578](https://github.com/smallTrogdor/DAS/issues/578)) (#577) + +### Features + +* add RADN footnotes ([#625](https://github.com/smallTrogdor/DAS/issues/625)) ([#762](https://github.com/smallTrogdor/DAS/issues/762)) ([3c4324f](https://github.com/smallTrogdor/DAS/commit/3c4324f13b0c2c5f79fab687f55cbffa152d18f7)) +* add TMS Connection, add Prefix to flavor, implement SP Request ([#331](https://github.com/smallTrogdor/DAS/issues/331)) ([25270ee](https://github.com/smallTrogdor/DAS/commit/25270eeed6384bb13168ffbc8481fb366c879cc1)) +* add whistle, balise, tram area and levelcrossing ([#224](https://github.com/smallTrogdor/DAS/issues/224)) ([#485](https://github.com/smallTrogdor/DAS/issues/485)) ([27379a2](https://github.com/smallTrogdor/DAS/commit/27379a2bbdd991db8736f57f19eadddfb3dbaf7d)) +* added CAB start and end signaling ([#82](https://github.com/smallTrogdor/DAS/issues/82)) ([#442](https://github.com/smallTrogdor/DAS/issues/442)) ([151f24e](https://github.com/smallTrogdor/DAS/commit/151f24e1d76c2911c2061fbbc0f95f414a634903)) +* added communication network change. ([#372](https://github.com/smallTrogdor/DAS/issues/372)) ([#658](https://github.com/smallTrogdor/DAS/issues/658)) ([a0ef624](https://github.com/smallTrogdor/DAS/commit/a0ef62444b73ca30bfc3f85b94d34ba13bc527ad)) +* added curve points and main signals to train journey ([#82](https://github.com/smallTrogdor/DAS/issues/82)) ([523ecca](https://github.com/smallTrogdor/DAS/commit/523eccad303bdc1be04f696605152d255df88cdd)) +* added graduated station speed. ([#82](https://github.com/smallTrogdor/DAS/issues/82)) ([#484](https://github.com/smallTrogdor/DAS/issues/484)) ([8af6cf9](https://github.com/smallTrogdor/DAS/commit/8af6cf91a9ea22082f39df2ff73fcce215cfaea9)) +* added koa notification ([#624](https://github.com/smallTrogdor/DAS/issues/624)) ([#688](https://github.com/smallTrogdor/DAS/issues/688)) ([164b557](https://github.com/smallTrogdor/DAS/commit/164b557ac3f824af3a1d77ce516f7c42847b9e67)) +* added next stop ([#200](https://github.com/smallTrogdor/DAS/issues/200)) ([#438](https://github.com/smallTrogdor/DAS/issues/438)) ([948373c](https://github.com/smallTrogdor/DAS/commit/948373c0b6c99f51383fcf6f67387ddb82dfce30)) +* added punctuality display ([#122](https://github.com/smallTrogdor/DAS/issues/122)) ([#473](https://github.com/smallTrogdor/DAS/issues/473)) ([f9646b0](https://github.com/smallTrogdor/DAS/commit/f9646b0a72915d1f6dbc2b57e530c84f14fe5762)) +* added reduced journey overview ([#626](https://github.com/smallTrogdor/DAS/issues/626)) ([#691](https://github.com/smallTrogdor/DAS/issues/691)) ([49adc47](https://github.com/smallTrogdor/DAS/commit/49adc475b0bedfabf07730523145fcc69c91f369)) +* added visualization for single track without block equipment. ([#230](https://github.com/smallTrogdor/DAS/issues/230)) ([#569](https://github.com/smallTrogdor/DAS/issues/569)) ([45d2925](https://github.com/smallTrogdor/DAS/commit/45d29253495367e25c8ec140ec154ad2103a8b99)) +* added visualization for two track with single track equipment. ([#82](https://github.com/smallTrogdor/DAS/issues/82)) ([#536](https://github.com/smallTrogdor/DAS/issues/536)) ([c20ac78](https://github.com/smallTrogdor/DAS/commit/c20ac78904c43826b3d283160940761b69ffb0e6)) +* added visualization of non standard track equipment ([#82](https://github.com/smallTrogdor/DAS/issues/82)) ([#470](https://github.com/smallTrogdor/DAS/issues/470)) ([c4f83eb](https://github.com/smallTrogdor/DAS/commit/c4f83ebc8a55929e9e38bb86837633cc901dd1cf)) +* added warn function modal sheet for ux testing. ([#623](https://github.com/smallTrogdor/DAS/issues/623)) ([#679](https://github.com/smallTrogdor/DAS/issues/679)) ([3d074d9](https://github.com/smallTrogdor/DAS/commit/3d074d94a8823e36584a8088a408963404710f13)) +* adding navigation drawer ([#299](https://github.com/smallTrogdor/DAS/issues/299)) ([8890805](https://github.com/smallTrogdor/DAS/commit/8890805983adf4a26bc1fc141a8836d1c841ed1c)) +* android deployment ([#153](https://github.com/smallTrogdor/DAS/issues/153)) ([7949bdf](https://github.com/smallTrogdor/DAS/commit/7949bdff27a4c3cd141cdb810cd51c49537a2e7e)) +* automatische fortschaltung ([#94](https://github.com/smallTrogdor/DAS/issues/94)) ([#553](https://github.com/smallTrogdor/DAS/issues/553)) ([4642825](https://github.com/smallTrogdor/DAS/commit/4642825132bc223c1ce0203deaac84702c1fb8ea)) +* base structure of train journey table ([#79](https://github.com/smallTrogdor/DAS/issues/79)) ([c90a5be](https://github.com/smallTrogdor/DAS/commit/c90a5beb9babefdefd5fa66118fb892cfff9324e)) +* basic fahrbild header with static data and ADL notification. ([#79](https://github.com/smallTrogdor/DAS/issues/79)) ([f076f44](https://github.com/smallTrogdor/DAS/commit/f076f44b497cf95f64342bd8aadaee66f189ce66)) +* battery-status [#123](https://github.com/smallTrogdor/DAS/issues/123) ([#574](https://github.com/smallTrogdor/DAS/issues/574)) ([95ccf99](https://github.com/smallTrogdor/DAS/commit/95ccf993644c5eb3ab136c2d749b17ab09954f91)) +* big feature change for Client ([209eeac](https://github.com/smallTrogdor/DAS/commit/209eeac7fc27ca63d48a2688a96aba845044b777)) +* browserstack ([#140](https://github.com/smallTrogdor/DAS/issues/140)) ([8396452](https://github.com/smallTrogdor/DAS/commit/83964524f676d1e0c62581d8db545fdef22ee354)) +* changed battery status design ([#590](https://github.com/smallTrogdor/DAS/issues/590)) ([#747](https://github.com/smallTrogdor/DAS/issues/747)) ([9f9e563](https://github.com/smallTrogdor/DAS/commit/9f9e56330d47718e70106e65020d58debec5d917)) +* curves and km-board without speed data ([#478](https://github.com/smallTrogdor/DAS/issues/478)) ([#656](https://github.com/smallTrogdor/DAS/issues/656)) ([2020764](https://github.com/smallTrogdor/DAS/commit/2020764a51185a7de8a550a372ec16365422ef07)) +* das client durchstich ([#117](https://github.com/smallTrogdor/DAS/issues/117)) ([62933d6](https://github.com/smallTrogdor/DAS/commit/62933d6ddca14e7eab11d898881f2a922ceabc2c)) +* day and night mode [#102](https://github.com/smallTrogdor/DAS/issues/102) ([#682](https://github.com/smallTrogdor/DAS/issues/682)) ([6f34475](https://github.com/smallTrogdor/DAS/commit/6f34475f528c9f96418eacc7764d4b418a9b0fad)) +* force landscape orientation ([#358](https://github.com/smallTrogdor/DAS/issues/358)) ([0f80fb0](https://github.com/smallTrogdor/DAS/commit/0f80fb0fa5e0b8061714c69dd9eea8fa11f87930)) +* grandissimo change for Client ([10463b7](https://github.com/smallTrogdor/DAS/commit/10463b7898ef6e1257ba69e5a0f735c00bd3b53c)) +* grundaufbau mobile app ([#290](https://github.com/smallTrogdor/DAS/issues/290)) ([97bfc73](https://github.com/smallTrogdor/DAS/commit/97bfc73a99a53dd9ecbfa51b1be5f5d2b1abafb2)) +* hide header while train is active ([#670](https://github.com/smallTrogdor/DAS/issues/670)) ([#696](https://github.com/smallTrogdor/DAS/issues/696)) ([57f2bd7](https://github.com/smallTrogdor/DAS/commit/57f2bd7921e0546966010b9e7f13ff52127c1e0c)) +* hide line speed and ASR above 40km/h on ETCS L2 segment. ([#120](https://github.com/smallTrogdor/DAS/issues/120)) ([#586](https://github.com/smallTrogdor/DAS/issues/586)) ([e197542](https://github.com/smallTrogdor/DAS/commit/e197542142c262455b9b45159d5288816974c2c2)) +* implement anschlussgleise, anschlussweichen und Zahnstangen ([#136](https://github.com/smallTrogdor/DAS/issues/136)) ([#447](https://github.com/smallTrogdor/DAS/issues/447)) ([aee3fe1](https://github.com/smallTrogdor/DAS/commit/aee3fe1ebf226a16198e76f425fd247374a998de)) +* implement betriebspunktabfolge ([#388](https://github.com/smallTrogdor/DAS/issues/388)) ([9f36786](https://github.com/smallTrogdor/DAS/commit/9f367865190ffc91cc492891a84a9fa24f0c3a1a)) +* implement break series selection and speed display ([#89](https://github.com/smallTrogdor/DAS/issues/89)) ([#469](https://github.com/smallTrogdor/DAS/issues/469)) ([cd84c85](https://github.com/smallTrogdor/DAS/commit/cd84c854df7dbf001294317e28673b4301a7075b)) +* implement langsamfahrstellen ([#87](https://github.com/smallTrogdor/DAS/issues/87)) ([#413](https://github.com/smallTrogdor/DAS/issues/413)) ([4fd494c](https://github.com/smallTrogdor/DAS/commit/4fd494cc2a3a6d1d58a5c1a0924ac729801ccbe0)) +* implement logging service ([#336](https://github.com/smallTrogdor/DAS/issues/336)) ([e23c252](https://github.com/smallTrogdor/DAS/commit/e23c25295b159e25c7729b3ba8dc9274c46bef57)) +* implement protection section ([#407](https://github.com/smallTrogdor/DAS/issues/407)) ([731b2ad](https://github.com/smallTrogdor/DAS/commit/731b2ad7b7ccdf66622d411165640a8df4e51559)) +* implement roles in mobile ([#373](https://github.com/smallTrogdor/DAS/issues/373)) ([a20c5fc](https://github.com/smallTrogdor/DAS/commit/a20c5fc4b76e2496d037607c8056a75b0e46415b)) +* implement session termination. ([#406](https://github.com/smallTrogdor/DAS/issues/406)) ([#628](https://github.com/smallTrogdor/DAS/issues/628)) ([4d0239d](https://github.com/smallTrogdor/DAS/commit/4d0239d74c8681a8058220c9daf119f12c46eaba)) +* implement train journey search ([#369](https://github.com/smallTrogdor/DAS/issues/369)) ([adf7fb9](https://github.com/smallTrogdor/DAS/commit/adf7fb915cec4e55a60dce36ed0c59b5c91c60f1)) +* improve fahrbild with chevron animation, item alignment and bottom spacing ([#94](https://github.com/smallTrogdor/DAS/issues/94)) ([#570](https://github.com/smallTrogdor/DAS/issues/570)) ([853ddd2](https://github.com/smallTrogdor/DAS/commit/853ddd233f3c4a3aaecd7cf4d2be2abc2f6d30fd)) +* iOS Signing and deployment ([#152](https://github.com/smallTrogdor/DAS/issues/152)) ([141463f](https://github.com/smallTrogdor/DAS/commit/141463fa90e1adfedd9178c16f0c1e1b6ebeeb63)) +* maneuver mode ([#646](https://github.com/smallTrogdor/DAS/issues/646)) ([#680](https://github.com/smallTrogdor/DAS/issues/680)) ([e4122a2](https://github.com/smallTrogdor/DAS/commit/e4122a202545be307fe720d17fc2e1e38b0bcf3f)) +* sticky header improvement ([#572](https://github.com/smallTrogdor/DAS/issues/572)) ([#580](https://github.com/smallTrogdor/DAS/issues/580)) ([9d941dc](https://github.com/smallTrogdor/DAS/commit/9d941dc4183d304580e994ba526e23123e5c3294)) +* updated koa sound ([dc1bdb6](https://github.com/smallTrogdor/DAS/commit/dc1bdb6b4fac4343dc4edbded1c9f2d03242a4ee)) +* upgrade to SFERA v3 ([#578](https://github.com/smallTrogdor/DAS/issues/578)) ([#577](https://github.com/smallTrogdor/DAS/issues/577)) ([df1d74c](https://github.com/smallTrogdor/DAS/commit/df1d74c614f8ca16d1abbef9e9a52c55e3a3f689)) + + +### Bug Fixes + +* add sound to warnapp ([#708](https://github.com/smallTrogdor/DAS/issues/708)) ([82d40b3](https://github.com/smallTrogdor/DAS/commit/82d40b32fa1755199718cbcc1d9951269c1ce3c8)) +* allow to close fahrbild ([#154](https://github.com/smallTrogdor/DAS/issues/154)) ([8d2e9ae](https://github.com/smallTrogdor/DAS/commit/8d2e9aec97dd69414e75feac0812221c489bd9df)) +* android bottom padding ([e276798](https://github.com/smallTrogdor/DAS/commit/e276798edcb920c9b358ee998a46571bfd0f7808)) +* bug of not showing last item in reduced_train_journey fixed ([#738](https://github.com/smallTrogdor/DAS/issues/738)) ([2fc2f32](https://github.com/smallTrogdor/DAS/commit/2fc2f323c5a917a17974988324abe69f06f81427)) +* correctly adjust current position to service point ([#676](https://github.com/smallTrogdor/DAS/issues/676)) ([a3a3c8e](https://github.com/smallTrogdor/DAS/commit/a3a3c8ec6e5280b13f4ca9dcdf4584655d987f8f)) +* **deps:** update dependency device_info_plus to v11 ([#292](https://github.com/smallTrogdor/DAS/issues/292)) ([5e08abd](https://github.com/smallTrogdor/DAS/commit/5e08abdd6382babfbc43d19f7b0d62b04c3b49bf)) +* **deps:** update dependency flutter_bloc to v9 ([#496](https://github.com/smallTrogdor/DAS/issues/496)) ([1b74d01](https://github.com/smallTrogdor/DAS/commit/1b74d01697c5401c2cd9f02795eae0948204a9be)) +* **deps:** update dependency get_it to v8 ([#276](https://github.com/smallTrogdor/DAS/issues/276)) ([a430702](https://github.com/smallTrogdor/DAS/commit/a4307022565ed94bb43e03d2d6ed19303a5cd6dd)) +* **deps:** update dependency junit:junit to v4.13.2 ([#178](https://github.com/smallTrogdor/DAS/issues/178)) ([4bc903c](https://github.com/smallTrogdor/DAS/commit/4bc903c1c3fc914d94395e3188d0cdc12781a79e)) +* do not show BU count on expanded balises ([#532](https://github.com/smallTrogdor/DAS/issues/532)) ([a5852db](https://github.com/smallTrogdor/DAS/commit/a5852db88b8b945549fea31bac5643ef8212ccf0)) +* driving mode, mock backend url, message header attributes ([#326](https://github.com/smallTrogdor/DAS/issues/326)) ([4524d31](https://github.com/smallTrogdor/DAS/commit/4524d31379c02c13452b9fbfd22e4fb1c3b59cdc)) +* dummy change for new build ([f6b8c44](https://github.com/smallTrogdor/DAS/commit/f6b8c443bb4fae3c778cd9f0397b482088aee015)) +* fix station speed parsing ([#491](https://github.com/smallTrogdor/DAS/issues/491)) ([00f9a81](https://github.com/smallTrogdor/DAS/commit/00f9a816c6d0d20140c02a7f37bf85aeb0846457)) +* fixed the padding in the punctuality display ([#122](https://github.com/smallTrogdor/DAS/issues/122)) ([#501](https://github.com/smallTrogdor/DAS/issues/501)) ([17511ff](https://github.com/smallTrogdor/DAS/commit/17511ffa1cf48472df2d46a31e912349b181006e)) +* footnotes ([4b814d8](https://github.com/smallTrogdor/DAS/commit/4b814d8093be877c2210bbed9270f32826f3b3a0)) +* ios build error ([0f8390e](https://github.com/smallTrogdor/DAS/commit/0f8390edf361f2f61cd1b775ad080ed6bbb81980)) +* radn footnotes ([#781](https://github.com/smallTrogdor/DAS/issues/781)) ([08f444f](https://github.com/smallTrogdor/DAS/commit/08f444f993e58078f26a9a25104ac88df5746d08)) +* rename stopping location to halt to match newest spec ([#503](https://github.com/smallTrogdor/DAS/issues/503)) ([b01331d](https://github.com/smallTrogdor/DAS/commit/b01331d071e03bb7b617207b6f6cf660d5c0ecae)) +* require fullscreen ([0d37832](https://github.com/smallTrogdor/DAS/commit/0d3783291e63e1d137f27ec7f975d298a633fbf3)) +* update dependency to fix android login problem ([2aa4bc0](https://github.com/smallTrogdor/DAS/commit/2aa4bc054876905d0da7d55b77ebbf0540a52ff8)) +* use nsp value for bracket station text ([#508](https://github.com/smallTrogdor/DAS/issues/508)) ([#509](https://github.com/smallTrogdor/DAS/issues/509)) ([04d1034](https://github.com/smallTrogdor/DAS/commit/04d1034105fde62dc9c7ed66f920f4946cc500a9)) +* ux requested changes ([#725](https://github.com/smallTrogdor/DAS/issues/725)) ([8b494fd](https://github.com/smallTrogdor/DAS/commit/8b494fda5626dda83a020d1b613f66aa84c63818)) + ## [0.15.0](https://github.com/SchweizerischeBundesbahnen/DAS/compare/das_client-v0.14.2...das_client-v0.15.0) (2025-04-02) diff --git a/das_client/pubspec.yaml b/das_client/pubspec.yaml index 8c7bece40..effd85cb9 100644 --- a/das_client/pubspec.yaml +++ b/das_client/pubspec.yaml @@ -1,7 +1,7 @@ name: das_client description: "DAS (Driver Advisory System) is a mobile application that provides all the required journey data to the train driver." publish_to: 'none' # Remove this line if you wish to publish to pub.dev -version: 0.15.0+55 +version: 0.16.0+56 environment: sdk: '>=3.3.0 <4.0.0' From 6f2dbb14c9c2666b415e15cafb8c5a9a00d8cf16 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 4 Apr 2025 05:58:50 +0000 Subject: [PATCH 7/7] chore(main): release sfera_mock 0.4.0 --- ci/.release-please-manifest.json | 2 +- sfera_mock/CHANGELOG.md | 43 ++++++++++++++++++++++++++++++++ sfera_mock/pom.xml | 2 +- 3 files changed, 45 insertions(+), 2 deletions(-) diff --git a/ci/.release-please-manifest.json b/ci/.release-please-manifest.json index e87e3b959..bd5134085 100644 --- a/ci/.release-please-manifest.json +++ b/ci/.release-please-manifest.json @@ -2,5 +2,5 @@ "das_playground": "0.4.0", "das_client": "0.16.0", "das_backend": "0.1.2", - "sfera_mock": "0.3.0" + "sfera_mock": "0.4.0" } diff --git a/sfera_mock/CHANGELOG.md b/sfera_mock/CHANGELOG.md index 66fd6a843..49b068938 100644 --- a/sfera_mock/CHANGELOG.md +++ b/sfera_mock/CHANGELOG.md @@ -1,5 +1,48 @@ # Changelog +## [0.4.0](https://github.com/smallTrogdor/DAS/compare/sfera_mock-v0.3.0...sfera_mock-v0.4.0) (2025-04-04) + + +### ⚠ BREAKING CHANGES + +* upgrade to SFERA v3 ([#578](https://github.com/smallTrogdor/DAS/issues/578)) (#577) + +### Features + +* add RADN footnotes ([#625](https://github.com/smallTrogdor/DAS/issues/625)) ([#762](https://github.com/smallTrogdor/DAS/issues/762)) ([3c4324f](https://github.com/smallTrogdor/DAS/commit/3c4324f13b0c2c5f79fab687f55cbffa152d18f7)) +* added communication network change. ([#372](https://github.com/smallTrogdor/DAS/issues/372)) ([#658](https://github.com/smallTrogdor/DAS/issues/658)) ([a0ef624](https://github.com/smallTrogdor/DAS/commit/a0ef62444b73ca30bfc3f85b94d34ba13bc527ad)) +* added koa notification ([#624](https://github.com/smallTrogdor/DAS/issues/624)) ([#688](https://github.com/smallTrogdor/DAS/issues/688)) ([164b557](https://github.com/smallTrogdor/DAS/commit/164b557ac3f824af3a1d77ce516f7c42847b9e67)) +* added reduced journey overview ([#626](https://github.com/smallTrogdor/DAS/issues/626)) ([#691](https://github.com/smallTrogdor/DAS/issues/691)) ([49adc47](https://github.com/smallTrogdor/DAS/commit/49adc475b0bedfabf07730523145fcc69c91f369)) +* curves and km-board without speed data ([#478](https://github.com/smallTrogdor/DAS/issues/478)) ([#656](https://github.com/smallTrogdor/DAS/issues/656)) ([2020764](https://github.com/smallTrogdor/DAS/commit/2020764a51185a7de8a550a372ec16365422ef07)) +* dynamic timestamps in JP ([#512](https://github.com/smallTrogdor/DAS/issues/512)) ([#664](https://github.com/smallTrogdor/DAS/issues/664)) ([8d19230](https://github.com/smallTrogdor/DAS/commit/8d19230f989d53ae835da85bfb5a306ec86f5694)) +* hide line speed and ASR above 40km/h on ETCS L2 segment. ([#120](https://github.com/smallTrogdor/DAS/issues/120)) ([#586](https://github.com/smallTrogdor/DAS/issues/586)) ([e197542](https://github.com/smallTrogdor/DAS/commit/e197542142c262455b9b45159d5288816974c2c2)) +* implement session termination. ([#406](https://github.com/smallTrogdor/DAS/issues/406)) ([#628](https://github.com/smallTrogdor/DAS/issues/628)) ([4d0239d](https://github.com/smallTrogdor/DAS/commit/4d0239d74c8681a8058220c9daf119f12c46eaba)) +* manual triggers ([#622](https://github.com/smallTrogdor/DAS/issues/622)) ([#650](https://github.com/smallTrogdor/DAS/issues/650)) ([87e4811](https://github.com/smallTrogdor/DAS/commit/87e48115803e36542bbdd2329de6c709a38415db)) +* upgrade to SFERA v3 ([#578](https://github.com/smallTrogdor/DAS/issues/578)) ([#577](https://github.com/smallTrogdor/DAS/issues/577)) ([df1d74c](https://github.com/smallTrogdor/DAS/commit/df1d74c614f8ca16d1abbef9e9a52c55e3a3f689)) + + +### Bug Fixes + +* **deps:** update dependency org.springframework.boot:spring-boot-starter-parent to v3.4.4 ([#736](https://github.com/smallTrogdor/DAS/issues/736)) ([d47ad4b](https://github.com/smallTrogdor/DAS/commit/d47ad4b5d8b3083ad1600bbe56210a782a70ad55)) +* **deps:** update dependency org.springframework.cloud:spring-cloud-dependencies to v2024.0.1 ([#719](https://github.com/smallTrogdor/DAS/issues/719)) ([293f6f3](https://github.com/smallTrogdor/DAS/commit/293f6f35e8a9f7ae4a14fb738bf6ddd31ac43d71)) +* footnotes ([4b814d8](https://github.com/smallTrogdor/DAS/commit/4b814d8093be877c2210bbed9270f32826f3b3a0)) +* mock train 1809 path ([77d30fa](https://github.com/smallTrogdor/DAS/commit/77d30fa56d6924dfd8a2d89507abacf90b4943bf)) +* review of SFERA API ([#751](https://github.com/smallTrogdor/DAS/issues/751)) ([b2e005f](https://github.com/smallTrogdor/DAS/commit/b2e005f007c1b3f896b5a094e2b2446ee187bacc)) +* **sfera_mock:** update dependency org.springframework.boot:spring-boot-starter-parent to v3.4.3 ([#607](https://github.com/smallTrogdor/DAS/issues/607)) ([4709922](https://github.com/smallTrogdor/DAS/commit/4709922c213be3e2f4e65cf5b57ba1d558ef92e2)) + + +### Documentation + +* 1671 and 1672 remove fake signals ([#745](https://github.com/smallTrogdor/DAS/issues/745)) ([8b82a95](https://github.com/smallTrogdor/DAS/commit/8b82a950b86c5f6e3317caefaeaf261acc27a5ca)) +* 1809 add velocities ([#711](https://github.com/smallTrogdor/DAS/issues/711)) ([986fe40](https://github.com/smallTrogdor/DAS/commit/986fe403a5ab1f7a060aa026bb83fc454c236750)) +* 1809 fix foot notes add events ([#776](https://github.com/smallTrogdor/DAS/issues/776)) ([bd7c850](https://github.com/smallTrogdor/DAS/commit/bd7c85074a1dfe3da453e20268654114dd9d7d8a)) +* fix 1671 and add 1670 & 1672 ([#675](https://github.com/smallTrogdor/DAS/issues/675)) ([caecafd](https://github.com/smallTrogdor/DAS/commit/caecafddbdd5e9f292a356fb7d3061013b728ddb)) +* fix 1672 and 1671 ([#718](https://github.com/smallTrogdor/DAS/issues/718)) ([8e6b97f](https://github.com/smallTrogdor/DAS/commit/8e6b97f62dc70fd6f77038a7ceb0de094a0881a8)) +* fix 1809 ([#618](https://github.com/smallTrogdor/DAS/issues/618)) ([d9b3936](https://github.com/smallTrogdor/DAS/commit/d9b39361035de2d893a224e5ec85abdf23a076b8)) +* fix 1809 version number ([#619](https://github.com/smallTrogdor/DAS/issues/619)) ([81d7c98](https://github.com/smallTrogdor/DAS/commit/81d7c984e7e02a47e20fa8abb91094662ed07e2a)) +* monorepo structure and docs ([#585](https://github.com/smallTrogdor/DAS/issues/585)) ([4e0b70f](https://github.com/smallTrogdor/DAS/commit/4e0b70f93280618ed3abea084c1ada40c7f15c08)) +* testdata for UX tests ([#669](https://github.com/smallTrogdor/DAS/issues/669)) ([c018e5a](https://github.com/smallTrogdor/DAS/commit/c018e5a19c7db0d3da350e58aa99429f203ad479)) + ## [0.3.0](https://github.com/SchweizerischeBundesbahnen/DAS/compare/sfera_mock-v0.2.2...sfera_mock-v0.3.0) (2025-03-25) diff --git a/sfera_mock/pom.xml b/sfera_mock/pom.xml index 47ebd19f4..9ab602f71 100644 --- a/sfera_mock/pom.xml +++ b/sfera_mock/pom.xml @@ -9,7 +9,7 @@ ch.sbb sfera_mock - 0.3.0 + 0.4.0 sfera_mock Backend to mock SFERA messages for end-to-end tests