• Home
  • Raw
  • Download

Lines Matching +full:windows +full:- +full:docker +full:- +full:msvc

4 One-Time Setup
5 --------------
11 Conscrypt is built on Linux, Mac, and Windows, so ensure you have access to machines
16 * Windows Server 2016
22 <!-- TODO(flooey): Expand and link these, there's probably more -->
23 * Linux: [Docker](https://www.docker.com/), [Android SDK](https://developer.android.com/studio/inde…
25 * Windows: MSVC, git, NASM, Java
31 - Follow the instructions on [this
32 page](http://central.sonatype.org/pages/ossrh-guide.html) to set up an
34 - You only need to create the account, not set up a new project
35 - Contact a Conscrypt maintainer to add your account after you have created it.
36 - Install GnuPG and [generate your key
38 - [Publish your public key](https://www.gnupg.org/gph/en/manual.html#AEN464)
40 (e.g. `gpg --keyserver pgp.mit.edu --send-key <key ID>`).
53 signing.keyId=<8-character-public-key-id>
54 signing.password=<key-password>
55 signing.secretKeyRingFile=<your-home-directory>/.gnupg/secring.gpg
57 signingKeystore=<path-to-keystore>
58 signingPassword=<keystore-password>
60 ossrhUsername=<ossrh-username>
61 ossrhPassword=<ossrh-password>
66 -----------------------------
77 $ git checkout -b 1.0.x master
83 In the GitHub UI, go to Settings -> Branches and mark the new branch as
91 $ git checkout -b bump-version master
92 # Change version in build.gradle to X.Y+1-SNAPSHOT
93 $ git commit -a -m 'Start X.Y+1 development cycle'
98 --------------------
100 ### Cherry-pick changes from the master branch (optional)
102 Cherry-pick any desired master changes since the branch was created.
106 $ git cherry-pick <revision>
113 $ git commit -a -m 'Preparing version 1.0.0'
114 $ git tag -a 1.0.0 -m 'Version 1.0.0'
128 The deployment for Linux uses [Docker](https://www.docker.com/) running
135 $ docker build -t conscrypt-deploy release
137 1. Start a Docker container that has the deploy environment set up for you. The
141 $ docker run -it --rm=true conscrypt-deploy
146 container, remove `--rm=true` from the command line.
147 1. Copy your OSSRH credentials and GnuPG keys to your docker container. In Docker:
151 Find the container ID in your bash prompt, which is shown as `[root@<container-ID> ...]`.
154 $ docker cp ~/.gnupg <container-ID>:/root/
155 $ docker cp ~/.gradle/gradle.properties <container-ID>:/root/.gradle/
156 $ docker cp <path to cert keystore> <container-ID>:/root/certkeystore
165 $ ./gradlew conscrypt-openjdk:build
166 $ ./gradlew -Dorg.gradle.parallel=false publish
171 $ git log -n 1
174 form of `orgconscrypt-NNNN`.
176 ### Build the Windows OpenJDK Release
188 $ gradlew conscrypt-openjdk:build
189 $ gradlew conscrypt-openjdk:publish -Dorg.gradle.parallel=false -PrepositoryId=<repository-id>
192 ### Build the Mac and Windows OpenJDK Releases
206 $ ./gradlew conscrypt-openjdk:build
207 $ ./gradlew conscrypt-openjdk:publish -Dorg.gradle.parallel=false -PrepositoryId=<repository-id>
213 each supported build environment: linux-x86_64, osx-x86_64, windows-x86, and windows-x86_64.
218 (http://central.sonatype.org/pages/releasing-the-deployment.html).
224 The Android build is not yet integrated into the Docker container, so on any machine with
229 $ ./gradlew conscrypt-android:build
230 $ ./gradlew conscrypt-android:publish -Dorg.gradle.parallel=false
236 Once the platform-specific jars have shown up on Maven Central, return to the Docker container
242 $ docker container attach {CONTAINER_ID}
243 $ ./gradlew conscrypt-openjdk-uber:build -Dorg.conscrypt.openjdk.buildUberJar=true
244 …$ ./gradlew conscrypt-openjdk-uber:publish -Dorg.gradle.parallel=false -Dorg.conscrypt.openjdk.bui…