Skip to content

[WIP] Add sandstorm back to our Circle CI#9663

Closed
geekgonecrazy wants to merge 6 commits into
developfrom
add-sandstorm-build-back
Closed

[WIP] Add sandstorm back to our Circle CI#9663
geekgonecrazy wants to merge 6 commits into
developfrom
add-sandstorm-build-back

Conversation

@geekgonecrazy

Copy link
Copy Markdown
Contributor

We've had some requests to get sandstorm builds back up and going.

I'm wondering if we should change the build to make use of our bundle instead of building all over again...

If not we should probably try to parallelize the build of sandstorm and regular build

@engelgabriel engelgabriel temporarily deployed to rocket-chat-pr-9663 February 9, 2018 19:04 Inactive
@ocdtrekkie

Copy link
Copy Markdown
Contributor

I'm just gonna /sub here. I might be able to answer a question or two if a Sandstorm-ish question crops up.

@urakagi

urakagi commented Apr 26, 2018

Copy link
Copy Markdown

Hi, is the team stuck up here about releasing a new version rocket.chat sandstorm app including #9062?

@geekgonecrazy

geekgonecrazy commented Apr 26, 2018

Copy link
Copy Markdown
Contributor Author

@urakagi if you take a look at commits this is just adding back to CI. The code was never removed. The issue now is making sure it builds properly with the CI and can resume publishing. It was removed a while ago due to some issues building. So if you have experience making this work. We definitely are open to contributions.

The idea behind sandstorm is a really great one. Unfortunately not had time to really dig deep and get as familiar as I'd like.

@ocdtrekkie

Copy link
Copy Markdown
Contributor

What version of Meteor is Rocket.Chat currently using? That's likely to be one of the blockers here since this is packaged for Sandstorm using vagrant-spk. I can look into figuring out which meteor-spk tool you need and how to get that back into vagrant-spk.

Additionally, the Vagrantfile calls for an old base image that's no longer available. This one's an easy fix, but there's definitely a few changes that will need to happen in your .sandstorm folder before it'll work.

@geekgonecrazy

Copy link
Copy Markdown
Contributor Author

We're up to latest meteor version I think if not close

https://github.com/RocketChat/Rocket.Chat/blob/develop/.meteor/release#L1

Meteor 1.6.1.1

@ocdtrekkie

Copy link
Copy Markdown
Contributor

Alright, I'll look into it and get back to this issue on the status of packaging working for Meteor 1.6.1.1.

@ocdtrekkie

Copy link
Copy Markdown
Contributor

Current status: meteor-spk has been updated and confirmed to work with Meteor 1.6.1.1.

Next steps:

  • I need to update vagrant-spk's meteor stack to use the new version of meteor-spk.
  • I will create a PR to update the /,sandstorm directory of Rocket.Chat to use the updated configurations.
  • Then we test whether or not Rocket.Chat builds correctly with it.

@ocdtrekkie

Copy link
Copy Markdown
Contributor

This PR updates vagrant-spk's meteor stack to use the new version of meteor-spk: sandstorm-io/vagrant-spk#231

The next part of this will entail updating Rocket.Chat's /.sandstorm directory with the updated scripts. (Both from this pull request and other changes to the Vagrantfile and global-setup.sh required for it to run correctly.)

@engelgabriel engelgabriel temporarily deployed to rocket-chat-pr-9663 May 28, 2018 15:26 Inactive
@ocdtrekkie

Copy link
Copy Markdown
Contributor

Hmmm, I was hoping to see if any remaining errors cropped up, but that Heroku link does gives an application error at the moment.

@engelgabriel engelgabriel temporarily deployed to rocket-chat-pr-9663 May 30, 2018 06:30 Inactive
@engelgabriel engelgabriel temporarily deployed to rocket-chat-pr-9663 June 4, 2018 07:54 Inactive
@engelgabriel

Copy link
Copy Markdown
Member

@peterlee0127 we would love to make our circle ci to update the sandstorm marketplace, can you help?

@engelgabriel

Copy link
Copy Markdown
Member

This also helped: #11056

@engelgabriel engelgabriel changed the title [WIP] Add sandstorm back to ci [WIP] Add sandstorm back to our Circle CI Jun 8, 2018
@peterlee0127

Copy link
Copy Markdown
Contributor

#11056 will help current develop branch to build Rocket.Chat for Sandstorm normally.
With the vagrant-spk, Vagrant, VirtualBox, you can
$ sudo vagrant-spk vm up
$ sudo vagrant-spk dev
If the build successful, you can open browser to localhost:6080.

What's the current status of CI build ?

@GustavoMarcante

Copy link
Copy Markdown

Any news?
Sandstorm site shows "version 0.53.0-develop, last updated 2017 Feb 21".

@peterlee0127

Copy link
Copy Markdown
Contributor

@GustavoMarcante
Still need time to fix.
If you need newer version. You can try this build.
1: Update 0.61.0-develop.
2: Fix mobile app push notification.
https://github.com/peterlee0127/RocketChat-for-Sandstorm

@ocdtrekkie

Copy link
Copy Markdown
Contributor

Yeah, I'd like to know where the CI testing failed out, because I'd like to get this updated.

@peterlee0127 Is it possible to contribute the mobile app push notification fix/Powerbox support to the main Rocket.Chat project?

@peterlee0127

Copy link
Copy Markdown
Contributor

@ocdtrekkie
Please try it.
peterlee0127@523f983
https://github.com/peterlee0127/Rocket.Chat/commits/sandstorm_0.59.3
You can find patch for it. Sorry it is so much commits.
About Powerbox in Sandstorm. https://docs.sandstorm.io/en/latest/developing/powerbox/

But I think adding powerbox to Rocket.Chat may let the code become more complex.
Like my patch for fix push notifications. It will need a UI for user 'Ask User is agree to let grain to send to https://gateway.rocket.chat'
screen shot 2018-07-06 at 10 56 07 pm
Then, it generate the token, these token can let the outing network can pass to Rocket.Chat's server.
It means every out going traffic will need user's permission. Like a external bot, services will need a different token to pass Sandstorm.
I think it's still difficult to do it perfectly. If Sandstorm can open a white list for Rocket.Chat, it should be easily and possible solution.

@raarts

raarts commented Aug 13, 2018

Copy link
Copy Markdown

Hi. I'm following this issue, and want to implement Rocket.Chat within Sandstorm. It's not clear to me what exactly is remaining for this issue to be resolved, can anybody summarize for me? Am I right in assuming sandstorm needs to be changed for allowing notifications?

@RobJamesRamos

RobJamesRamos commented Jun 7, 2019

Copy link
Copy Markdown

Is there still progress being made on this? Is there specific work that still needs to be done? I really would like to see an up to date rocket.chat on sandstorm.

@claassistantio

claassistantio commented Dec 14, 2019

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@geekgonecrazy

Copy link
Copy Markdown
Contributor Author

I'm going to go ahead and close this. If someone else wants to pick it up feel free.

@geekgonecrazy geekgonecrazy deleted the add-sandstorm-build-back branch February 6, 2020 21:59
@RobJamesRamos

Copy link
Copy Markdown

Very disappointing, but i guess expected.

@ocdtrekkie

Copy link
Copy Markdown
Contributor

FWIW, a PR with nobody taking the reins isn’t getting us anywhere. Hopefully with Sandstorm development picking up again someone will be interested in updating the Sandstorm package again someday soon.

@geekgonecrazy

Copy link
Copy Markdown
Contributor Author

Yeah as much as i'd love to finish this one out my self.. I don't personally run sandstorm, i've only played with it a few times in a VM. I love the concept, if development takes off again and there is enough demand for I will gladly help invest time in it.

For that matter if anyone else wants to take point on this I will gladly help them out. @aaron.ogle on open.rocket.chat. I just can't really drive it forward my self right now

@peterlee0127

peterlee0127 commented Feb 7, 2020

Copy link
Copy Markdown
Contributor

Sorry for that. Because my organization already migrate sandstorm version to standalone Rocket.Chat.
Due to sandstorm design, there are so many things need to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants