Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update TRSS sync script #856

Closed
smlambert opened this issue Mar 25, 2024 · 4 comments · Fixed by #868
Closed

Update TRSS sync script #856

smlambert opened this issue Mar 25, 2024 · 4 comments · Fixed by #868
Assignees

Comments

@smlambert
Copy link
Contributor

From the work that took place under #404 and the shift to running TRSS & its components inside of containers, we need to update the TRSS synch script / job.

The script is here and the ci.adoptium.net job is here.

We can update the script to stop docker, run the git pull / update and then start docker again (see instructions here).

@sxa
Copy link
Member

sxa commented Apr 5, 2024

Noting that, at present, the new TRSS machine is not connected to jenkins. If you need me to assist with that let me know (I only realised that today as I disconnected the old one which isn't there any more after seeing errors in the jenkins system log)

@smlambert
Copy link
Contributor Author

Run locally and see that sometimes npm run docker-down doesn't always shut everything down. Think it may be good to update the package.json file L9 to:

"docker-down": "docker compose down --remove-orphans",

@smlambert smlambert moved this from Todo to In Progress in 2024 2Q Adoptium Plan Apr 6, 2024
@sxa
Copy link
Member

sxa commented Apr 8, 2024

Run locally and see that sometimes npm run docker-down doesn't always shut everything down.

Yeah I've noted that in the message you get when you log into the Adoptium TRSS. I've definitely had to issue manual docker stop operations before.

@smlambert
Copy link
Contributor Author

I have updated the package.json file in #868, so now orphans will get cleaned up, so will not expect future issues with things hanging open after docker-down. That sync script has been run manually on the machine. Once trss.adoptium.net is added to Jenkins, I will update the sync job in Jenkins to run weekly.

@smlambert smlambert self-assigned this May 1, 2024
@smlambert smlambert moved this to In Progress in 2024 3Q Adoptium Plan Jul 3, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in 2024 3Q Adoptium Plan Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants