Skip to content

hard code new env variables #71

hard code new env variables

hard code new env variables #71

Triggered via push November 8, 2024 04:57
Status Failure
Total duration 5m 25s
Artifacts

push.yml

on: push
Matrix: Testing Application
Check Schema
37s
Check Schema
Deploying Application to Cloud VPS
0s
Deploying Application to Cloud VPS
Fit to window
Zoom out
Zoom in

Annotations

11 errors
Check Schema
Failed to load 'schema.graphql' (ref: refs/pull/2627/merge)
tests/utilities/adminCheck.spec.ts: src/utilities/hashEmail.ts#L27
Error: Missing HASH_PEPPER environment variable required for secure email hashing ❯ Module.hashEmail src/utilities/hashEmail.ts:27:11 ❯ createTestUser tests/helpers/userAndOrg.ts:23:23 ❯ Module.createTestUserAndOrganization tests/helpers/userAndOrg.ts:107:26 ❯ tests/utilities/adminCheck.spec.ts:28:28
tests/utilities/auth.spec.ts: src/utilities/hashEmail.ts#L27
Error: Missing HASH_PEPPER environment variable required for secure email hashing ❯ Module.hashEmail src/utilities/hashEmail.ts:27:11 ❯ createTestUser tests/helpers/user.ts:13:23 ❯ Module.createTestUserFunc tests/helpers/user.ts:38:26 ❯ tests/utilities/auth.spec.ts:30:16
tests/utilities/checks.spec.ts: src/utilities/hashEmail.ts#L27
Error: Missing HASH_PEPPER environment variable required for secure email hashing ❯ Module.hashEmail src/utilities/hashEmail.ts:27:11 ❯ createTestUser tests/helpers/userAndOrg.ts:23:23 ❯ Module.createTestUserAndOrganization tests/helpers/userAndOrg.ts:107:26 ❯ Module.createVolunteerAndActions tests/helpers/volunteers.ts:120:46 ❯ tests/utilities/checks.spec.ts:64:11
tests/utilities/createSampleOrganizationUtil.spec.ts > generateUserData function > should return correct properties given ADMIN userType and organization Id: src/utilities/hashEmail.ts#L27
Error: Missing HASH_PEPPER environment variable required for secure email hashing ❯ Module.hashEmail src/utilities/hashEmail.ts:27:11 ❯ Module.generateUserData src/utilities/createSampleOrganizationUtil.ts:48:23 ❯ tests/utilities/createSampleOrganizationUtil.spec.ts:28:28
tests/utilities/createSampleOrganizationUtil.spec.ts > generateUserData function > should return User with correct properties: src/utilities/hashEmail.ts#L27
Error: Missing HASH_PEPPER environment variable required for secure email hashing ❯ Module.hashEmail src/utilities/hashEmail.ts:27:11 ❯ Module.generateUserData src/utilities/createSampleOrganizationUtil.ts:48:23 ❯ tests/utilities/createSampleOrganizationUtil.spec.ts:49:28
tests/utilities/createSampleOrganizationUtil.spec.ts > generateUserData function > should return Event with correct properties: src/utilities/hashEmail.ts#L27
Error: Missing HASH_PEPPER environment variable required for secure email hashing ❯ Module.hashEmail src/utilities/hashEmail.ts:27:11 ❯ Module.generateUserData src/utilities/createSampleOrganizationUtil.ts:48:23 ❯ tests/utilities/createSampleOrganizationUtil.spec.ts:70:13
tests/utilities/createSampleOrganizationUtil.spec.ts > generatePostData function > should return Post with the correct properties: src/utilities/hashEmail.ts#L27
Error: Missing HASH_PEPPER environment variable required for secure email hashing ❯ Module.hashEmail src/utilities/hashEmail.ts:27:11 ❯ Module.generateUserData src/utilities/createSampleOrganizationUtil.ts:48:23 ❯ tests/utilities/createSampleOrganizationUtil.spec.ts:98:13
tests/utilities/createSampleOrganizationUtil.spec.ts > generatePostData function > generateRandomPlugins function > should generate and save the specified number of plugins with correct properties: src/utilities/hashEmail.ts#L27
Error: Missing HASH_PEPPER environment variable required for secure email hashing ❯ Module.hashEmail src/utilities/hashEmail.ts:27:11 ❯ Module.generateUserData src/utilities/createSampleOrganizationUtil.ts:48:23 ❯ tests/utilities/createSampleOrganizationUtil.spec.ts:126:15
tests/utilities/encryptionModule.spec.ts > encryptionModule > encryptEmail and decryptEmail > should encrypt and decrypt an email correctly: src/utilities/encryption.ts#L37
Error: Encryption key is not defined. ❯ Module.encryptEmail src/utilities/encryption.ts:37:11 ❯ tests/utilities/encryptionModule.spec.ts:36:38
tests/utilities/encryptionModule.spec.ts > encryptionModule > encryptEmail and decryptEmail > should handle email addresses with special characters: src/utilities/encryption.ts#L39
Error: Encryption key must be a valid 256-bit hexadecimal string (64 characters). ❯ Module.encryptEmail src/utilities/encryption.ts:39:11 ❯ tests/utilities/encryptionModule.spec.ts:59:25