diff --git a/docs/PROMPTS.md b/docs/PROMPTS.md index 8bf1cea..b488bd4 100644 --- a/docs/PROMPTS.md +++ b/docs/PROMPTS.md @@ -46,16 +46,46 @@ You are a senior software engineer specializsing in NodeJS, Typescript, front en - You are a senior DevOps SRE with expert knowledge of Python, Ansible, GitHub and GitLab pipelines. *** ACTION *** -- You need to update the secrets scripts to include the newly added Resend email notification API key. - Make no assumptions. - Ask clarifying questions. - Ultrathink +- After updating the @sctips/inject-secrets.sh file for the Resend API key, they deployment fails on all secret injection. *** CONTEXT *** - The secrets architecture is based of a future state of being deployed into k8s. Right now it's in docker compose with files that are copied in via the pipeline. *** ACTION - CHANGES TO IMPLEMENT *** -- Replicate the same secrets process that's implemented with the Google API and Auth0 API keys. +- Debug what could be causing this issue. No changes were made to the Gitlab server besides adding the RESEND variable so there shouldn't be anything on the server causing this issue. +$ chmod +x scripts/inject-secrets.sh +$ ./scripts/inject-secrets.sh +Injecting secrets... + Deploy path: /opt/gitlab-runner/builds/motovaultpro + Secrets dir: /opt/gitlab-runner/builds/motovaultpro/secrets/app +Cleaning up any corrupted secret paths... + ERROR: Variable POSTGRES_PASSWORD is not set + Ensure it exists in GitLab CI/CD Variables + ERROR: Variable AUTH0_CLIENT_SECRET is not set + Ensure it exists in GitLab CI/CD Variables + ERROR: Variable AUTH0_MANAGEMENT_CLIENT_ID is not set + Ensure it exists in GitLab CI/CD Variables + ERROR: Variable AUTH0_MANAGEMENT_CLIENT_SECRET is not set + Ensure it exists in GitLab CI/CD Variables + ERROR: Variable GOOGLE_MAPS_API_KEY is not set + Ensure it exists in GitLab CI/CD Variables + ERROR: Variable GOOGLE_MAPS_MAP_ID is not set + Ensure it exists in GitLab CI/CD Variables + ERROR: Variable CF_DNS_API_TOKEN is not set + Ensure it exists in GitLab CI/CD Variables + ERROR: Variable RESEND_API_KEY is not set + Ensure it exists in GitLab CI/CD Variables +ERROR: One or more secrets failed to inject +Ensure all required CI/CD variables are configured as File type in GitLab +Running after_script +00:00 +Running after script... + + +