pantheon-systems / terminus-build-tools-plugin

Manage multidev environments for a Pantheon site using a GitHub PR workflow.
82 stars 68 forks source link

sudden issue running terminus build:env:push from circleCI #477

Open Sk8rSeth opened 1 year ago

Sk8rSeth commented 1 year ago

When pushing a new commit to github, and having circleCI deploy that to pantheon, i am getting a timeout error, where i wasnt getting any errors yesterday. as far as i can tell nothing has changed between yesterday and today, just updated a random php template file and suddenly it always fails to deploy, even if i roll back that commit.

i have no idea what changed, as ive never needed a password before as far as i can tell. any help would be greatly appreciated

also the pantheon dev site is in git mode, and the domain is all correct in the push variables

here is the output of the deploy script after running terminus build:env:push


Switched to a new branch 'master'
M   .gitignore
D   web/app/uploads/.gitignore
D   web/app/uploads/.gitkeep
 [notice] Running git -C /home/circleci/bedrock add --force -A .
 [notice] Running git -C /home/circleci/bedrock commit -q -m 'Build assets for dev.'
 [notice] Running git -C /home/circleci/bedrock push --force -q pantheon master
codeserver.dev.{{REDACTED-Domain}}@codeserver.dev.{{REDACTED-Domain}}.drush.in's password: 

Too long with no output (exceeded 10m0s): context deadline exceeded```
Sk8rSeth commented 1 year ago

here is that same section of output from the last successful deploy from circleCI yesterday;


Switched to a new branch 'master'
M   .gitignore
D   web/app/uploads/.gitignore
D   web/app/uploads/.gitkeep
 [notice] Running git -C /home/circleci/bedrock add --force -A .
 [notice] Running git -C /home/circleci/bedrock commit -q -m 'Build assets for dev.'
 [notice] Running git -C /home/circleci/bedrock push --force -q pantheon master
 [notice] Workflow 'Sync code on dev' running.
 [notice] Workflow 'Sync code on dev' running.
 [notice] Workflow 'Sync code on dev' running.
 [notice] Workflow 'Sync code on dev' running.
 [notice] Workflow 'Sync code on dev' succeeded.
 [notice] Workflow succeeded```
greg-1-anderson commented 1 year ago

@Sk8rSeth Perhaps your ssh key expired, or was revoked. If you build your site with terminus build:project:create, try terminus build:project:repair and see if that fixes it. Otherwise, make a new ssh key. Add the private key to CircleCI, and the public key to Pantheon. That should get your build working again.