-
Notifications
You must be signed in to change notification settings - Fork 325
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #674 from wireapp/release/2019-03-25
- Loading branch information
Showing
160 changed files
with
4,910 additions
and
1,967 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
A makefile that uses docker.io, and qemu-user-static to build dependencies for our integration tests. | ||
|
||
Builds and uploadsdocker images for multiple architectures. Allows for '-j' to build multiple images at once. Uploads assume the hub.docker.com docker registry. | ||
|
||
# Setup | ||
|
||
## Docker | ||
|
||
Follow the instructions in [our dependencies file](doc/Dependencies.md) to ensure you have docker installed, and logged in. | ||
|
||
## qemu | ||
|
||
### Debian | ||
|
||
|
||
```bash | ||
apt-get install qemu-user-static | ||
sudo service binfmt-support start | ||
``` | ||
|
||
### Fedora | ||
|
||
'sudo dnf install -y qemu-user-static' | ||
|
||
# Using | ||
|
||
Assuming you have docker, and have followed the above instructions, "make build-all" should work. This builds all of the images, and places them in docker on the local machine. | ||
to build an individual image (and it's dependent images), run "make-<imagename>". to see a list of images that are buildable, run "make names". | ||
|
||
## Using with Dockerhub | ||
|
||
If you want to upload images to dockerhub, you must go to dockerhub, and create repositories under your user with the names of the images you want to upload. use `make names` to get the list of buildable images. | ||
|
||
If you don't want to change the Makefile, add the DOCKER_USERNAME, DOCKER_EMAIL, and DOCKER_REALNAME environment variables. | ||
|
||
For instance, when I want to build all debian images, and upload them to dockerhub I use: | ||
```bash | ||
make DIST=DEBIAN DOCKER_USERNAME=julialongtin [email protected] DOCKER_REALNAME='Julia Longtin' push-all | ||
``` | ||
|
||
You can also push a single image (and it's dependent images) with "make push-<imagename>". | ||
|
||
If you want your builds to go faster, and are okay with having interleaved output from multiple builds, use the '-j' argument to make, to parallize the builds. '-j' can take an integer argument for the number of threads you want it to run at once, or no argument for 'all of the things you can figure out how to do at once'. | ||
|
||
By default this makefile builds and uploads the debian based images. Use the 'DIST=ALPINE' environment variable to build the alpine based images instead. | ||
|
||
# Troubleshooting: | ||
## binfmt support: | ||
|
||
examine the following file, and ensure the 'flags:' line has an "F" flag on it: | ||
cat /proc/sys/fs/binfmt_misc/qemu-arm | grep flags | ||
|
||
if it doesn't, try re-starting binfmt-support on debian. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,6 @@ aws: | |
settings: | ||
maxTotalBytes: 27262976 | ||
downloadLinkTTL: 300 # Seconds | ||
|
||
logLevel: Info | ||
logNetStrings: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,6 @@ aws: | |
settings: | ||
maxTotalBytes: 27262976 | ||
downloadLinkTTL: 300 # Seconds | ||
|
||
logLevel: Info | ||
logNetStrings: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
(incomplete) | ||
|
||
# Reference documentation | ||
|
||
What you need to know as a user of the Wire backend: concepts, features, and API. | ||
|
||
## Users | ||
|
||
We support the following functionality related to users and user profiles: | ||
|
||
* [Rich info](reference/user/rich-info.md) `{#RefRichInfo}` | ||
* TODO | ||
|
||
## Provisioning | ||
|
||
We have support for provisioning users via SCIM ([RFC 7664][], [RFC 7643][]). It's in the beta stage. | ||
|
||
[RFC 7664]: https://tools.ietf.org/html/rfc7664 | ||
[RFC 7643]: https://tools.ietf.org/html/rfc7643 | ||
|
||
* [Using the SCIM API with curl](reference/provisioning/scim-via-curl.md) `{#RefScimViaCurl}` | ||
* TODO | ||
|
||
# Developer documentation | ||
|
||
What you need to know as a Wire backend developer. All of these documents can and should be referenced in the code. | ||
|
||
* [Development setup](developer/dependencies.md) `{#DevDeps}` | ||
* TODO |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<?xml version="1.0" encoding="UTF-8"?><mxfile userAgent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36" version="8.5.15" editor="www.draw.io"><diagram id="97eeb785-4a3e-bce8-b2c8-d474cc0a017c" name="Page-1">7Vxtc5s4EP41/lgPSIDhY/PS3s20ndy5M9d8upFBwbpi5AG5tu/XnwQSRginuIaQc5zMZNAiCXie3dVqWTKBt6vdxwytl59phJMJsKLdBN5NAAgCyP8Kwb4U2L7vlZI4I5GUHQRz8i+WQktKNyTCudaRUZowstaFIU1THDJNhrKMbvVuTzTRr7pGMTYE8xAlpvQvErFlKfXB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bmUmrC3qgNTBoDXlsQZfiHd6V2vMDfl/fm1Z29ALcguEyHiqv8c6aWqCSNHKX3VMbnfJhryq7Ub0nr6U3VeTc+0aDI4D2tQ5rEffnhiqcFvgDM5WxyEh8Nfo+dhz+eEZv5lBilCT4ulD3QKznjUisWTwSC1cdfr8y20No7TeYfcEYrKWE5Zm90z1fBjmic4yycHnJ1A+zh3JVEnSEPRQwk0E1oq9MnuiMZyMyaaaYHunmq/BVhsHO15SRp33LCRFq3yZ0E5nnPlIac00A1me0vqBMSSieNp+uM/IDMe7ci4cfRDsCXTkc3yxKdFuSvrCHXBgwc2Fzfjd8nFWw/SGjMm1/5fS0zfRsNh6pZv5rfj8vWZ3/IQ/u9ila0bsb056/4N2KmuKvW5IQetWFX9ljuePpgpk0m3+p68KVztPjb69Bp/mWbig61Rw1OtOYpLseeWziu8pDhKcFaRzcHE9jju8W7U3KqzehTdB/XQV++uaq1Ik+jNTX32OrZp3UlhdSbh+kmumtEKWcjsuxzvF2y7Y1Gy8RAgepYtHr3IFegDvREtygaxX8gOW16juD11LIDi++jMS2YLOQpK12C5hK79huDwCbuYMLA9h3RsX3rReNqAG2r9MAHJOGoapIoLlzflvVUsdIeMnyKWjudM0F1/hMocaD5jJE4wExQWIZfFjOxHgV3PXF7HOfxBwvR+2ynAYty2nQmbaO8ey55aW+vuWFQYPtruWlHmxM5DQm6q+8FJpb5Qtbthy1JD2zbEG1uvReX+q02OYgwfAI8a7BQZvN9l7EHUA9yQibnyR1tbJmPAMCfygrczpE362VNG01PY1ynoL97gyZH2mO5S6bhmng39ld6jx6vXlL3jz874my++EffMD7/wA=</diagram></mxfile> | ||
<mxfile modified="2019-03-05T12:19:04.858Z" host="www.draw.io" agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.96 Safari/537.36" version="10.3.2" etag="wqgw6m7A8E-uy8NE5ST1" type="device"><diagram id="97eeb785-4a3e-bce8-b2c8-d474cc0a017c" name="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5Oht70xeBp1Ln5ubiEf2t1Fnm0+9PmvV/PvuvIVPK9CmnZ7Y4NKfRX1ZD3FZqqUT/uK9Rz+N7/9Q/EG5r+qoUoVrGdm2zbNseix9XLGvVDdd3T9eZUXmOqHeq+u4hMfSdd13TlM2+ltpiyW2PS4r+EtPcUY02zRW8BNOcVyVGWLpb6weodC9mrlAQA3tzOxxqbWqM5W3vhrAcYe42vHLYO5dYkYylFl3+IX7PkbYFH+uS0Z/r59jv98y24z/d8mpt6Gz5q8u2WsYpQKo9R9TTE/I/NSx+0a3SkY3as8XD7gGqxkev0MvpG50PvUdsOx9LtNOg+ZZ2emu69xXvny3lfCu2Ki6Iei7poc/tv+gqnsf1niODmfw==</diagram></mxfile> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.