Skip to content

Commit

Permalink
Merge branch 'master' into DPG-2154-ui-changes-requires-in-the-compon…
Browse files Browse the repository at this point in the history
…ents
  • Loading branch information
rachana-egov authored Jan 28, 2024
2 parents a03d56f + 54298f2 commit 4a3e4a9
Show file tree
Hide file tree
Showing 16 changed files with 1,191 additions and 7 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# This is a basic workflow to help you get started with Actions

name: CI

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "master" branch
push:
branches: [ "develop", "master" ]
pull_request:
branches: [ "develop", "master" ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1

- name: Flutter action
uses: subosito/[email protected]
with:
flutter-version: "3.10.5"

- name: Disable Config
run: flutter --disable-telemetry

- name: Navigate to Root Folder
run: cd flutter/digit-ui-components/example

- name: PWD
run: ls


- name: Install Dependencies
run: flutter pub get




- name: Run Tests
run: flutter test
3 changes: 3 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
library 'ci-libs'

buildPipeline(configFile: './build/build-config.yml')
27 changes: 27 additions & 0 deletions build/build-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#
# config:
# - name: < Name of the job, foo/bar would create job named bar inside folder foo >
# build:
# - work-dir: < Working directory of the app to be built >
# dockerfile: < Path to the dockerfile, optional, assumes dockerfile in working directory if not provided >
# image-name: < Docker image name >
# -
# -
#
# config:
# - name: < Name of the job, foo/bar would create job named bar inside folder foo >
# build:
# - work-dir: < Working directory of the app to be built >
# dockerfile: < Path to the dockerfile, optional, assumes dockerfile in working directory if not provided >
# image-name: < Docker image name >
# -
# -
config:

# digit-ui-flutter
- name: builds/Digit-UI-Libraries/flutter/digit-ui-components
build:
- work-dir: flutter/digit-ui-components/example
dockerfile: flutter/docker/Dockerfile
image-name: digit-ui-flutter

3 changes: 3 additions & 0 deletions flutter/digit-ui-components/Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
library 'ci-libs'

buildPipeline(configFile: './build/build-config.yml')
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"flutter_keyboard_visibility","path":"/home/admin1/.pub-cache/hosted/pub.dev/flutter_keyboard_visibility-5.4.1/","native_build":true,"dependencies":[]},{"name":"fluttertoast","path":"/home/admin1/.pub-cache/hosted/pub.dev/fluttertoast-8.2.4/","native_build":true,"dependencies":[]},{"name":"geolocator_apple","path":"/home/admin1/.pub-cache/hosted/pub.dev/geolocator_apple-2.3.5/","native_build":true,"dependencies":[]},{"name":"location","path":"/home/admin1/.pub-cache/hosted/pub.dev/location-5.0.3/","native_build":true,"dependencies":[]},{"name":"package_info_plus","path":"/home/admin1/.pub-cache/hosted/pub.dev/package_info_plus-4.2.0/","native_build":true,"dependencies":[]},{"name":"path_provider_foundation","path":"/home/admin1/.pub-cache/hosted/pub.dev/path_provider_foundation-2.3.2/","shared_darwin_source":true,"native_build":true,"dependencies":[]}],"android":[{"name":"flutter_keyboard_visibility","path":"/home/admin1/.pub-cache/hosted/pub.dev/flutter_keyboard_visibility-5.4.1/","native_build":true,"dependencies":[]},{"name":"fluttertoast","path":"/home/admin1/.pub-cache/hosted/pub.dev/fluttertoast-8.2.4/","native_build":true,"dependencies":[]},{"name":"geolocator_android","path":"/home/admin1/.pub-cache/hosted/pub.dev/geolocator_android-4.5.0/","native_build":true,"dependencies":[]},{"name":"location","path":"/home/admin1/.pub-cache/hosted/pub.dev/location-5.0.3/","native_build":true,"dependencies":[]},{"name":"package_info_plus","path":"/home/admin1/.pub-cache/hosted/pub.dev/package_info_plus-4.2.0/","native_build":true,"dependencies":[]},{"name":"path_provider_android","path":"/home/admin1/.pub-cache/hosted/pub.dev/path_provider_android-2.2.2/","native_build":true,"dependencies":[]}],"macos":[{"name":"flutter_keyboard_visibility_macos","path":"/home/admin1/.pub-cache/hosted/pub.dev/flutter_keyboard_visibility_macos-1.0.0/","native_build":false,"dependencies":[]},{"name":"geolocator_apple","path":"/home/admin1/.pub-cache/hosted/pub.dev/geolocator_apple-2.3.5/","native_build":true,"dependencies":[]},{"name":"location","path":"/home/admin1/.pub-cache/hosted/pub.dev/location-5.0.3/","native_build":true,"dependencies":[]},{"name":"package_info_plus","path":"/home/admin1/.pub-cache/hosted/pub.dev/package_info_plus-4.2.0/","native_build":true,"dependencies":[]},{"name":"path_provider_foundation","path":"/home/admin1/.pub-cache/hosted/pub.dev/path_provider_foundation-2.3.2/","shared_darwin_source":true,"native_build":true,"dependencies":[]}],"linux":[{"name":"flutter_keyboard_visibility_linux","path":"/home/admin1/.pub-cache/hosted/pub.dev/flutter_keyboard_visibility_linux-1.0.0/","native_build":false,"dependencies":[]},{"name":"package_info_plus","path":"/home/admin1/.pub-cache/hosted/pub.dev/package_info_plus-4.2.0/","native_build":false,"dependencies":[]},{"name":"path_provider_linux","path":"/home/admin1/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1/","native_build":false,"dependencies":[]}],"windows":[{"name":"flutter_keyboard_visibility_windows","path":"/home/admin1/.pub-cache/hosted/pub.dev/flutter_keyboard_visibility_windows-1.0.0/","native_build":false,"dependencies":[]},{"name":"geolocator_windows","path":"/home/admin1/.pub-cache/hosted/pub.dev/geolocator_windows-0.2.2/","native_build":true,"dependencies":[]},{"name":"package_info_plus","path":"/home/admin1/.pub-cache/hosted/pub.dev/package_info_plus-4.2.0/","native_build":false,"dependencies":[]},{"name":"path_provider_windows","path":"/home/admin1/.pub-cache/hosted/pub.dev/path_provider_windows-2.2.1/","native_build":false,"dependencies":[]}],"web":[{"name":"flutter_keyboard_visibility_web","path":"/home/admin1/.pub-cache/hosted/pub.dev/flutter_keyboard_visibility_web-2.0.0/","dependencies":[]},{"name":"fluttertoast","path":"/home/admin1/.pub-cache/hosted/pub.dev/fluttertoast-8.2.4/","dependencies":[]},{"name":"geolocator_web","path":"/home/admin1/.pub-cache/hosted/pub.dev/geolocator_web-2.2.0/","dependencies":[]},{"name":"location_web","path":"/home/admin1/.pub-cache/hosted/pub.dev/location_web-4.2.0/","dependencies":[]},{"name":"package_info_plus","path":"/home/admin1/.pub-cache/hosted/pub.dev/package_info_plus-4.2.0/","dependencies":[]}]},"dependencyGraph":[{"name":"flutter_keyboard_visibility","dependencies":["flutter_keyboard_visibility_linux","flutter_keyboard_visibility_macos","flutter_keyboard_visibility_web","flutter_keyboard_visibility_windows"]},{"name":"flutter_keyboard_visibility_linux","dependencies":[]},{"name":"flutter_keyboard_visibility_macos","dependencies":[]},{"name":"flutter_keyboard_visibility_web","dependencies":[]},{"name":"flutter_keyboard_visibility_windows","dependencies":[]},{"name":"fluttertoast","dependencies":[]},{"name":"geolocator","dependencies":["geolocator_android","geolocator_apple","geolocator_web","geolocator_windows"]},{"name":"geolocator_android","dependencies":[]},{"name":"geolocator_apple","dependencies":[]},{"name":"geolocator_web","dependencies":[]},{"name":"geolocator_windows","dependencies":[]},{"name":"location","dependencies":["location_web"]},{"name":"location_web","dependencies":[]},{"name":"package_info_plus","dependencies":[]},{"name":"path_provider","dependencies":["path_provider_android","path_provider_foundation","path_provider_linux","path_provider_windows"]},{"name":"path_provider_android","dependencies":[]},{"name":"path_provider_foundation","dependencies":[]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_windows","dependencies":[]}],"date_created":"2024-01-24 14:14:20.733583","version":"3.16.8"}

{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"flutter_keyboard_visibility","path":"/home/admin1/.pub-cache/hosted/pub.dev/flutter_keyboard_visibility-5.4.1/","native_build":true,"dependencies":[]},{"name":"fluttertoast","path":"/home/admin1/.pub-cache/hosted/pub.dev/fluttertoast-8.2.4/","native_build":true,"dependencies":[]},{"name":"geolocator_apple","path":"/home/admin1/.pub-cache/hosted/pub.dev/geolocator_apple-2.3.5/","native_build":true,"dependencies":[]},{"name":"location","path":"/home/admin1/.pub-cache/hosted/pub.dev/location-5.0.3/","native_build":true,"dependencies":[]},{"name":"package_info_plus","path":"/home/admin1/.pub-cache/hosted/pub.dev/package_info_plus-4.2.0/","native_build":true,"dependencies":[]},{"name":"path_provider_foundation","path":"/home/admin1/.pub-cache/hosted/pub.dev/path_provider_foundation-2.3.2/","shared_darwin_source":true,"native_build":true,"dependencies":[]}],"android":[{"name":"flutter_keyboard_visibility","path":"/home/admin1/.pub-cache/hosted/pub.dev/flutter_keyboard_visibility-5.4.1/","native_build":true,"dependencies":[]},{"name":"fluttertoast","path":"/home/admin1/.pub-cache/hosted/pub.dev/fluttertoast-8.2.4/","native_build":true,"dependencies":[]},{"name":"geolocator_android","path":"/home/admin1/.pub-cache/hosted/pub.dev/geolocator_android-4.5.0/","native_build":true,"dependencies":[]},{"name":"location","path":"/home/admin1/.pub-cache/hosted/pub.dev/location-5.0.3/","native_build":true,"dependencies":[]},{"name":"package_info_plus","path":"/home/admin1/.pub-cache/hosted/pub.dev/package_info_plus-4.2.0/","native_build":true,"dependencies":[]},{"name":"path_provider_android","path":"/home/admin1/.pub-cache/hosted/pub.dev/path_provider_android-2.2.2/","native_build":true,"dependencies":[]}],"macos":[{"name":"flutter_keyboard_visibility_macos","path":"/home/admin1/.pub-cache/hosted/pub.dev/flutter_keyboard_visibility_macos-1.0.0/","native_build":false,"dependencies":[]},{"name":"geolocator_apple","path":"/home/admin1/.pub-cache/hosted/pub.dev/geolocator_apple-2.3.5/","native_build":true,"dependencies":[]},{"name":"location","path":"/home/admin1/.pub-cache/hosted/pub.dev/location-5.0.3/","native_build":true,"dependencies":[]},{"name":"package_info_plus","path":"/home/admin1/.pub-cache/hosted/pub.dev/package_info_plus-4.2.0/","native_build":true,"dependencies":[]},{"name":"path_provider_foundation","path":"/home/admin1/.pub-cache/hosted/pub.dev/path_provider_foundation-2.3.2/","shared_darwin_source":true,"native_build":true,"dependencies":[]}],"linux":[{"name":"flutter_keyboard_visibility_linux","path":"/home/admin1/.pub-cache/hosted/pub.dev/flutter_keyboard_visibility_linux-1.0.0/","native_build":false,"dependencies":[]},{"name":"package_info_plus","path":"/home/admin1/.pub-cache/hosted/pub.dev/package_info_plus-4.2.0/","native_build":false,"dependencies":[]},{"name":"path_provider_linux","path":"/home/admin1/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1/","native_build":false,"dependencies":[]}],"windows":[{"name":"flutter_keyboard_visibility_windows","path":"/home/admin1/.pub-cache/hosted/pub.dev/flutter_keyboard_visibility_windows-1.0.0/","native_build":false,"dependencies":[]},{"name":"geolocator_windows","path":"/home/admin1/.pub-cache/hosted/pub.dev/geolocator_windows-0.2.2/","native_build":true,"dependencies":[]},{"name":"package_info_plus","path":"/home/admin1/.pub-cache/hosted/pub.dev/package_info_plus-4.2.0/","native_build":false,"dependencies":[]},{"name":"path_provider_windows","path":"/home/admin1/.pub-cache/hosted/pub.dev/path_provider_windows-2.2.1/","native_build":false,"dependencies":[]}],"web":[{"name":"flutter_keyboard_visibility_web","path":"/home/admin1/.pub-cache/hosted/pub.dev/flutter_keyboard_visibility_web-2.0.0/","dependencies":[]},{"name":"fluttertoast","path":"/home/admin1/.pub-cache/hosted/pub.dev/fluttertoast-8.2.4/","dependencies":[]},{"name":"geolocator_web","path":"/home/admin1/.pub-cache/hosted/pub.dev/geolocator_web-2.2.0/","dependencies":[]},{"name":"location_web","path":"/home/admin1/.pub-cache/hosted/pub.dev/location_web-4.2.0/","dependencies":[]},{"name":"package_info_plus","path":"/home/admin1/.pub-cache/hosted/pub.dev/package_info_plus-4.2.0/","dependencies":[]}]},"dependencyGraph":[{"name":"flutter_keyboard_visibility","dependencies":["flutter_keyboard_visibility_linux","flutter_keyboard_visibility_macos","flutter_keyboard_visibility_web","flutter_keyboard_visibility_windows"]},{"name":"flutter_keyboard_visibility_linux","dependencies":[]},{"name":"flutter_keyboard_visibility_macos","dependencies":[]},{"name":"flutter_keyboard_visibility_web","dependencies":[]},{"name":"flutter_keyboard_visibility_windows","dependencies":[]},{"name":"fluttertoast","dependencies":[]},{"name":"geolocator","dependencies":["geolocator_android","geolocator_apple","geolocator_web","geolocator_windows"]},{"name":"geolocator_android","dependencies":[]},{"name":"geolocator_apple","dependencies":[]},{"name":"geolocator_web","dependencies":[]},{"name":"geolocator_windows","dependencies":[]},{"name":"location","dependencies":["location_web"]},{"name":"location_web","dependencies":[]},{"name":"package_info_plus","dependencies":[]},{"name":"path_provider","dependencies":["path_provider_android","path_provider_foundation","path_provider_linux","path_provider_windows"]},{"name":"path_provider_android","dependencies":[]},{"name":"path_provider_foundation","dependencies":[]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_windows","dependencies":[]}],"date_created":"2024-01-24 10:27:15.286890","version":"3.16.8"}
1 change: 0 additions & 1 deletion flutter/digit-ui-components/digit_components/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ migrate_working_dir/

# Flutter/Dart/Pub related
# Libraries should not include pubspec.lock, per https://dart.dev/guides/libraries/private-files#pubspeclock.
/pubspec.lock
**/doc/api/
.dart_tool/
.packages
Expand Down
Loading

0 comments on commit 4a3e4a9

Please sign in to comment.