Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

Commit

Permalink
Updating notes for dev support and aws key info
Browse files Browse the repository at this point in the history
  • Loading branch information
kraman committed Sep 13, 2013
1 parent e3a5e56 commit e9a4ffb
Showing 1 changed file with 36 additions and 1 deletion.
37 changes: 36 additions & 1 deletion README.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ This will clone 3 repositores from your link:http://www.github.com[GitHub] accou
* link:http://github.com/openshift/origin-server[OpenShift Origin console, broker and node]
* link:http://github.com/openshift/puppet-openshift_origin[Puppet module for OpenShift Origin]

NOTE: Skip this step if building upstream code

==== Initialize the Vagrantfile

Create a Vagrantfile and customize it to match your requirements:
Expand Down Expand Up @@ -234,9 +236,18 @@ NOTE: Its is a good idea to snapshot the VM after this step so that you don't ha

==== Sync and Build OpenShift packages

* Syncing and building code from local repository clones

[source, sh]
----
$ vagrant sync -l
$ vagrant sync
----

* Syncing and building code from upstream repositories

[source, sh]
----
$ vagrant sync --upstream
----

==== Running OpenShift Origin Tests
Expand All @@ -252,6 +263,30 @@ $ vagrant test --all
$ vagrant origin-test --extended --all
----

== Other Notes

=== Developer environment

To enable easy customization of the build environment, any files placed under '\~/.openshiftdev/home.d' will be copied to
the vagrant user home directory. For example: '~/.openshiftdev/home.d/.bash_profile' will be copied to '.bash_profile'
on the vagrant VM.

=== AWS Credentials

Rather than have to add AWS credentials every time the Vagrantfile is created using origin-init command, you can
specify your credentials in the '~/.awscreds' file and it will be automatically added to the Vagrantfile.

Example:

.'~/.awscreds'
----
AWSAccessKeyId=<AWS API Key>
AWSSecretKey=<AWS API Secret>
AWSKeyPair=<Keypair name>
AWSPrivateKeyPath=<SSH Private key>
----


== Notice of Export Control Law

This software distribution includes cryptographic software that is subject to the U.S. Export Administration Regulations (the "*EAR*") and other U.S. and foreign laws and may not be exported, re-exported or transferred (a) to any country listed in Country Group E:1 in Supplement No. 1 to part 740 of the EAR (currently, Cuba, Iran, North Korea, Sudan & Syria); (b) to any prohibited destination or to any end user who has been prohibited from participating in U.S. export transactions by any federal agency of the U.S. government; or (c) for use in connection with the design, development or production of nuclear, chemical or biological weapons, or rocket systems, space launch vehicles, or sounding rockets, or unmanned air vehicle systems.You may not download this software or technical information if you are located in one of these countries or otherwise subject to these restrictions. You may not provide this software or technical information to individuals or entities located in one of these countries or otherwise subject to these restrictions. You are also responsible for compliance with foreign law requirements applicable to the import, export and use of this software and technical information.

0 comments on commit e9a4ffb

Please sign in to comment.