Opened 7 years ago

Closed 6 years ago

Last modified 6 years ago

#1047 closed defect (fixed)

Model Marketplace is not updating

Reported by: butler Owned by: butler
Priority: major Milestone: SasView 4.2.0
Component: sasmodels Markeplace Keywords:
Cc: Work Package: SasModels Marketplace

Description

The Model Marketplace is supposed to automatically update whenever a change to a model is pushed to master. This has not been happening and needs to be investigated.

Change History (6)

comment:1 Changed 7 years ago by pkienzle

  • Priority changed from major to blocker

The failed marketplace update is causing the travis build of sasmodels master to raise an error.

deploy.sh is raising the following error:

+[ [secure] ]
+ssh-agent -s
+eval SSH_AUTH_SOCK=/tmp/ssh-ZXofcz3OlHPm/agent.4619; export SSH_AUTH_SOCK;
SSH_AGENT_PID=4620; export SSH_AGENT_PID;
echo Agent pid 4620;
+SSH_AUTH_SOCK=/tmp/ssh-ZXofcz3OlHPm/agent.4619
+export SSH_AUTH_SOCK
+SSH_AGENT_PID=4620
+export SSH_AGENT_PID
+echo Agent pid 4620
Agent pid 4620
+chmod 600 .travis/travis_rsa
+ssh-add .travis/travis_rsa
Identity added: .travis/travis_rsa (.travis/travis_rsa)
+git remote add deploy git@danse.chem.utk.edu:/home/git/sasmodels
+git push deploy master
Warning: Permanently added 'danse.chem.utk.edu,160.36.200.68' (RSA) to the list of known hosts.
error: Could not read f728001e783d4f2cad1f52bfa5374c457648c268
To danse.chem.utk.edu:/home/git/sasmodels
 ! [remote rejected] master -> master (shallow update not allowed)
error: failed to push some refs to 'git@danse.chem.utk.edu:/home/git/sasmodels'
Script failed with status 1

comment:2 Changed 7 years ago by butler

  • Priority changed from blocker to major

comment:3 Changed 7 years ago by butler

  • Milestone changed from SasView 4.2.0 to SasView 4.3.0

comment:4 Changed 6 years ago by tim

  • Owner set to butler
  • Status changed from new to assigned

Where was this being noticed?

If it was on GitHub? then I've sorted that, if it was on the danse server then I'll need to look into that separately.

comment:5 Changed 6 years ago by butler

  • Resolution set to fixed
  • Status changed from assigned to closed

Tim Snow claims models were never being pushed to the marketplace when changes were made. He now has a script that could run as a cron job that pulls all models on github master and creates new ones and updates others.

The error noted by Paul Kienzle is separate, and is about deploying market place code change to the server. Running the script manually from the DANSE server side will cause the above error because Github holds the credentials (RSA key), but if triggered by travis is now working without errors. Closing this for now.

comment:6 Changed 6 years ago by butler

  • Milestone changed from SasView 4.3.0 to SasView 4.2.0

Moved from 4.2 to 4.3 too quickly apparently — it was in fact fixed for 4.2 .. though not directly related to the distributed package it was used to finalize 4.2 work on getting models updated in the marketplace.

Note: See TracTickets for help on using tickets.