Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rimusz committed Feb 2, 2015
1 parent 12396c5 commit ef4099c
Show file tree
Hide file tree
Showing 26 changed files with 338 additions and 239 deletions.
Binary file modified coreos-vagrant-cluster-gui.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
46 changes: 20 additions & 26 deletions src/CoreOS Cluster GUI.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,16 @@
/* Begin PBXBuildFile section */
011BBA301A2A6E2500AAB35B /* coreos-wordmark-horiz-color.png in Resources */ = {isa = PBXBuildFile; fileRef = 011BBA2E1A2A6E2500AAB35B /* coreos-wordmark-horiz-color.png */; };
011BBA311A2A6E2500AAB35B /* coreos-wordmark-vert-color.png in Resources */ = {isa = PBXBuildFile; fileRef = 011BBA2F1A2A6E2500AAB35B /* coreos-wordmark-vert-color.png */; };
011BBA341A2A7B0600AAB35B /* vagrant_ssh2.command in Resources */ = {isa = PBXBuildFile; fileRef = 011BBA321A2A7B0600AAB35B /* vagrant_ssh2.command */; };
011BBA351A2A7B0600AAB35B /* vagrant_ssh3.command in Resources */ = {isa = PBXBuildFile; fileRef = 011BBA331A2A7B0600AAB35B /* vagrant_ssh3.command */; };
011BBA391A2A829F00AAB35B /* vagrant_destroy.command in Resources */ = {isa = PBXBuildFile; fileRef = 011BBA381A2A829F00AAB35B /* vagrant_destroy.command */; };
011BBA3B1A2A842A00AAB35B /* change_release_channel.command in Resources */ = {isa = PBXBuildFile; fileRef = 011BBA3A1A2A842A00AAB35B /* change_release_channel.command */; };
011BBA3D1A2A88EA00AAB35B /* config.rb in Resources */ = {isa = PBXBuildFile; fileRef = 011BBA3C1A2A88EA00AAB35B /* config.rb */; };
011BBA3F1A2A94A100AAB35B /* vagrant_reload.command in Resources */ = {isa = PBXBuildFile; fileRef = 011BBA3E1A2A94A100AAB35B /* vagrant_reload.command */; };
01294B371A7FAB1900762B9E /* os_shell.command in Resources */ = {isa = PBXBuildFile; fileRef = 01294B361A7FAB1900762B9E /* os_shell.command */; };
01294B391A7FB0D100762B9E /* user-data in Resources */ = {isa = PBXBuildFile; fileRef = 01294B381A7FB0D100762B9E /* user-data */; };
0145318418FF209D007F9C95 /* coreos-vagrant.command in Resources */ = {isa = PBXBuildFile; fileRef = 0145318318FF209D007F9C95 /* coreos-vagrant.command */; };
016A37F11A3F96710062386D /* fleet in Resources */ = {isa = PBXBuildFile; fileRef = 016A37F01A3F96710062386D /* fleet */; };
01741B57190DB7B800BB1F91 /* coreos-vagrant-install.command in Resources */ = {isa = PBXBuildFile; fileRef = 01741B56190DB7B800BB1F91 /* coreos-vagrant-install.command */; };
01741B5F190DB7E300BB1F91 /* vagrant_ssh1.command in Resources */ = {isa = PBXBuildFile; fileRef = 01741B5E190DB7E300BB1F91 /* vagrant_ssh1.command */; };
01741B63190DB80500BB1F91 /* first-init.command in Resources */ = {isa = PBXBuildFile; fileRef = 01741B62190DB80500BB1F91 /* first-init.command */; };
01741B65190DB81400BB1F91 /* vagrant_up.command in Resources */ = {isa = PBXBuildFile; fileRef = 01741B64190DB81400BB1F91 /* vagrant_up.command */; };
01741B67190DB82100BB1F91 /* update.command in Resources */ = {isa = PBXBuildFile; fileRef = 01741B66190DB82100BB1F91 /* update.command */; };
01AB706219D84622003B55EF /* Vagrantfile in Resources */ = {isa = PBXBuildFile; fileRef = 01AB706119D84622003B55EF /* Vagrantfile */; };
01AD94B81A277708009A400B /* gsed in Resources */ = {isa = PBXBuildFile; fileRef = 01AD94B71A277708009A400B /* gsed */; };
01AD94BF1A278C94009A400B /* force_coreos_update.command in Resources */ = {isa = PBXBuildFile; fileRef = 01AD94BE1A278C94009A400B /* force_coreos_update.command */; };
01D3685918E5C184006510B5 /* icon.icns in Resources */ = {isa = PBXBuildFile; fileRef = 01D3685818E5C184006510B5 /* icon.icns */; };
Expand All @@ -36,28 +30,27 @@
01E2855418A6C4E300BC630D /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 01E2855218A6C4E300BC630D /* MainMenu.xib */; };
01E2855618A6C4E300BC630D /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 01E2855518A6C4E300BC630D /* Images.xcassets */; };
01E285B818A6D7F400BC630D /* icon.png in Resources */ = {isa = PBXBuildFile; fileRef = 01E285B718A6D7F400BC630D /* icon.png */; };
01F83FF21A803BA900961E07 /* vagrant_control1.command in Resources */ = {isa = PBXBuildFile; fileRef = 01F83FEF1A803BA900961E07 /* vagrant_control1.command */; };
01F83FF31A803BA900961E07 /* vagrant_node1.command in Resources */ = {isa = PBXBuildFile; fileRef = 01F83FF01A803BA900961E07 /* vagrant_node1.command */; };
01F83FF41A803BA900961E07 /* vagrant_node2.command in Resources */ = {isa = PBXBuildFile; fileRef = 01F83FF11A803BA900961E07 /* vagrant_node2.command */; };
01F83FF61A803BB800961E07 /* wget in Resources */ = {isa = PBXBuildFile; fileRef = 01F83FF51A803BB800961E07 /* wget */; };
01F83FFA1A803C2F00961E07 /* Vagrantfiles in Resources */ = {isa = PBXBuildFile; fileRef = 01F83FF91A803C2F00961E07 /* Vagrantfiles */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
011BBA2E1A2A6E2500AAB35B /* coreos-wordmark-horiz-color.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "coreos-wordmark-horiz-color.png"; sourceTree = "<group>"; };
011BBA2F1A2A6E2500AAB35B /* coreos-wordmark-vert-color.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "coreos-wordmark-vert-color.png"; sourceTree = "<group>"; };
011BBA321A2A7B0600AAB35B /* vagrant_ssh2.command */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = vagrant_ssh2.command; sourceTree = "<group>"; };
011BBA331A2A7B0600AAB35B /* vagrant_ssh3.command */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = vagrant_ssh3.command; sourceTree = "<group>"; };
011BBA381A2A829F00AAB35B /* vagrant_destroy.command */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = vagrant_destroy.command; sourceTree = "<group>"; };
011BBA3A1A2A842A00AAB35B /* change_release_channel.command */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = change_release_channel.command; sourceTree = "<group>"; };
011BBA3C1A2A88EA00AAB35B /* config.rb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.ruby; path = config.rb; sourceTree = SOURCE_ROOT; };
011BBA3E1A2A94A100AAB35B /* vagrant_reload.command */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = vagrant_reload.command; sourceTree = "<group>"; };
01294B361A7FAB1900762B9E /* os_shell.command */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = os_shell.command; sourceTree = "<group>"; };
01294B381A7FB0D100762B9E /* user-data */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = "user-data"; sourceTree = SOURCE_ROOT; };
0133608F18A70E0C0024B1CB /* CoreOS Cluster GUI.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = "CoreOS Cluster GUI.entitlements"; sourceTree = "<group>"; };
0145318318FF209D007F9C95 /* coreos-vagrant.command */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = "coreos-vagrant.command"; sourceTree = "<group>"; };
016A37F01A3F96710062386D /* fleet */ = {isa = PBXFileReference; lastKnownFileType = folder; path = fleet; sourceTree = SOURCE_ROOT; };
01741B56190DB7B800BB1F91 /* coreos-vagrant-install.command */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = "coreos-vagrant-install.command"; sourceTree = SOURCE_ROOT; };
01741B5E190DB7E300BB1F91 /* vagrant_ssh1.command */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = vagrant_ssh1.command; sourceTree = SOURCE_ROOT; };
01741B62190DB80500BB1F91 /* first-init.command */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = "first-init.command"; sourceTree = SOURCE_ROOT; };
01741B64190DB81400BB1F91 /* vagrant_up.command */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = vagrant_up.command; sourceTree = SOURCE_ROOT; };
01741B66190DB82100BB1F91 /* update.command */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = update.command; sourceTree = SOURCE_ROOT; };
01AB706119D84622003B55EF /* Vagrantfile */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Vagrantfile; sourceTree = SOURCE_ROOT; };
01AD94B71A277708009A400B /* gsed */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.executable"; path = gsed; sourceTree = SOURCE_ROOT; };
01AD94BE1A278C94009A400B /* force_coreos_update.command */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = force_coreos_update.command; sourceTree = "<group>"; };
01D3685818E5C184006510B5 /* icon.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = icon.icns; sourceTree = "<group>"; };
Expand All @@ -77,6 +70,11 @@
01E2855518A6C4E300BC630D /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
01E2855C18A6C4E300BC630D /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; };
01E285B718A6D7F400BC630D /* icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = icon.png; sourceTree = "<group>"; };
01F83FEF1A803BA900961E07 /* vagrant_control1.command */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = vagrant_control1.command; sourceTree = "<group>"; };
01F83FF01A803BA900961E07 /* vagrant_node1.command */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = vagrant_node1.command; sourceTree = "<group>"; };
01F83FF11A803BA900961E07 /* vagrant_node2.command */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = vagrant_node2.command; sourceTree = "<group>"; };
01F83FF51A803BB800961E07 /* wget */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.executable"; path = wget; sourceTree = SOURCE_ROOT; };
01F83FF91A803C2F00961E07 /* Vagrantfiles */ = {isa = PBXFileReference; lastKnownFileType = folder; path = Vagrantfiles; sourceTree = SOURCE_ROOT; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand All @@ -94,12 +92,11 @@
014E6F8B18B63AF700E697C0 /* Installation Files */ = {
isa = PBXGroup;
children = (
01F83FF91A803C2F00961E07 /* Vagrantfiles */,
016A37F01A3F96710062386D /* fleet */,
01AD94B71A277708009A400B /* gsed */,
011BBA3C1A2A88EA00AAB35B /* config.rb */,
01AB706119D84622003B55EF /* Vagrantfile */,
01294B381A7FB0D100762B9E /* user-data */,
01741B56190DB7B800BB1F91 /* coreos-vagrant-install.command */,
01F83FF51A803BB800961E07 /* wget */,
01741B62190DB80500BB1F91 /* first-init.command */,
);
path = "Installation Files";
Expand Down Expand Up @@ -177,9 +174,9 @@
011BBA3A1A2A842A00AAB35B /* change_release_channel.command */,
011BBA381A2A829F00AAB35B /* vagrant_destroy.command */,
01294B361A7FAB1900762B9E /* os_shell.command */,
01741B5E190DB7E300BB1F91 /* vagrant_ssh1.command */,
011BBA321A2A7B0600AAB35B /* vagrant_ssh2.command */,
011BBA331A2A7B0600AAB35B /* vagrant_ssh3.command */,
01F83FEF1A803BA900961E07 /* vagrant_control1.command */,
01F83FF01A803BA900961E07 /* vagrant_node1.command */,
01F83FF11A803BA900961E07 /* vagrant_node2.command */,
01741B64190DB81400BB1F91 /* vagrant_up.command */,
011BBA3E1A2A94A100AAB35B /* vagrant_reload.command */,
01AD94BE1A278C94009A400B /* force_coreos_update.command */,
Expand Down Expand Up @@ -262,30 +259,29 @@
buildActionMask = 2147483647;
files = (
01E2854818A6C4E300BC630D /* InfoPlist.strings in Resources */,
01F83FF31A803BA900961E07 /* vagrant_node1.command in Resources */,
01D3685918E5C184006510B5 /* icon.icns in Resources */,
01E285B818A6D7F400BC630D /* icon.png in Resources */,
01AD94BF1A278C94009A400B /* force_coreos_update.command in Resources */,
0145318418FF209D007F9C95 /* coreos-vagrant.command in Resources */,
01AB706219D84622003B55EF /* Vagrantfile in Resources */,
011BBA301A2A6E2500AAB35B /* coreos-wordmark-horiz-color.png in Resources */,
01294B391A7FB0D100762B9E /* user-data in Resources */,
011BBA3D1A2A88EA00AAB35B /* config.rb in Resources */,
01741B65190DB81400BB1F91 /* vagrant_up.command in Resources */,
011BBA391A2A829F00AAB35B /* vagrant_destroy.command in Resources */,
01E2855618A6C4E300BC630D /* Images.xcassets in Resources */,
011BBA341A2A7B0600AAB35B /* vagrant_ssh2.command in Resources */,
01F83FF21A803BA900961E07 /* vagrant_control1.command in Resources */,
011BBA3F1A2A94A100AAB35B /* vagrant_reload.command in Resources */,
01AD94B81A277708009A400B /* gsed in Resources */,
01741B5F190DB7E300BB1F91 /* vagrant_ssh1.command in Resources */,
01741B63190DB80500BB1F91 /* first-init.command in Resources */,
01741B57190DB7B800BB1F91 /* coreos-vagrant-install.command in Resources */,
011BBA3B1A2A842A00AAB35B /* change_release_channel.command in Resources */,
01F83FFA1A803C2F00961E07 /* Vagrantfiles in Resources */,
011BBA311A2A6E2500AAB35B /* coreos-wordmark-vert-color.png in Resources */,
01F83FF41A803BA900961E07 /* vagrant_node2.command in Resources */,
01E2854E18A6C4E300BC630D /* Credits.rtf in Resources */,
01F83FF61A803BB800961E07 /* wget in Resources */,
01E2855418A6C4E300BC630D /* MainMenu.xib in Resources */,
016A37F11A3F96710062386D /* fleet in Resources */,
01741B67190DB82100BB1F91 /* update.command in Resources */,
011BBA351A2A7B0600AAB35B /* vagrant_ssh3.command in Resources */,
01294B371A7FAB1900762B9E /* os_shell.command in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -404,7 +400,6 @@
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ENABLE_OBJC_ARC = YES;
CODE_SIGN_IDENTITY = "Developer ID Application";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Mac Developer";
COMBINE_HIDPI_IMAGES = YES;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
Expand All @@ -421,7 +416,6 @@
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ENABLE_OBJC_ARC = YES;
CODE_SIGN_IDENTITY = "Developer ID Application";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Mac Developer";
COMBINE_HIDPI_IMAGES = YES;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
Expand Down
23 changes: 11 additions & 12 deletions src/CoreOS Cluster GUI/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -226,12 +226,12 @@ - (IBAction)About:(id)sender {
- (IBAction)runShell:(id)sender {
// send a notification on to the screen
NSUserNotification *notification = [[NSUserNotification alloc] init];
notification.informativeText = @"vagrant ssh shell to corec-01 will be opened";
notification.informativeText = @"OS Shell will be opened";
[[NSUserNotificationCenter defaultUserNotificationCenter] deliverNotification:notification];

NSString *appName = [[NSString alloc] init];
NSString *arguments = [[NSString alloc] init];
[self runApp:appName = @"iTerm" arguments:arguments = [_resoucesPathFromApp stringByAppendingPathComponent:@"vagrant_ssh1.command"]];
[self runApp:appName = @"iTerm" arguments:arguments = [_resoucesPathFromApp stringByAppendingPathComponent:@"os_shell.command"]];
}

- (IBAction)fleetUI:(id)sender {
Expand All @@ -240,38 +240,37 @@ - (IBAction)fleetUI:(id)sender {


// ssh to hosts
- (IBAction)runSsh1:(id)sender {
- (IBAction)runControl1:(id)sender {
// send a notification on to the screen
NSUserNotification *notification = [[NSUserNotification alloc] init];
notification.informativeText = @"vagrant ssh shell to corec-01 will be opened";
notification.informativeText = @"vagrant ssh shell to control-01 will be opened";
[[NSUserNotificationCenter defaultUserNotificationCenter] deliverNotification:notification];

NSString *appName = [[NSString alloc] init];
NSString *arguments = [[NSString alloc] init];
[self runApp:appName = @"iTerm" arguments:arguments = [_resoucesPathFromApp stringByAppendingPathComponent:@"vagrant_ssh1.command"]];
[self runApp:appName = @"iTerm" arguments:arguments = [_resoucesPathFromApp stringByAppendingPathComponent:@"vagrant_control1.command"]];
}


- (IBAction)runSsh2:(id)sender {
- (IBAction)runNode1:(id)sender {
// send a notification on to the screen
NSUserNotification *notification = [[NSUserNotification alloc] init];
notification.informativeText = @"vagrant ssh shell to corec-02 will be opened";
notification.informativeText = @"vagrant ssh shell to node-01 will be opened";
[[NSUserNotificationCenter defaultUserNotificationCenter] deliverNotification:notification];

NSString *appName = [[NSString alloc] init];
NSString *arguments = [[NSString alloc] init];
[self runApp:appName = @"iTerm" arguments:arguments = [_resoucesPathFromApp stringByAppendingPathComponent:@"vagrant_ssh2.command"]];
[self runApp:appName = @"iTerm" arguments:arguments = [_resoucesPathFromApp stringByAppendingPathComponent:@"vagrant_node1.command"]];
}

- (IBAction)runSsh3:(id)sender {
- (IBAction)runNode2:(id)sender {
// send a notification on to the screen
NSUserNotification *notification = [[NSUserNotification alloc] init];
notification.informativeText = @"vagrant ssh shell to corec-03 will be opened";
notification.informativeText = @"vagrant ssh shell to node-02 will be opened";
[[NSUserNotificationCenter defaultUserNotificationCenter] deliverNotification:notification];

NSString *appName = [[NSString alloc] init];
NSString *arguments = [[NSString alloc] init];
[self runApp:appName = @"iTerm" arguments:arguments = [_resoucesPathFromApp stringByAppendingPathComponent:@"vagrant_ssh3.command"]];
[self runApp:appName = @"iTerm" arguments:arguments = [_resoucesPathFromApp stringByAppendingPathComponent:@"vagrant_node2.command"]];
}
// ssh to hosts

Expand Down
12 changes: 6 additions & 6 deletions src/CoreOS Cluster GUI/Base.lproj/MainMenu.xib
Original file line number Diff line number Diff line change
Expand Up @@ -691,22 +691,22 @@
<action selector="runShell:" target="494" id="2YL-Ek-k33"/>
</connections>
</menuItem>
<menuItem title="SSH to corec-01" id="uFv-AR-Egm">
<menuItem title="SSH to control-01" id="uFv-AR-Egm">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="runSsh1:" target="494" id="m4c-rX-FAL"/>
<action selector="runControl1:" target="494" id="MzC-Zb-H0E"/>
</connections>
</menuItem>
<menuItem title="SSH to corec-02" id="93Y-3j-w7s">
<menuItem title="SSH to node-01" id="93Y-3j-w7s">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="runSsh2:" target="494" id="kdd-B4-CSh"/>
<action selector="runNode1:" target="494" id="buh-Y8-J9f"/>
</connections>
</menuItem>
<menuItem title="SSH to corec-03" id="hQV-nK-suP">
<menuItem title="SSH to node-02" id="hQV-nK-suP">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="runSsh3:" target="494" id="deR-gE-bQ0"/>
<action selector="runNode2:" target="494" id="UCO-hw-Msg"/>
</connections>
</menuItem>
<menuItem title="Fleet-UI" id="7cD-x6-wub">
Expand Down
4 changes: 2 additions & 2 deletions src/CoreOS Cluster GUI/CoreOS Cluster GUI-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.2.6</string>
<string>0.3.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>85</string>
<string>105</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.utilities</string>
<key>LSMinimumSystemVersion</key>
Expand Down
7 changes: 0 additions & 7 deletions src/Vagrantfile

This file was deleted.

Loading

0 comments on commit ef4099c

Please sign in to comment.