forked from cloudfoundry-community/swift-buildpack
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Christian Compton
committed
Mar 3, 2019
1 parent
dd31862
commit 7967872
Showing
5 changed files
with
19 additions
and
19 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -36,8 +36,8 @@ OK | |
Starting app Kitura-Starter in org [email protected] / space dev as [email protected]... | ||
-----> Downloaded app package (28K) | ||
Cloning into '/tmp/buildpacks/swift-buildpack'... | ||
-----> Buildpack version 2.0.17 | ||
-----> Default supported Swift version is 4.2.2 | ||
-----> Buildpack version 2.0.18 | ||
-----> Default supported Swift version is 4.2.3 | ||
-----> Configure for apt-get installs... | ||
-----> Downloading system level dependencies... | ||
-----> Fetching .debs for: libicu-dev libcurl4-openssl-dev | ||
|
@@ -178,7 +178,7 @@ The buildpack will detect your app as Swift if it has a `Package.swift` file in | |
### Version installed on the IBM Cloud | ||
The latest version of the IBM Cloud buildpack for Swift on the IBM Cloud is [v2.0.17](https://github.com/IBM-Swift/swift-buildpack/releases/tag/2.0.17). | ||
The latest version of the IBM Cloud buildpack for Swift on the IBM Cloud is [v2.0.18](https://github.com/IBM-Swift/swift-buildpack/releases/tag/2.0.18). | ||
Please note that it is possible that the latest buildpack code contained in this repo hasn't yet been installed on the IBM Cloud. If that happens to be the case and you'd like to leverage the latest buildpack code, you can do so by adding the `-b https://github.com/IBM-Swift/swift-buildpack` parameter to the `ibmcloud app push` command, as shown below: | ||
|
@@ -220,21 +220,21 @@ command: <executable_name> | |
### What is the latest version of Swift supported? | ||
The latest version of Swift supported by this buildpack is ```4.2.2```. | ||
The latest version of Swift supported by this buildpack is ```4.2.3```. | ||
### Specify a Swift version | ||
You specify the version of Swift for your application using a `.swift-version` file in the root of your repository: | ||
```shell | ||
$ cat .swift-version | ||
4.2.2 | ||
4.2.3 | ||
``` | ||
Please note that the swift_buildpack installed on the IBM Cloud **caches** the following versions of the Swift binaries: | ||
- `4.2.3` | ||
- `4.2.2` | ||
- `4.2.1` | ||
If you'd like to use a different version of Swift [that is not cached] on the IBM Cloud, you can specify it in the `.swift-version` file. Please be aware that using a Swift version that is not cached increases the provisioning time of your app on the IBM Cloud. | ||
|
@@ -389,17 +389,17 @@ Admin tasks | |
To install this buildpack: | ||
```shell | ||
wget https://github.com/IBM-Swift/swift-buildpack/releases/download/2.0.17/buildpack_swift_v2.0.17-20190212-2123.zip | ||
ibmcloud cf create-buildpack swift_buildpack buildpack_swift_v2.0.17-20190212-2123.zip <position> | ||
wget https://github.com/IBM-Swift/swift-buildpack/releases/download/2.0.18/buildpack_swift_v2.0.18-20190212-2123.zip | ||
ibmcloud cf create-buildpack swift_buildpack buildpack_swift_v2.0.18-20190212-2123.zip <position> | ||
``` | ||
**Position** is a positive integer, sets priority, and is sorted from lowest to highest when listed using the `ibmcloud cf buildpacks` command. | ||
And to update it: | ||
```shell | ||
wget https://github.com/IBM-Swift/swift-buildpack/releases/download/2.0.17/buildpack_swift_v2.0.17-20190212-2123.zip | ||
ibmcloud cf update-buildpack swift_buildpack -p buildpack_swift_v2.0.17-20190212-2123.zip | ||
wget https://github.com/IBM-Swift/swift-buildpack/releases/download/2.0.18/buildpack_swift_v2.0.18-20190212-2123.zip | ||
ibmcloud cf update-buildpack swift_buildpack -p buildpack_swift_v2.0.18-20190212-2123.zip | ||
``` | ||
For more details on installing buildpacks, see [Adding buildpacks to Cloud Foundry](https://docs.cloudfoundry.org/adminguide/buildpacks.html). | ||
|
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 @@ | ||
2.0.17 | ||
2.0.18 |
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
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