SAP-archive / techne

Design Guidelines, Components and Patterns Library for modern, mobile-first, user-centric Experience Design
https://techne.yaas.io
Apache License 2.0
40 stars 26 forks source link

Create new Bamboo deployment #617

Closed xak closed 7 years ago

xak commented 7 years ago

Right now we can simply deploy all pushes to v2.0 and serve the www directory. There is currently no deployment task, but I'll work on that. Ideally, we can set up the Bamboo deployment and then modify it later.

joseegm commented 7 years ago

Current situation

Two staging environments:

Pain points

  1. It seems like a complicated deployment, even for a static website, since it not always working and doesn't build automatically
  2. Bamboo jobs/worker are shared and are sometimes slow, sometimes shortly down
xak commented 7 years ago

@saadmhybris v2.0 branch now has a gulp task to build the website.

Run gulp docs-build --production and everything (CSS included) will be output to www. Any deployment can serve the contents of that directory.

Right now, there's not much to do except npm install and then the above command. That should do it. No bower deps yet. Also see README.md.

Let me know if anything needs clarification.

saad-mo commented 7 years ago

created a ticket for wookies here - https://jira.hybris.com/browse/WOO-9413

xak commented 7 years ago

I pinged the Lukaszes on this in JIRA.

xak commented 7 years ago

This is being worked on. The plan is to use Github pages instead of Hybris infrastructure for the 2.0 site. This will be backed with Travis to manage the build and pushes to the pages repo. Travis will enable us to institute rules for commits, have badges for dependencies, etc.

So the Techne documentation will live at http://sap.github.io/techne/. The README is set as the main page now with the site behind the www directory — http://sap.github.io/techne/www/. I will put an IN DEVELOPMENT warning at the top of the README directing users to 1.5.

I recommend keeping this issue open until Travis is active, even though we are not blocked from deployment ... we can push the site manually for now.

joseegm commented 7 years ago

Finally! Great!

It is there a deployment process documented -or a task- other than gulp docs-build --production somewhere?

Are we using our own instance of travis? Or something like Circle CI?

xak commented 7 years ago

See JIRA for additional details. https://jira.hybris.com/browse/WOO-9413

joseegm commented 7 years ago

Then this one can be closed. Automation can be treated in a different issue, since it requires some config for Travis.