Skip to content

Commit 7b34500

Browse files
author
Christian Compton
committed
IBM Cloud rebranding
1 parent 3187b4a commit 7b34500

File tree

6 files changed

+11
-14
lines changed

6 files changed

+11
-14
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ before_install:
1414
- gem install bundler
1515
- bundle install
1616
- bundle exec rake
17-
- curl -fsSL https://clis.ng.bluemix.net/install/linux | sh
17+
- curl -fsSL https://clis.cloud.ibm.com/install/linux | sh
1818
- ibmcloud login -a https://$BLUEMIX_REGION --apikey $BLUEMIX_APIKEY -s applications-ci -o $BLUEMIX_USER
1919
# Clone test repos
20-
- git clone https://github.com/IBM-Bluemix/Kitura-Starter
21-
- git clone -b bluemix-estado https://github.com/IBM-Bluemix/swift-helloworld.git
20+
- git clone https://github.com/IBM-Cloud/Kitura-Starter
21+
- git clone -b bluemix-estado https://github.com/IBM-Cloud/swift-helloworld.git
2222
- git clone https://$GHE_USER:[email protected]/IBM-Swift/credentials-buildpack-test.git
2323

2424
script:

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Copyright (c) 2015, Kyle Fuller (original Heroku buildpack)
22
Copyright (c) 2015, Dr Nic Williams (conversion to use Cloud Foundry packaging toolchain)
33
All rights reserved.
4-
Copyright (c) 2016, IBM (customization to support deployment of Kitura-based applications to Bluemix)
4+
Copyright (c) 2016, IBM (customization to support deployment of Kitura-based applications to IBM Cloud)
55
All rights reserved.
66

77
Redistribution and use in source and binary forms, with or without

README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
IBM Cloud buildpack for Swift
44
===============================
55

6-
This is the IBM Cloud buildpack for Swift applications, powered by the Swift Package Manager (SPM). Though this buildpack was developed mainly for IBM Cloud and the sample commands use the IBM Cloud [command line](http://clis.ng.bluemix.net/ui/home.html), it can be used on any Cloud Foundry environment. This buildpack requires access to the Internet for downloading and installing several system level dependencies.
6+
This is the IBM Cloud buildpack for Swift applications, powered by the Swift Package Manager (SPM). Though this buildpack was developed mainly for IBM Cloud and the sample commands use the IBM Cloud [command line](https://clis.cloud.ibm.com/ui/home.html), it can be used on any Cloud Foundry environment. This buildpack requires access to the Internet for downloading and installing several system level dependencies.
77

8-
Check out the [Kitura-Starter](https://github.com/IBM-Bluemix/Kitura-Starter) for a fully working example of a Kitura-based server application that can be deployed to the IBM Cloud (or any Cloud Foundry environment).
8+
Check out the [Kitura-Starter](https://github.com/IBM-Cloud/Kitura-Starter) for a fully working example of a Kitura-based server application that can be deployed to the IBM Cloud (or any Cloud Foundry environment).
99

1010
Usage
1111
-----
@@ -128,8 +128,6 @@ warning: unable to rmdir Package-Builder: Directory not empty
128128
Cloning https://github.com/IBM-Swift/Swift-cfenv.git
129129
HEAD is now at 3486dcb Modified parseEnvVariable() method - using now environment variables if present regardless of isLocal boolean.
130130
Resolved version: 1.7.1
131-
Cloning https://github.com/IBM-Bluemix/cf-deployment-tracker-client-swift.git
132-
Resolved version: 0.4.1
133131
Compile CHTTPParser utils.c
134132
Compile CHTTPParser http_parser.c
135133
Compile Swift Module 'Socket' (3 sources)
@@ -140,7 +138,6 @@ warning: unable to rmdir Package-Builder: Directory not empty
140138
Compile Swift Module 'SSLService' (1 sources)
141139
Compile Swift Module 'CloudFoundryEnv' (7 sources)
142140
Compile Swift Module 'KituraNet' (28 sources)
143-
Compile Swift Module 'CloudFoundryDeploymentTracker' (1 sources)
144141
Compile Swift Module 'Kitura' (40 sources)
145142
Compile Swift Module 'Kitura_Starter' (2 sources)
146143
Linking ./.build/release/Kitura-Starter
@@ -384,7 +381,7 @@ ibmcoud app env-unset <app_name> BP_DEBUG
384381
```
385382
386383
### Installing Personal Package Archives
387-
The IBM Cloud buildpack for Swift does not support the installation of [Personal Package Archives](https://launchpad.net/ubuntu/+ppas) (PPAs). If your application requires the installation of one or more PPAs, we recommend using a different mechanism other than the IBM Cloud buildpack for Swift for provisioning your application to the IBM Cloud. For instance, you could use [Docker and Kubernetes](https://console.bluemix.net/docs/containers/container_index.html) to provision your Swift application to the IBM Cloud (in your `Dockerfile`, you would add the instructions for installing any necessary PPAs).
384+
The IBM Cloud buildpack for Swift does not support the installation of [Personal Package Archives](https://launchpad.net/ubuntu/+ppas) (PPAs). If your application requires the installation of one or more PPAs, we recommend using a different mechanism other than the IBM Cloud buildpack for Swift for provisioning your application to the IBM Cloud. For instance, you could use [Docker and Kubernetes](https://cloud.ibm.com/docs/containers/container_index.html) to provision your Swift application to the IBM Cloud (in your `Dockerfile`, you would add the instructions for installing any necessary PPAs).
388385
389386
Admin tasks
390387
-----------

bin/compile.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ SWIFT_BUILD_DIR=.build
3636
# If leveraging CACHE_DIR for tar files, then we'd need CACHED_ITEMS
3737
#CACHED_ITEMS=()
3838

39-
# Apply Bluemix-specific environment configuration profile
39+
# Apply IBM Cloud-specific environment configuration profile
4040
$BP_DIR/lib/apply_env_profile.rb $BUILD_DIR
4141

4242
source $BP_DIR/compile-extensions/lib/common
@@ -192,7 +192,7 @@ cd $BUILD_DIR
192192
status "Fetching Swift packages and parsing Package.swift files..."
193193
if [ $(is_swift_version_greater_or_equal_to 4.0) == "true" ]; then
194194
swift package resolve | indent
195-
else
195+
else
196196
swift package fetch | indent
197197
fi
198198
PACKAGES_TO_INSTALL=($(set +o pipefail;find . -type f -name "Package.swift" | xargs egrep -r "Apt *\(" | sed -e 's/^.*\.Apt *( *" *//' -e 's/".*$//' | sort | uniq; set -o pipefail))

bin/detect.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ source $BP_DIR/lib/common.sh
2929
if [[ -f $APP_DIR/Package.swift ]]; then
3030
swift_version="$(get_swift_version)"
3131
buildpack_version="$(cat $BP_DIR/VERSION)"
32-
echo "IBM Bluemix buildpack for Swift (Swift: $swift_version, buildpack: $buildpack_version)" && exit 0
32+
echo "IBM Cloud buildpack for Swift (Swift: $swift_version, buildpack: $buildpack_version)" && exit 0
3333
else
3434
echo "no" && exit 1
3535
fi

lib/apply_env_profile.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@
2424
log_env = !ENV['BP_LOG'].nil? && 'true'.casecmp(ENV['BP_LOG']).zero?
2525
EnvProfileApplier.new(build_dir, log_env).apply_env_profile
2626
rescue
27-
puts '-----> WARN: Failed to apply Bluemix environment profiles'
27+
puts '-----> WARN: Failed to apply IBM Cloud environment profiles'
2828
end

0 commit comments

Comments
 (0)