-
Notifications
You must be signed in to change notification settings - Fork 3
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 the rooms playbook #9
Conversation
chereseeriepa
commented
Nov 16, 2022
- move rooms2 into rooms.yml and ssb-room2 into ssb-roon
docker exec go-ssb-room cmd/insert-user/insert-user -repo {{ room_repo_location }} -role member -password {{ member_password }} {{ graphql_key }} | ||
ignore_errors: yes | ||
|
||
# docker-compose exec -T go-ssb-room cmd/insert-user/insert-user -repo {{ room_repo_location }} -role member -password {{ member_password }} {{ graphql_key }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rm
@@ -0,0 +1,5 @@ | |||
--- | |||
# - include: frontend.yml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to uncomment these, these are all steps for deployment and shouldnt be run when updating a deployment.
NOTE: frontend.yml isnt needed yet. There are still steps that one needs in order to work, we can use the vue files already on the rooms repo instead
roles/ssb-room2/defaults/main.yml
Outdated
blobs_endpoint: http://localhost:26835 | ||
blobs_dir: /get | ||
room_repo_location: /ssb-go-room-secrets | ||
member_password: admin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥
TODO: move this to a prompt or something. This is what sets the password for the graphql servers login to the room
|
||
- name: Add graphql key as a room member | ||
shell: | | ||
docker exec go-ssb-room cmd/insert-user/insert-user -repo {{ room_repo_location }} -role member -password {{ member_password }} {{ graphql_key }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥
Maybe make the graphql user an admin?
executable: /bin/bash | ||
|
||
|
||
# TODO: copy dist over to go-ssb-room/web/assets |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
repo: https://github.com/planetary-social/go-ssb-room.git | ||
dest: go-ssb-room | ||
force: yes | ||
version: vue |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥 this is checking out a branch because thats where all the work for the frontend currently is, just note the frontend files on this branch need to be rebuilt for every room planetary-social/go-ssb-room#3 as they require their own environment variables
blobs_endpoint: http://localhost:26835 | ||
blobs_dir: /get | ||
room_repo_location: /ssb-go-room-secrets | ||
member_password: admin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing magic_token=???
each room needs to have their own magic token
Closing as this has now been done in #12 |