Open jgreidy opened 2 months ago
I did 2 things - not sure which caused the Jenkins script to work again:
added a remote on my local copy of ci-jenkins-pantheon-wordpress with git remote add pantheon-wordpress https://github.com/pantheon-systems/WordPress.git
Went on the new jenkins server to /cul/data/jenkins/workspace/ci-jenkins-pantheon-wordpress and tried git status. I got the error message `fatal: detected dubious ownership in repository at '/cul/data/jenkins/workspace/ci-jenkins-pantheon-wordpress' To add an exception for this directory, call:
git config --global --add safe.directory /cul/data/jenkins/workspace/ci-jenkins-pantheon-wordpress ` so I ran that git config command.
new jenkins server is aws-108-102.internal.library.cornell.edu
I just removed the upstream from my local copy of this repo. Having my local connected like this seems to push code changes to Pantheon before Jenkins is involved at all., The changes show up as a new upstream on Pantheon.
I'm trying to test the upstream building process again. I made a new version 'origin/release/v2.7.8' and pushed that to github. Jenkins ran, created upstream ci-774, then deleted it. No new upstream appears on Pantheon. Now I make a PR to merge this branch into master.
I merge the PR (all checks have passed due to the previous push and jenkins test run). Jenkins runs again. Builds multidev 'ci-775'
Merging multi-dev changes to master
(this is in the Jenkins script)
then the jenkins script finishes SUCCESS
[notice] Merged the ci-775 environment into dev.
and it deletes the multidev ci-775
at this point I can see the new upstream comment 'wordpress - generate a new version for test (#184) ' here: https://dashboard.pantheon.io/sites/0658f75c-a906-4cc2-9c57-44a8177e65e5#getupstream
I make a clone of uls-upstream-test getupstream multidev without merging the new upstream. In the clone I see CHANGELOG.md starts with
Now I apply the update on Pantheon
Before I pull the updated code into my clone, I can see the updated code in my clone.
After I pull the new code, the getupstream branch moves to the top, and the updated code is still there. I can see it in CHANGELOG.md also.
I run the composer install.
The composer install added the new version of cul-it/wp-rss-aggregator from yesterday's updates. I commit the changes to my local clone and push to Pantheon getupstream multidev. The site seems to be working.
The jenkins script https://jenkins.library.cornell.edu/job/ci-jenkins-pantheon-wordpress/ creates a multidev environment in https://dashboard.pantheon.io/sites/a700ef3d-b210-44c1-8563-68a10650aa74#multidev but does not copy the new code into the environment.