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

Configure CI builds and deployment using our own SSL #27

Closed
jakubgs opened this issue Mar 29, 2022 · 6 comments · Fixed by #55
Closed

Configure CI builds and deployment using our own SSL #27

jakubgs opened this issue Mar 29, 2022 · 6 comments · Fixed by #55
Assignees
Labels

Comments

@jakubgs
Copy link
Member

jakubgs commented Mar 29, 2022

We'll need to build this using Jenkins and deploy it to our own Caddy-Git setup to use our own SSL certificate.

Hard deadline is start of Status off-site so 22nd of April 2022.

@jakubgs jakubgs added the ci label Mar 29, 2022
@jakubgs jakubgs self-assigned this Mar 29, 2022
@jakubgs
Copy link
Member Author

jakubgs commented Apr 14, 2022

It appears the way to support multiple languages with mkdocs is using this approach:
squidfunk/mkdocs-material#2346

Another option would be using this, but it doesn't support material yet:
https://github.com/ultrabug/mkdocs-static-i18n

@jakubgs
Copy link
Member Author

jakubgs commented Apr 14, 2022

I noticed the generated folder has been committed to the repo:

 > du -hsc generated 
5.3M    generated
5.3M    total

https://github.com/status-im/help.status.im/tree/2056e2485d7d05076a652551a5fd21ad92c66bcb/generated

So I've rewrote the history for develop branch to drop all additions of generated folder and files. And added to .gitignore:

generated

Much nicer:
image

@jakubgs
Copy link
Member Author

jakubgs commented Apr 14, 2022

Here's the change: #55

jakubgs added a commit that referenced this issue Apr 14, 2022
This adds CI builds for both main branches:

* `develop` built by [CI job](https://ci.status.im/job/website/job/dev-help.status.im/) to publish to https://dev-help.status.im/
* `master` built by [CI job](https://ci.status.im/job/website/job/help.status.im/) to publish to https://help.status.im/

Changes should be made against `develop` and then once ready `master`
should be rebased on `develop` to push the changes to the main site.

Resolves: #27

Signed-off-by: Jakub Sokołowski <[email protected]>
@jakubgs
Copy link
Member Author

jakubgs commented Apr 14, 2022

And here's the DNS changes: https://github.com/status-im/infra-misc/commit/305f9445

jakubgs added a commit that referenced this issue Apr 14, 2022
This adds CI builds for both main branches:

* `develop` built by [CI job](https://ci.status.im/job/website/job/dev-help.status.im/) to publish to https://dev-help.status.im/
* `master` built by [CI job](https://ci.status.im/job/website/job/help.status.im/) to publish to https://help.status.im/

Changes should be made against `develop` and then once ready `master`
should be rebased on `develop` to push the changes to the main site.

Related: status-im/infra-misc@305f9445
Resolves: #27

Signed-off-by: Jakub Sokołowski <[email protected]>
jakubgs added a commit that referenced this issue Apr 14, 2022
This adds CI builds for both main branches:

* `develop` built by [CI job](https://ci.status.im/job/website/job/dev-help.status.im/) to publish to https://dev-help.status.im/
* `master` built by [CI job](https://ci.status.im/job/website/job/help.status.im/) to publish to https://help.status.im/

Changes should be made against `develop` and then once ready `master`
should be rebased on `develop` to push the changes to the main site.

Related: status-im/infra-misc@305f9445
Resolves: #27

Signed-off-by: Jakub Sokołowski <[email protected]>
@jakubgs
Copy link
Member Author

jakubgs commented Apr 14, 2022

Once the PR is merged I will fix the master branch to be based off of the current cleaned up develop.

jakubgs added a commit that referenced this issue Apr 22, 2022
This adds CI builds for both main branches:

* `develop` built by [CI job](https://ci.status.im/job/website/job/dev-help.status.im/) to publish to https://dev-help.status.im/
* `master` built by [CI job](https://ci.status.im/job/website/job/help.status.im/) to publish to https://help.status.im/

Changes should be made against `develop` and then once ready `master`
should be rebased on `develop` to push the changes to the main site.

Related: status-im/infra-misc@305f9445
Resolves: #27

Signed-off-by: Jakub Sokołowski <[email protected]>
jorge-campo pushed a commit that referenced this issue Apr 22, 2022
This adds CI builds for both main branches:

* `develop` built by [CI job](https://ci.status.im/job/website/job/dev-help.status.im/) to publish to https://dev-help.status.im/
* `master` built by [CI job](https://ci.status.im/job/website/job/help.status.im/) to publish to https://help.status.im/

Changes should be made against `develop` and then once ready `master`
should be rebased on `develop` to push the changes to the main site.

Related: status-im/infra-misc@305f9445
Resolves: #27

Signed-off-by: Jakub Sokołowski <[email protected]>
@jakubgs
Copy link
Member Author

jakubgs commented Apr 22, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant