-
Notifications
You must be signed in to change notification settings - Fork 46
Develop upgrades #3278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
jagankumar-egov
wants to merge
10,000
commits into
master
Choose a base branch
from
develop-upgrades
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Develop upgrades #3278
Changes from all commits
Commits
Show all changes
10000 commits
Select commit
Hold shift + click to select a range
0d0c558
Home page break issue fix, landing page css fix (#1487)
nabeelmd-eGov 09463f0
side bar mobileview and sidebar link order fixes (#1481)
mithunhegde-egov b657e8e
left logo top bar (#1492)
mithunhegde-egov 9aa803e
fix tenant issue in pgr complaint (#1491)
aaradhya-egov 0209ae1
Sidebar localization (#1494)
mithunhegde-egov 28d9df2
home icon citizen (#1500)
mithunhegde-egov f24226a
User Token cache remove for multiroottenant and css fix (#1506)
nabeelmd-eGov d7f6ffc
shp-svg icon added (#1514)
suryansh-egov 51f8e4d
fixed redirection issue (#1527)
Swathi-eGov af0239e
updated forgotpassword screen (#1532)
Swathi-eGov 05333ea
side bar faq-component changes (#1534)
aaradhya-egov 146b766
Role screen (#1535)
mithunhegde-egov 6c3c51a
language enabled for sandbox (#1540)
aaradhya-egov 37e1495
Css button fix (#1542)
mithunhegde-egov e94bec4
change language component added localization (#1543)
aaradhya-egov 6fa1273
fixe the faq component added link in it (#1554)
aaradhya-egov cf96ea8
updated all the core package versions
jagankumar-egov fd7ff74
updated the library versions
jagankumar-egov 403a6b9
Landing screen fixes (#1561)
mithunhegde-egov bdb9943
added city logic for multi root tenant (#1565)
aaradhya-egov 464357c
VIEW COMPOSER ENHANCE FOR NO CARDSTYLE (#1567)
abishekTa-egov 04a4d21
fix (#1571)
aaradhya-egov ec8808a
fix (#1572)
aaradhya-egov b43f9b6
how it works and user manual link added in the card (#1570)
mithunhegde-egov a26c1b6
updated backbutton to backlink (#1574)
Swathi-eGov d486681
role based home decoupled from modules (#1578)
mithunhegde-egov af16cb3
View composer fix (#1581)
abishekTa-egov 51b0a0c
View composer fix (#1583)
abishekTa-egov 573611d
added missing optional chaining (#1585)
mithunhegde-egov 140f4ed
change the navigation logic in quick setup (#1592)
aaradhya-egov b47f4bb
fix on tetnant of pgr (#1594)
aaradhya-egov 299e6f5
Hrms emp deactivate (#1589)
mithunhegde-egov a428e40
mobile sidebar redirection and cleanup of the sidebar redundant eleme…
mithunhegde-egov f7f79b3
fix of localisation (#1601)
aaradhya-egov 814da8f
role landing url updated (#1603)
mithunhegde-egov c9f8d70
feedback changes- citizen sidebar login page and loader time increase…
mithunhegde-egov 5006b5e
fix :: PGR localisty fixes (#1613)
aaradhya-egov 3107594
Citizen sidebar cache (#1620)
mithunhegde-egov ed4a165
added localization for parent keys in sidebar (#1624)
Swathi-eGov f394ec7
build issue fix
jagankumar-egov ef8606f
citizen logout redirection handled in multiroot tenant (#1633)
mithunhegde-egov 6564f90
Sandbox css fix on tooltips (#1636)
aaradhya-egov 87190fe
branch name validators
jagankumar-egov f116a19
templates updated
jagankumar-egov 6bc046f
updated the guidelines
jagankumar-egov 68b5b2e
Update branch-name-check.yml
jagankumar-egov f228527
hrms edit and deactivate bug fixes (#1655)
mithunhegde-egov 4dd7d5a
Updated the loader with text styles (#1735)
jagankumar-egov 2781ed3
added support to customize url in iframe interface (#1736)
prerna-egov 4e81618
Enhanced Inbox component to have dynamic svg icon from svg library (…
Swathi-eGov 467cf06
updated the components version and made the employee module card updates
jagankumar-egov 4276a66
updated the dss full module card component
jagankumar-egov b9663e8
Core module & Workbench Updated to have new Landing pacge card comp …
jagankumar-egov e2aea96
version updated
jagankumar-egov 408518b
Updated the core wrapper module verison (#1849)
jagankumar-egov c5c6adb
version updated for core module
jagankumar-egov 02b1cf2
Updated the components version
jagankumar-egov 2a3f1cb
Updated the components & css version of core components
jagankumar-egov 8127d65
Version updated for the components (#1856)
jagankumar-egov ae5621f
Updated the libraries version to 1.8.4
jagankumar-egov 6b6153b
Updated only react component version
jagankumar-egov f04216f
Updated the module versions to 1.8.10
jagankumar-egov abe90e6
[1.0.11]
jagankumar-egov 5f92adf
## [1.8.5] [26-Nov-2024]
jagankumar-egov d2b9df9
added comments for the usgae of field id
jagankumar-egov 24b7d71
## [1.8.11] [26-Nov-2024] - Republished with new component version i…
jagankumar-egov fb39080
updated the version of libraries
jagankumar-egov a3510a1
FEATURE/HCMPRE-1447 added icons for microplan and updated versions (#…
Swathi-eGov 77b0fde
updated versions (#2016)
Swathi-eGov 87ba1e9
FEATURE/DPG-1634 updated versions (#2019)
Swathi-eGov 882a9f8
FIX : Branch name validator fixed #2042
jagankumar-egov 64ea409
FEATURE/HCMPRE-1642 : Show TotalCount next to tab name in UI (#2043)
abishekTa-egov 28af811
BUGFIX/HCMPRE-1505 : Added dynamic regex validation for profile updat…
Swathi-eGov 0909bb7
BUGFIX/SN-345 : Fixes setup master button bug (#2045)
aaradhya-egov 5fd65e6
BUGFIX/DPG-1505 : Fixed Validation Issue on profile update (#2046)
Swathi-eGov d4664df
BUGFIX/SN-360 : Fixed localization issue (#2049)
aaradhya-egov 3e232b1
BUGFIX/SN-388 : fixed tenant issue in complaint type (#2077)
aaradhya-egov 0113cea
FEATURE/SN-390 : bulk button diable for adding master (#2083)
aaradhya-egov 002f3e7
BUGFIX/SN-391 : complaint subtype fix (#2085)
aaradhya-egov 5e2fe14
BUGFIX/SN-352 : making account name to max 60 length (#2086)
aaradhya-egov 629d3ef
FEATURE/SN-368 : Workbench module enahancement to have auto localisat…
mithunhegde-egov 8cfed3e
BUGFIX/HCMPRE-1866 : Css fix for pagination (#2125)
Swathi-eGov 9a44df1
FEATURE/HCMPRE-1955 : Removing the usage of DIGIT-UI-CONTEXTS in libr…
Swathi-eGov b00a7f6
FEATURE/HCMPRE-1852 :: accessibility issues of image(#2120)
jagankumar-egov 8d6ae99
FEATURE/HCMPRE-1852 :: accessibility issues of image
jagankumar-egov 13fb1af
FEATURE/HCMPRE-1852 :: accessibility issues of dropdown & checkbox
jagankumar-egov 835c717
BUGFIX/HCMPRE-1852 :: Fixed some console logs
jagankumar-egov 5194677
BUGFIX/HCMPRE-0000 : fixed import issues of new ui-components (#2153)
Swathi-eGov c70d53a
FEATURE/HCMPRE-0001 : added svg-components as dependency for core mod…
Swathi-eGov 922460d
BUGFIX/HCMPRE-0007: Stablized develop branch (#2145)
nipunarora-eGov 13efcf8
FEATURE/HCMPRE-1425 : Added the workbench module patches and Updated …
Swathi-eGov d1f8ecd
FEATURE/HCMPRE-2208 :: Fixed the default landing for the unsupported …
jagankumar-egov c679afd
FEATURE/HCMPRE-1852 : POC for single landing ui for users
jagankumar-egov 53e7028
FEATURE/HCMPRE-1852 : POC for single landing, Integrated the utiltiti…
jagankumar-egov 53672eb
FEATURE/DUCE-230 : Added PGR, Core and miscellaneous fixes done in et…
Tulika-eGov d1435cf
BUGFIX/SN-406: changed validation length (#2213)
aaradhya-egov a942ad3
FEATURE/DPG-0000 : Added id prop for Privacy Component Checkbox (#2214)
Swathi-eGov 54e69cc
FEATURE/DPG-0001 : Updated Core Module Version (#2215)
Swathi-eGov 9201bb3
FEATURE/DUCE-244 : - Intergrated with react json editor and provided …
jagankumar-egov 51d1a70
FEATURE/DUCE-244 : - Intergrated with react json editor CSS updated
jagankumar-egov 8245c6b
MISC : Updated the Branch name validator logic to enable DUCE Projects
jagankumar-egov 159a200
BUGFIX/DUCE-244: Fixed the build issue by incrementing all the depend…
jagankumar-egov 61f9b8b
BUGFIX/SN-407: fixed pgr screen issue (#2233)
aaradhya-egov f2445a2
FEATURE/HCMPRE-2235 : Updated key (#2235)
Swathi-eGov e6b02ad
BUGFIX/SN-375 : edit profile alignment fixed in sandbox (#2236)
mithunhegde-egov 2e840db
BUGFIX/SN-375 : updated css to override existing css changes for user…
mithunhegde-egov 0b7d0b2
BUGFIX/SN-409: continue button disabled untill both checkbox and emai…
mithunhegde-egov 9261086
FEATURE/DUCE-235 : integrated with json-edit-react for MDMS screens (…
Bhavya-egov a30461a
BUGFIX/SN-162 : Citizen otp fix in the Login page.
jagankumar-egov 4a5ddce
BUGFIX/DUCE-235 : integrated with json-edit-react for MDMS
jagankumar-egov 9b97795
BUGFIX/SN-162 : Citizen sms otp fix
jagankumar-egov 4f930f4
BUGFIX/SN-411: user profile edit alignment changes in the app wrapper…
mithunhegde-egov 438041f
BUGFIX/SN-412:fixed the user profile in citizen as it was breaking wi…
mithunhegde-egov 73f91f7
BUGFIX/SN-413:panel card issue fixed in create employee as it was bre…
mithunhegde-egov 8a76437
BUGFIX/DUCE-235 : Disabled json-edit-react & enable based on flag
jagankumar-egov 7d565f3
FEATURE/DUCE-254 : Citizen Form composer & playground for the same (#…
jagankumar-egov d446157
FEATURE/DUCE-253 : Intergrated with react json editor for citizen for…
jagankumar-egov 7cc8d5d
BUGFIX/DUCE-243 : Updated breadcrumb and regex validation mapping in …
Swathi-eGov cc95b45
FEATURE/DUCE-246:Login Screen trim the UserName (#2261)
abishekTa-egov bf74b24
FEATURE/DUCE-246:Userprofile password trimming (#2265)
abishekTa-egov af2126a
FEATURE/HCMPRE-2395 : added function to remove localisation cache (#2…
Bhavya-egov b7d4cf6
FEATURE/DUCE-234 : Enhancements in Localization Add Screen Bulk Uploa…
Swathi-eGov ed9c29f
CCSD-57: updated the new landing page config (#2288)
Tulika-eGov c5c30aa
FEATURE/DUCE-242:: sidebar items made configurable from ui (#2250)
suryansh-egov ef248df
CCSD-57 : added the static screens and local config for license modul…
Tulika-eGov b5db223
BUGFIX/CCSD-57-BRANCH-3: Used new version of core module: (#2318)
mukund-egov 0af87b0
BUGFIX/CCSD-57-BRANCH-4:: Used new version of libraries and sandbox (…
mukund-egov ead3b72
fixed by adding newest version of core module in sandbox (#2323)
mukund-egov 19fc281
BUGFIX/CCSD-167 :: Sandbox bugs on breadcrumbs and cleanup (#2339)
mukund-egov 99a3333
Breadcrumb issues solved in HRMS and Core (Sandbox environment) (#2341)
mukund-egov bec24be
FEATURE/HCMPRE-2222 :: added 2 svg icons newWindow and GlobeLocationP…
Bhavya-egov aa848c6
FEATURE/HCMPRE-2222 : Incremented react-components version (#2350)
Bhavya-egov b186cfd
Solution Framework : Updated the custom mutation hook to handle custo…
Tulika-eGov 5abd6c7
FEATURE/HCMPRE-0000 : Updated SheetName and Column Widths (#2380)
Swathi-eGov c219c4f
FEATURE/HCMPRE-2332 : added 2 new icons outpatient_med and ad_units (…
Bhavya-egov 8b40dc4
FEATURE/HCMPRE-11::added 2 new icons (#2412)
Bhavya-egov c921ae9
BUGFIX/HCMPRE-2588:: removed mask from upload cloud svg (#2419)
Bhavya-egov 51e8d80
BUGFIX/CCSD-185::updated packages for digit-ui-components (#2435)
Kamalesh-egov ef0e0ce
BUGFIX/CCSD-185 :: revert the component versions (#2458)
Kamalesh-egov b51a4af
BUGFIX/CCSD-216::privacy component alignment fix (#2460)
Kamalesh-egov b26a0d4
HCMPRE-2496: Develop carousel login screen revamp (#2488)
piyushraj-egov 8fc8669
HCMPRE-2496:: - Added `Carousel.scss` for login screen CSS
jagankumar-egov 412445e
Added Tutorial Guide SVG component (#2524)
Ramkrishna-egov bfb79b0
Imported Tutorial Guide svg component (#2527)
Ramkrishna-egov 5851e07
HCMPRE-2496: [1.8.21] [10-Jun-2025] - integrated with updated version
jagankumar-egov d900890
HCMPRE-2496: [1.8.38] [10-Jun-2025]] - integrated with updated version
jagankumar-egov 845a010
HCMPRE-2496: Develop carousel login screen revamp fixed (#2505)
piyushraj-egov b8742ca
HCMPRE-2496: Develop carousel login updated versions
jagankumar-egov 73fe27f
HCMPRE-2496: Develop carousel login css versions updated (#2564)
jagankumar-egov 4d6e07c
minor css update for forgot password (#2569)
piyushraj-egov 4de31e4
HCMPRE-2496: - provided download of al data per schema 'ENABLE_MDMS_…
jagankumar-egov 901c807
HCMPRE-2496: - version increment
jagankumar-egov c2b09c0
HCMPRE-2496: - version increments
jagankumar-egov 3405d1a
HCMPRE-2496: ## [1.8.40] [11-Jun-2025] - Added module name config f…
jagankumar-egov c8b2872
HCMPRE-2496: ## [1.8.40] [11-Jun-2025] - Workbench download disabled …
jagankumar-egov 8639afd
HCMPRE-2496: Develop feature forgot password (#2573)
piyushraj-egov 16ce7a0
HCMPRE-2496: Adhoc feature to download & upload of the schema & login…
jagankumar-egov cd74a7c
[1.8.16] [20-Jun-2025]
jagankumar-egov 3aa0ba4
FEATURE/DUCE-0000 : Checking useCustomAPIHook with the new version (#…
Swathi-eGov 0656fe4
added new icon (#2687)
Bhavya-egov 38b9b93
Sandbox-ui-icons updated (#2691)
Hari-egov 01cb9e4
Fixed Version issue for publishing
jagankumar-egov d944373
Sandbox login page (#2644)
jagankumar-egov 1d054f0
HRMS 1.8.13 and Core 1.8.44 Release PGR - DEMO Changes (#2788)
Hari-egov 5e5c3fe
Pgr demo build (#2796)
Hari-egov 1d94eab
Package publish Issue Fix (#2798)
Hari-egov cdbe37d
FEATURE/DUCE-0001 : Checking libraries with uicomponents as dependenc…
Swathi-eGov 2d2bd87
Pgr hrms changes (#2860)
Hari-egov a68f7f1
Hrms pgr (#2869)
Hari-egov 22bae4a
Hrms pgr 2 (#2870)
Hari-egov 7d86814
Ccsd 528 (#2893)
Hari-egov f13a3c7
CCSD-508 merge (#2919)
Hari-egov ed75917
Language selection css sandbox (#2951)
syedkaifegov 9059a2c
Feature/[1.8.19] [5-Aug-2025]
jagankumar-egov 7ebfc97
[1.8.23] [6-Aug-2025]
jagankumar-egov cb3c9ad
[1.8.24] [6-Aug-2025]
jagankumar-egov 2961318
Ccsd 622 474 458 (#2999)
Hari-egov d3774de
Develop (#3003)
syedkaifegov d9ed451
Employee margin fix (#3012)
syedkaifegov 70444a5
Toast error message width issue fix (#3030)
salaudeenegov 29afdda
FEATURE/HCMPRE-1123: Added iframe support and updated demo path (#3045)
abishekTa-egov 8d05547
Ws css fix (#3047)
syedkaifegov 8265698
BUGFIX/HCMPRE-1111 : Testing with new PDF Download Logic (#3160)
Swathi-eGov cafb392
BUGFIX/HCMPRE-1112 : Testing different PDF Download logics (#3161)
Swathi-eGov caebba5
BUGFIX/HCMPRE-1113 : Checking PDF Download Issue (#3162)
Swathi-eGov 7f67c64
FEATURE/HCMPRE-0000 : Updated libraries and core version for stabilit…
Swathi-eGov b58336c
FEATURE/DUCE-287 : Added new logic for language selection page (#3210)
Swathi-eGov cf2c21d
Sandbox landing page merge develop (#3226)
Hari-egov cecb8c9
Studio hrms fix (#3231)
Tulika-eGov 94b3a2e
CCSD-1077 : updated the login page to handle email based login (#3243)
Tulika-eGov 9bb68c2
Corrected the order of usememo code (#3250)
Tulika-eGov 1fd322b
Ccsd 1077 studio 2 (#3251)
Tulika-eGov 13f4234
extend react-app error fix
piyushraj-egov 5d3a1bc
vesrsions upgraded for all across app
piyushraj-egov be65ebd
fixed index.js for getStateId error(Digit error)
piyushraj-egov fd9932a
login disable fix(temporary)
piyushraj-egov 57a038d
CCSD-1077 : updated the component to handle the redirection issue and…
Tulika-eGov f7cb90d
hrmscard null fix
piyushraj-egov 743a5d2
build.yml added
piyushraj-egov e60ed91
skipped changelog updated
piyushraj-egov 8ffec71
build yml file changes
piyushraj-egov a6808b2
BUGFIX/DUCE-0000 : Added fix for privacy policy error (#3257)
Swathi-eGov b44e4cb
install-deps changes for build
piyushraj-egov 06d703c
CCSD-1077 : Updated the logic to include dynamic loginc component bel…
Tulika-eGov b8c6963
CCSD-1077: Updated the component to fix validation and style issue (#…
Tulika-eGov d96c9cc
removed comments and console logs
piyushraj-egov c0afc30
renamed to yaml
piyushraj-egov f2453ac
updated dockerfile node image
piyushraj-egov 23ca2a6
trigger wf
piyushraj-egov 5cbbce6
dynamic import in web to fix Digit error
piyushraj-egov 62e39cd
index.js changes
piyushraj-egov 2fb6894
CCSD-1107: Updated the email and mobilenumber login flow with pattern…
Tulika-eGov b6d3620
Revert "index.js changes"
piyushraj-egov 3e4836f
svg comp added
piyushraj-egov 7ce5411
App.js changes
piyushraj-egov 0dcd0b3
enabled workbench
piyushraj-egov 27f75cc
console logs removed, sandbox module revert
piyushraj-egov d040877
Merge branch 'develop' into develop-sub
jagankumar-egov 8567fb8
coderabbit minor issues resolved
piyushraj-egov 4201446
1100-BUGFIXES
piyushraj-egov 6fbed44
added OVERRIDE_ROOT_TENANT_WITH_LOGGEDIN_TENANT to support multiple t…
jagankumar-egov b48719d
fixes added
jagankumar-egov 4956abb
added fixes
jagankumar-egov a273eff
Merge branch 'develop-loc' into develop-sub
jagankumar-egov 9fbc07d
fixes on the core for logo
jagankumar-egov 256c80c
css
jagankumar-egov 65a5f9e
updated manage master screen
jagankumar-egov 3757dde
added filter
jagankumar-egov 85f63e2
Update micro-ui/web/micro-ui-internals/packages/modules/core/src/comp…
jagankumar-egov 7c7dbd2
removed console.logs
jagankumar-egov bfad6ab
Updated some fixes in workbench screens
jagankumar-egov 4a4048c
updated with new version
jagankumar-egov b51452e
Updated the changelogs
jagankumar-egov ffd2949
updated version
jagankumar-egov 6ee192a
Updated the changelogs
jagankumar-egov 14fd1b8
Update CHANGELOG.md
jagankumar-egov cf1e5ac
updated readme
jagankumar-egov 04a7179
updated
jagankumar-egov 4517f50
added readme
jagankumar-egov 1691d28
updaeted readme
jagankumar-egov 56145d8
publish for an rc build before release
jagankumar-egov 06777e8
Update package.json
jagankumar-egov 093f19b
Update publish-workbench.sh
jagankumar-egov 2ac4c63
Test core ui build
jagankumar-egov b871852
updated workbench build
jagankumar-egov a7a1dd3
updated dependency versions
jagankumar-egov cea8fb0
fixes for build
jagankumar-egov de763c6
updated to packages
jagankumar-egov b8e67c7
Update index.html
jagankumar-egov 351115c
updated fixes for build
jagankumar-egov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| ### Bugfix Request | ||
|
|
||
| #### JIRA ID | ||
| <!-- Provide a detailed description of the feature --> | ||
|
|
||
| #### Module | ||
| <!-- Provide a detailed description of the feature --> | ||
|
|
||
| #### Description | ||
| <!-- Provide a detailed description of the feature --> | ||
|
|
||
| ### Root Cause | ||
| <!-- Describe the root cause of the bug. --> | ||
|
|
||
| #### Related Issues | ||
| <!-- Link any related GitHub issues here --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| ### Feature Request | ||
|
|
||
| #### JIRA ID | ||
| <!-- Provide a detailed description of the feature --> | ||
|
|
||
| #### Module | ||
| <!-- Provide a detailed description of the feature --> | ||
|
|
||
| #### Description | ||
| <!-- Provide a detailed description of the feature --> | ||
|
|
||
| #### Related Issues | ||
| <!-- Link any related GitHub issues here --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| ### Release Request | ||
|
|
||
| #### JIRA ID | ||
| <!-- Provide a detailed description of the feature --> | ||
|
|
||
| #### Module | ||
| <!-- Provide a detailed description of the feature --> | ||
|
|
||
| #### Description | ||
| <!-- Provide a detailed description of the feature --> | ||
|
|
||
| #### List of Features | ||
| <!-- Link any related GitHub issues here --> | ||
|
|
||
| #### List of Issues | ||
| <!-- Link any related GitHub issues here --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| #!/bin/sh | ||
|
|
||
| # Get the current branch name | ||
| BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD) | ||
|
|
||
| # Define the pattern | ||
| PATTERN="^(FEATURE|BUGFIX|RELEASE)\/(HCMPRE|DPG|SN)-[0-9]{1,5}$" | ||
|
|
||
| # Check if the branch name matches the pattern | ||
| if [[ ! "$BRANCH_NAME" =~ $PATTERN ]]; then | ||
| echo "Branch name '$BRANCH_NAME' does not follow the correct pattern:" | ||
| echo " - FEATURE/HCMPRE-<TICKET_NO>" | ||
| echo " - FEATURE/DPG-<TICKET_NO>" | ||
| echo " - FEATURE/SN-<TICKET_NO>" | ||
| echo " - BUGFIX/HCMPRE-<TICKET_NO>" | ||
| echo " - BUGFIX/DPG-<TICKET_NO>" | ||
| echo " - BUGFIX/SN-<TICKET_NO>" | ||
| echo " - RELEASE/HCMPRE-<TICKET_NO>" | ||
| echo " - RELEASE/DPG-<TICKET_NO>" | ||
| echo "Where <TICKET_NO> is a number between 0 and 99999." | ||
| exit 1 | ||
| fi | ||
|
|
||
| # If the pattern matches, allow the push | ||
| exit 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| ## Choose the appropriate template for your PR: | ||
|
|
||
| - [Feature PR](./PULL_REQUEST_TEMPLATE/feature_template.md) | ||
| - [Bugfix PR](./PULL_REQUEST_TEMPLATE/bugfix_template.md) | ||
| - [Release PR](./PULL_REQUEST_TEMPLATE/release_template.md) | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,79 @@ | ||
| name: Branch and PR Name Validation | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - master | ||
| - develop | ||
| - console | ||
|
|
||
| pull_request: | ||
| branches: | ||
| - master | ||
| - develop | ||
| - console | ||
|
|
||
| types: | ||
| - opened | ||
| - edited | ||
| - reopened | ||
|
|
||
| jobs: | ||
| validate-names: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v3 | ||
|
|
||
| - name: Validate branch name | ||
| run: | | ||
| # Determine the branch name | ||
| if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]; then | ||
| branch_name="${GITHUB_HEAD_REF}" | ||
| else | ||
| branch_name="${GITHUB_REF#refs/heads/}" | ||
| fi | ||
|
|
||
| # Define the branch name pattern | ||
| PREFIXES="FEATURE|BUGFIX|RELEASE" | ||
| PROJECTS="HCMPRE|DPG|SN|DUCE" | ||
| TICKET_PATTERN="[0-9]{1,5}" | ||
| BRANCH_PATTERN="^($PREFIXES)\/($PROJECTS)-$TICKET_PATTERN$" | ||
|
|
||
| # Validate the branch name | ||
| if [[ ! "$branch_name" =~ $BRANCH_PATTERN ]]; then | ||
| echo "Branch name '$branch_name' does not follow the correct pattern: $PREFIXES/$PROJECTS-<TICKET_NO> where <TICKET_NO> is $TICKET_PATTERN" | ||
| exit 1 | ||
| fi | ||
|
|
||
| - name: Validate PR title | ||
| if: ${{ github.event_name == 'pull_request' }} # Only for PR validation | ||
| run: | | ||
| # Define constants | ||
| PREFIXES="FEATURE|BUGFIX|RELEASE" | ||
| PROJECTS="HCMPRE|DPG|SN|DUCE" | ||
| TICKET_PATTERN="[0-9]{1,5}" | ||
| TITLE_PATTERN="^($PREFIXES)\/($PROJECTS)-$TICKET_PATTERN.*$" | ||
| MIN_TITLE_LENGTH=30 | ||
|
|
||
|
|
||
| # Fetch the latest PR title dynamically | ||
| pr_title=$(curl -s https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }} | jq -r '.title') | ||
| echo "Fetched PR title: $pr_title" | ||
|
|
||
| # Validate the PR title | ||
| if [[ ! "$pr_title" =~ $TITLE_PATTERN ]]; then | ||
| echo "PR title '$pr_title' does not follow the correct pattern: $PREFIXES/$PROJECTS-<TICKET_NO> : <Description> where <TICKET_NO> is $TICKET_PATTERN" | ||
| exit 1 | ||
| fi | ||
|
|
||
| # Validate the PR title length | ||
| if [[ ${#pr_title} -lt $MIN_TITLE_LENGTH ]]; then | ||
| echo "PR title '$pr_title' is too short. It must be at least $MIN_TITLE_LENGTH characters long, excluding the default pattern or ticket number." | ||
| exit 1 | ||
| fi | ||
|
|
||
| echo "PR title validation passed." | ||
|
|
||
|
|
||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,231 @@ | ||
| name: Build Pipeline | ||
| run-name: Build ${{ github.event.inputs.pipeline_name }} | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| inputs: | ||
| pipeline_name: | ||
| description: 'Name of the config pipeline to build and deploy' | ||
| required: true | ||
| type: choice | ||
| options: | ||
| - digit-ui | ||
| - core-ui | ||
| - workbench-ui | ||
| - sandbox-ui | ||
| - microplan-ui | ||
| - console | ||
| - dashboard-ui | ||
| - payments-ui | ||
| - storybook-svg | ||
| - storybook | ||
| - egov-bff | ||
| - core-digit-ui | ||
| - dss-ui | ||
| - hrms-ui | ||
| - karnataka-ui | ||
| - meghalaya-ui | ||
|
|
||
| env: | ||
| DOCKER_USERNAME: ${{ vars.DOCKER_USERNAME }} | ||
| DOCKER_PASSWORD: ${{ secrets.DOCKER_ACCESS_TOKEN }} | ||
|
|
||
| jobs: | ||
| resolve-config: | ||
| name: Resolve ${{ github.event.inputs.pipeline_name }} config | ||
| runs-on: ubuntu-latest | ||
| outputs: | ||
| work_dir: ${{ steps.setenv.outputs.work_dir }} | ||
| image_name: ${{ steps.setenv.outputs.image_name }} | ||
| dockerfile: ${{ steps.setenv.outputs.dockerfile }} | ||
| tag: ${{ steps.tag.outputs.tag }} | ||
| steps: | ||
| - name: Checkout Code | ||
| uses: actions/checkout@v3 | ||
|
|
||
| - name: Install yq | ||
| run: | | ||
| VERSION="4.30.8" | ||
| URL="https://github.com/mikefarah/yq/releases/download/v${VERSION}/yq_linux_amd64" | ||
| sudo curl -sSL "$URL" -o /usr/local/bin/yq | ||
| sudo chmod +x /usr/local/bin/yq | ||
|
|
||
| - name: Resolve env from build-config.yml | ||
| id: setenv | ||
| run: | | ||
| PIPELINE_NAME="${{ github.event.inputs.pipeline_name }}" | ||
| DEFAULT_DOCKERFILE="Dockerfile" | ||
| echo "### Pipeline Name - $PIPELINE_NAME" >> $GITHUB_STEP_SUMMARY | ||
|
|
||
| # Find exactly one matching config block | ||
| MATCHING_CONFIGS=$(yq eval -o=json '.config[] | select(.name | test("/'"$PIPELINE_NAME"'$"))' build/build-config.yml) | ||
| MATCH_COUNT=$(echo "$MATCHING_CONFIGS" | jq -s 'length') | ||
| if [ "$MATCH_COUNT" -ne 1 ]; then | ||
| echo "ERROR: Expected exactly 1 matching pipeline config, but found $MATCH_COUNT" | ||
| exit 1 | ||
| fi | ||
|
|
||
| # Extract fields | ||
| SERVICE_BUILD_CONFIG=$(echo "$MATCHING_CONFIGS" | jq -c '.build[] | select(.["image-name"])') | ||
| SERVICE_WORK_DIR=$(echo "$SERVICE_BUILD_CONFIG" | yq eval -r '.["work-dir"] // ""' -) | ||
| SERVICE_IMAGE_NAME=$(echo "$SERVICE_BUILD_CONFIG" | yq eval -r '.["image-name"] // ""' -) | ||
| SERVICE_DOCKERFILE=$(echo "$SERVICE_BUILD_CONFIG" | yq eval -r '.dockerfile // ""' -) | ||
|
|
||
| # Default Dockerfile if none specified | ||
| if [ -z "$SERVICE_DOCKERFILE" ]; then | ||
| SERVICE_DOCKERFILE="$SERVICE_WORK_DIR/$DEFAULT_DOCKERFILE" | ||
| fi | ||
|
|
||
| # Export | ||
| echo "SERVICE_WORK_DIR=$SERVICE_WORK_DIR" >> "$GITHUB_ENV" | ||
| echo "SERVICE_IMAGE_NAME=$SERVICE_IMAGE_NAME" >> "$GITHUB_ENV" | ||
| echo "SERVICE_DOCKERFILE=$SERVICE_DOCKERFILE" >> "$GITHUB_ENV" | ||
| echo "work_dir=$SERVICE_WORK_DIR" >> $GITHUB_OUTPUT | ||
| echo "image_name=$SERVICE_IMAGE_NAME" >> $GITHUB_OUTPUT | ||
| echo "dockerfile=$SERVICE_DOCKERFILE" >> $GITHUB_OUTPUT | ||
|
|
||
| # Put summary for the step | ||
| echo "#### Application Config Summary" >> $GITHUB_STEP_SUMMARY | ||
| echo "Application Work Directory - $SERVICE_WORK_DIR" >> $GITHUB_STEP_SUMMARY | ||
| echo "Image Name - $SERVICE_IMAGE_NAME" >> $GITHUB_STEP_SUMMARY | ||
| echo "Dockerfile Path - $SERVICE_DOCKERFILE" >> $GITHUB_STEP_SUMMARY | ||
|
|
||
| - name: Generate the Next Tag | ||
| id: tag | ||
| run: | | ||
| set -euxo pipefail | ||
| BRANCH="${GITHUB_REF##*/}" | ||
| COMMIT_HASH=$(git rev-parse --short HEAD) | ||
| SERVICE_NAME="${{ env.SERVICE_IMAGE_NAME }}" | ||
|
|
||
| TOKEN=$(curl -s -X POST "https://hub.docker.com/v2/users/login/" \ | ||
| -H "Content-Type: application/json" \ | ||
| -d "{\"username\": \"$DOCKER_USERNAME\", \"password\": \"$DOCKER_PASSWORD\"}" \ | ||
| | jq -r .token) | ||
|
|
||
| if [ -z "$TOKEN" ]; then | ||
| echo "Failed to authenticate with Docker Hub." >&2 | ||
| exit 1 | ||
| fi | ||
|
|
||
| # Check if repo exists | ||
| HTTP_CODE=$(curl -s -o /dev/null -w '%{http_code}' \ | ||
| -H "Authorization: JWT $TOKEN" \ | ||
| "https://hub.docker.com/v2/repositories/$DOCKER_USERNAME/$SERVICE_NAME/") | ||
|
|
||
| if [ "$HTTP_CODE" -ne 200 ]; then | ||
| NEXT_TAG="${BRANCH}-${COMMIT_HASH}" | ||
| else | ||
| EXISTING_TAGS=$(curl -s -H "Authorization: JWT $TOKEN" \ | ||
| "https://hub.docker.com/v2/repositories/$DOCKER_USERNAME/$SERVICE_NAME/tags?page_size=100" \ | ||
| | jq -r '.results[].name') | ||
| LATEST_TAG=$(echo "$EXISTING_TAGS" \ | ||
| | grep "^${BRANCH}-${COMMIT_HASH}" || true \ | ||
| | sort -V \ | ||
| | tail -n 1) | ||
| NEXT_TAG="${LATEST_TAG:-${BRANCH}-${COMMIT_HASH}}" | ||
| fi | ||
|
|
||
| echo "tag=$NEXT_TAG" >> "$GITHUB_OUTPUT" | ||
| echo "NEXT_TAG=$NEXT_TAG" >> "$GITHUB_ENV" | ||
| echo "tag - $NEXT_TAG" >> $GITHUB_STEP_SUMMARY | ||
|
|
||
| build-matrix: | ||
| name: Build application ${{ matrix.arch }} | ||
| needs: [resolve-config] | ||
| strategy: | ||
| matrix: | ||
| include: | ||
| - arch: amd64 | ||
| platform: linux/amd64 | ||
| runner: ubuntu-latest | ||
| - arch: arm64 | ||
| platform: linux/arm64 | ||
| runner: ubuntu-24.04-arm | ||
| runs-on: ${{ matrix.runner }} | ||
| outputs: | ||
| amd64_digest: ${{ steps.digest_amd64.outputs.digest }} | ||
| arm64_digest: ${{ steps.digest_arm64.outputs.digest }} | ||
| steps: | ||
| - name: Checkout Code | ||
| uses: actions/checkout@v3 | ||
|
|
||
| - name: Set up Docker Buildx | ||
| uses: docker/setup-buildx-action@v3 | ||
|
|
||
| - name: Cache Docker Layers | ||
| uses: actions/cache@v3 | ||
| with: | ||
| path: /tmp/.buildx-cache | ||
| key: ${{ runner.os }}-${{ matrix.arch }}-buildx-${{ github.event.inputs.pipeline_name }}-${{ github.ref_name }} | ||
| restore-keys: | | ||
| ${{ runner.os }}-${{ matrix.arch }}-buildx-${{ github.event.inputs.pipeline_name }}- | ||
|
|
||
| - name: Log in to Docker Hub | ||
| uses: docker/login-action@v2 | ||
| with: | ||
| username: ${{ env.DOCKER_USERNAME }} | ||
| password: ${{ env.DOCKER_PASSWORD }} | ||
|
|
||
| - name: Build image for ${{ matrix.arch }} | ||
| run: | | ||
| docker buildx build \ | ||
| --platform ${{ matrix.platform }} \ | ||
| --build-arg WORK_DIR=${{ needs.resolve-config.outputs.work_dir }} \ | ||
| --file ${{ needs.resolve-config.outputs.dockerfile }} \ | ||
| --tag egovio/${{ needs.resolve-config.outputs.image_name }}:${{ needs.resolve-config.outputs.tag }}-${{ matrix.arch }} \ | ||
| --cache-from=type=local,src=/tmp/.buildx-cache \ | ||
| --cache-to=type=local,dest=/tmp/.buildx-cache,mode=max \ | ||
| --push \ | ||
| --iidfile digest.txt \ | ||
| . | ||
|
|
||
| - name: Inspect Manifest List | ||
| run: | | ||
| docker buildx imagetools inspect egovio/${{ needs.resolve-config.outputs.image_name }}:${{ needs.resolve-config.outputs.tag }}-${{ matrix.arch }} | ||
|
|
||
| - name: Export Digest (amd64) | ||
| if: matrix.arch == 'amd64' | ||
| id: digest_amd64 | ||
| run: | | ||
| digest=$(docker buildx imagetools inspect \ | ||
| egovio/${{ needs.resolve-config.outputs.image_name }}:${{ needs.resolve-config.outputs.tag }}-${{ matrix.arch }} \ | ||
| --format '{{json .}}' | jq -r '.manifest.manifests[] | select(.platform.architecture=="amd64" and .platform.os=="linux") | .digest') | ||
| echo "digest=$digest" >> $GITHUB_OUTPUT | ||
|
|
||
| - name: Export Digest (arm64) | ||
| if: matrix.arch == 'arm64' | ||
| id: digest_arm64 | ||
| run: | | ||
| digest=$(docker buildx imagetools inspect \ | ||
| egovio/${{ needs.resolve-config.outputs.image_name }}:${{ needs.resolve-config.outputs.tag }}-${{ matrix.arch }} \ | ||
| --format '{{json .}}' | jq -r '.manifest.manifests[] | select(.platform.architecture=="arm64" and .platform.os=="linux") | .digest') | ||
| echo "digest=$digest" >> $GITHUB_OUTPUT | ||
|
|
||
| create-manifest: | ||
| name: Create and Push Manifest | ||
| needs: [build-matrix, resolve-config] | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Log in to Docker Hub | ||
| uses: docker/login-action@v2 | ||
| with: | ||
| username: ${{ env.DOCKER_USERNAME }} | ||
| password: ${{ env.DOCKER_PASSWORD }} | ||
|
|
||
| - name: Create and push manifest | ||
| run: | | ||
| docker manifest create egovio/${{ needs.resolve-config.outputs.image_name }}:${{ needs.resolve-config.outputs.tag }} \ | ||
| --amend egovio/${{ needs.resolve-config.outputs.image_name }}@${{ needs.build-matrix.outputs.amd64_digest }} \ | ||
| --amend egovio/${{ needs.resolve-config.outputs.image_name }}@${{ needs.build-matrix.outputs.arm64_digest }} | ||
| docker manifest push egovio/${{ needs.resolve-config.outputs.image_name }}:${{ needs.resolve-config.outputs.tag }} | ||
|
|
||
| - name: Cleanup local manifest refs | ||
| run: | | ||
| docker manifest rm egovio/${{ needs.resolve-config.outputs.image_name }}:${{ needs.resolve-config.outputs.tag }}-amd64 || true | ||
| docker manifest rm egovio/${{ needs.resolve-config.outputs.image_name }}:${{ needs.resolve-config.outputs.tag }}-arm64 || true | ||
|
|
||
| - name: Add summary to GitHub Actions | ||
| run: | | ||
| echo "- Image: egovio/${{ needs.resolve-config.outputs.image_name }}:${{ needs.resolve-config.outputs.tag }}" >> $GITHUB_STEP_SUMMARY | ||
| echo "- Platform: amd64, arm64" >> $GITHUB_STEP_SUMMARY |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧹 Nitpick | 🔵 Trivial
Use a top‑level H1 for the first heading (markdownlint MD041).
Change the opening heading to H1.
📝 Committable suggestion
🧰 Tools
🪛 markdownlint-cli2 (0.18.1)
1-1: First line in a file should be a top-level heading
(MD041, first-line-heading, first-line-h1)
🤖 Prompt for AI Agents