Skip to content

Citrine build csms GH action is broken #172

@Abby-Wheelis

Description

@Abby-Wheelis

After updating to the October release -- integration with citrine is broken again!

The rest of the actions complete successfully, but the action for citrine fails. I think this is the best capture of the problem:


#13 44.64 10:30:11 PM - Project '00_Base/tsconfig.json' is out of date because output file '00_Base/tsconfig.tsbuildinfo' does not exist
#13 44.64 
#13 44.65 10:30:11 PM - Building project '/usr/local/apps/citrineos/00_Base/tsconfig.json'...
#13 44.65 
#13 68.34 00_Base/src/interfaces/api/AbstractModuleApi.ts(398,41): error TS2589: Type instantiation is excessively deep and possibly infinite.
#13 68.34 00_Base/src/interfaces/api/AbstractModuleApi.ts(398,57): error TS2345: Argument of type 'ZodEffects<ZodObject<{ env: ZodEnum<["development", "production"]>; centralSystem: ZodObject<{ host: ZodString; port: ZodNumber; }, "strip", ZodTypeAny, { host: string; port: number; }, { ...; }>; ... 8 more ...; rbacRulesDir: ZodOptional<...>; }, "strip", ZodTypeAny, { ...; }, { ...; }>, { ...; }, { ...; }>' is not assignable to parameter of type 'ZodType<any, ZodTypeDef, any>'.
#13 68.34   The types returned by '_refinement(...)' are incompatible between these types.
#13 68.34     Type 'ZodEffects<ZodEffects<ZodObject<{ env: ZodEnum<["development", "production"]>; centralSystem: ZodObject<{ host: ZodString; port: ZodNumber; }, "strip", ZodTypeAny, { host: string; port: number; }, { ...; }>; ... 8 more ...; rbacRulesDir: ZodOptional<...>; }, "strip", ZodTypeAny, { ...; }, { ...; }>, { ...; }, { ...;...' is missing the following properties from type 'ZodEffects<ZodType<any, ZodTypeDef, any>, any, any>': _type, _output, _input, _def, and 33 more.
#13 68.35 10:30:34 PM - Project '01_Data/tsconfig.json' is out of date because output file '01_Data/tsconfig.tsbuildinfo' does not exist
#13 68.35 
#13 68.35 10:30:34 PM - Building project '/usr/local/apps/citrineos/01_Data/tsconfig.json'...
#13 68.35 
#13 71.04 10:30:37 PM - Project '02_Util/tsconfig.json' is out of date because output file '02_Util/tsconfig.tsbuildinfo' does not exist
#13 71.04 
#13 71.04 10:30:37 PM - Building project '/usr/local/apps/citrineos/02_Util/tsconfig.json'...
#13 71.04 
#13 74.45 10:30:40 PM - Project '03_Modules/Certificates/tsconfig.json' is out of date because output file '03_Modules/Certificates/tsconfig.tsbuildinfo' does not exist
#13 74.45 
#13 74.45 10:30:40 PM - Building project '/usr/local/apps/citrineos/03_Modules/Certificates/tsconfig.json'...
#13 74.45 
#13 74.91 10:30:41 PM - Project '03_Modules/Configuration/tsconfig.json' is out of date because output file '03_Modules/Configuration/tsconfig.tsbuildinfo' does not exist
#13 74.91 
#13 74.91 10:30:41 PM - Building project '/usr/local/apps/citrineos/03_Modules/Configuration/tsconfig.json'...
#13 74.91 
#13 75.50 10:30:41 PM - Project '03_Modules/EVDriver/tsconfig.json' is out of date because output file '03_Modules/EVDriver/tsconfig.tsbuildinfo' does not exist
#13 75.50 
#13 75.50 10:30:41 PM - Building project '/usr/local/apps/citrineos/03_Modules/EVDriver/tsconfig.json'...
#13 75.50 
#13 75.87 10:30:42 PM - Project '03_Modules/Monitoring/tsconfig.json' is out of date because output file '03_Modules/Monitoring/tsconfig.tsbuildinfo' does not exist
#13 75.87 
#13 75.87 10:30:42 PM - Building project '/usr/local/apps/citrineos/03_Modules/Monitoring/tsconfig.json'...
#13 75.87 
#13 76.17 10:30:42 PM - Project '03_Modules/OcppRouter/tsconfig.json' is out of date because output file '03_Modules/OcppRouter/tsconfig.tsbuildinfo' does not exist
#13 76.17 
#13 76.17 10:30:42 PM - Building project '/usr/local/apps/citrineos/03_Modules/OcppRouter/tsconfig.json'...
#13 76.17 
#13 76.59 10:30:42 PM - Project '03_Modules/Reporting/tsconfig.json' is out of date because output file '03_Modules/Reporting/tsconfig.tsbuildinfo' does not exist
#13 76.59 
#13 76.59 10:30:42 PM - Building project '/usr/local/apps/citrineos/03_Modules/Reporting/tsconfig.json'...
#13 76.59 
#13 76.85 10:30:43 PM - Project '03_Modules/SmartCharging/tsconfig.json' is out of date because output file '03_Modules/SmartCharging/tsconfig.tsbuildinfo' does not exist
#13 76.85 
#13 76.85 10:30:43 PM - Building project '/usr/local/apps/citrineos/03_Modules/SmartCharging/tsconfig.json'...
#13 76.85 
#13 77.16 10:30:43 PM - Project '03_Modules/Tenant/tsconfig.json' is out of date because output file '03_Modules/Tenant/tsconfig.tsbuildinfo' does not exist
#13 77.16 
#13 77.16 10:30:43 PM - Building project '/usr/local/apps/citrineos/03_Modules/Tenant/tsconfig.json'...
#13 77.16 
#13 77.27 10:30:43 PM - Project '03_Modules/Transactions/tsconfig.json' is out of date because output file '03_Modules/Transactions/tsconfig.tsbuildinfo' does not exist
#13 77.27 
#13 77.27 10:30:43 PM - Building project '/usr/local/apps/citrineos/03_Modules/Transactions/tsconfig.json'...
#13 77.27 
#13 77.71 10:30:44 PM - Project 'Server/tsconfig.json' is out of date because output file 'Server/tsconfig.tsbuildinfo' does not exist
#13 77.71 
#13 77.71 10:30:44 PM - Building project '/usr/local/apps/citrineos/Server/tsconfig.json'...
#13 77.71 
#13 78.39 10:30:44 PM - Project 'tsconfig.json' is out of date because output file 'dist/tsconfig.tsbuildinfo' does not exist
#13 78.39 
#13 78.39 10:30:44 PM - Building project '/usr/local/apps/citrineos/tsconfig.json'...
#13 78.39 
#13 79.75 10:30:46 PM - Updating unchanged output timestamps of project '/usr/local/apps/citrineos/tsconfig.json'...
#13 79.75 
#13 ERROR: process "/bin/sh -c npm run install-all && npm run build" did not complete successfully: exit code: 2
------
 > [linux/amd64 build 4/7] RUN npm run install-all && npm run build:
77.71 10:30:44 PM - Project 'Server/tsconfig.json' is out of date because output file 'Server/tsconfig.tsbuildinfo' does not exist
77.71 
77.71 10:30:44 PM - Building project '/usr/local/apps/citrineos/Server/tsconfig.json'...
77.71 
78.39 10:30:44 PM - Project 'tsconfig.json' is out of date because output file 'dist/tsconfig.tsbuildinfo' does not exist
78.39 
78.39 10:30:44 PM - Building project '/usr/local/apps/citrineos/tsconfig.json'...
78.39 
79.75 10:30:46 PM - Updating unchanged output timestamps of project '/usr/local/apps/citrineos/tsconfig.json'...
79.75 
------
deploy.Dockerfile:7
--------------------
   5 |     
   6 |     COPY . .
   7 | >>> RUN npm run install-all && npm run build
   8 |     
   9 |     RUN echo "Copying data and hasura metadata folders..."
--------------------
ERROR: failed to build: failed to solve: process "/bin/sh -c npm run install-all && npm run build" did not complete successfully: exit code: 2

It looks like a missing config? I'll run locally and see if I can get a better grasp of the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions