Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Commit

Permalink
Merge pull request #16 from NuCivic/remove-ahoy-2
Browse files Browse the repository at this point in the history
Temporarily revert ahoy2 switch
  • Loading branch information
dkinzer authored Nov 4, 2016
2 parents 5c9471b + bd5936a commit 0208b09
Show file tree
Hide file tree
Showing 21 changed files with 42 additions and 59 deletions.
41 changes: 13 additions & 28 deletions .ahoy/site/.ahoy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ahoyapi: v2
ahoyapi: v1
usage: NuCivic Data cli app for development using ahoy.
commands:
drush:
Expand All @@ -7,26 +7,22 @@ commands:

build:
usage: A series of commands for dkan development.
imports:
- .ahoy/site/build.ahoy.yml
import: .ahoy/site/build.ahoy.yml
hide: true

dkan:
usage: A series of commands for dkan development.
hide: true
imports:
- dkan/.ahoy/dkan.ahoy.yml
import: dkan/.ahoy/dkan.ahoy.yml

diagnose:
usage: A series of ahoy-docker setup diagnosis commands.
imports:
- dkan/.ahoy/diagnose.ahoy.yml
import: dkan/.ahoy/diagnose.ahoy.yml
hide: true

doctor:
usage: A series of ahoy-docker setup diagnosis commands.
imports:
- dkan/.ahoy/diagnose.ahoy.yml
import: dkan/.ahoy/diagnose.ahoy.yml
hide: true

confirm:
Expand All @@ -35,8 +31,7 @@ commands:

docker:
usage: A series of docker commands for dkan development (experimental)
imports:
- dkan/.ahoy/docker.ahoy.yml
import: dkan/.ahoy/docker.ahoy.yml
hide: false

init:
Expand All @@ -55,46 +50,36 @@ commands:

ci:
usage: A series of commands to handle ci setup
imports:
- .ahoy/site/ci.ahoy.yml
- config/.ahoy/site/ci.ahoy.yml
import: .ahoy/site/ci.ahoy.yml
hide: true

tools:
usage: A series of commands to setup dev tools
imports:
- .ahoy/site/tools.ahoy.yml
import: .ahoy/site/tools.ahoy.yml
hide: true

debug:
usage: A series of commands to setup debugging
imports:
- .ahoy/site/debug.ahoy.yml
import: .ahoy/site/debug.ahoy.yml
hide: true

launch-checklist:
usage: A series of commands to handle pre launch checks
imports:
- .ahoy/site/launch-checklist.ahoy.yml
import: .ahoy/site/launch-checklist.ahoy.yml
hide: true

site:
usage: A series of commands for site development
imports:
- .ahoy/site/site.ahoy.yml
- config/.ahoy/site/site.ahoy.yml
import: .ahoy/site/site.ahoy.yml

utils:
hide: true
usage: A series of helper commands (hide the details)
imports:
- .ahoy/site/utils.ahoy.yml
- config/.ahoy/site/utils.ahoy.yml
import: .ahoy/site/utils.ahoy.yml

remote:
usage: A series of commands for site remote management
imports:
- .ahoy/site/remote.ahoy.yml
import: .ahoy/site/remote.ahoy.yml
hide: true

parse:
Expand Down
2 changes: 1 addition & 1 deletion .ahoy/site/build.ahoy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ahoyapi: v2
ahoyapi: v1
version: 0.0.0
commands:
drupal-rebuild:
Expand Down
2 changes: 1 addition & 1 deletion .ahoy/site/ci.ahoy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ahoyapi: v2
ahoyapi: v1
version: 0.0.0
commands:
setup:
Expand Down
2 changes: 1 addition & 1 deletion .ahoy/site/debug.ahoy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ahoyapi: v2
ahoyapi: v1
version: 0.0.0
commands:
setup-sublime:
Expand Down
2 changes: 1 addition & 1 deletion .ahoy/site/launch-checklist.ahoy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ahoyapi: v2
ahoyapi: v1
version: 0.0.0
commands:
run:
Expand Down
5 changes: 2 additions & 3 deletions .ahoy/site/remote.ahoy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ahoyapi: v2
ahoyapi: v1
version: 0.0.0
commands:
reinstall:
Expand Down Expand Up @@ -43,5 +43,4 @@ commands:
launch-checklist:
usage: A series of commands to perform a launch-checklist
import:
- .ahoy/site/launch-checklist.ahoy.yml
import: .ahoy/site/launch-checklist.ahoy.yml
2 changes: 1 addition & 1 deletion .ahoy/site/site.ahoy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ahoyapi: v2
ahoyapi: v1
version: 0.0.0
commands:
up:
Expand Down
2 changes: 1 addition & 1 deletion .ahoy/site/tools.ahoy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ahoyapi: v2
ahoyapi: v1
version: 0.0.0
commands:
dnsmasq:
Expand Down
2 changes: 1 addition & 1 deletion .ahoy/site/utils.ahoy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ahoyapi: v2
ahoyapi: v1
version: 0.0.0
commands:
setup:
Expand Down
2 changes: 1 addition & 1 deletion config/.ahoy/site/ci.ahoy.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ahoyapi: v2
ahoyapi: v1
commands:
2 changes: 1 addition & 1 deletion config/.ahoy/site/site.ahoy.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ahoyapi: v2
ahoyapi: v1
commands:
2 changes: 1 addition & 1 deletion config/.ahoy/site/utils.ahoy.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ahoyapi: v2
ahoyapi: v1
commands:
2 changes: 1 addition & 1 deletion dkan/.ahoy/diagnose.ahoy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ahoyapi: v2
ahoyapi: v1
version: 0.0.0
commands:
all:
Expand Down
5 changes: 2 additions & 3 deletions dkan/.ahoy/dkan.ahoy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ahoyapi: v2
ahoyapi: v1
version: 0.0.0
commands:
drupal-rebuild:
Expand Down Expand Up @@ -181,8 +181,7 @@ commands:

theme:
usage: A series of commands for dkan theme development
imports:
- dkan/.ahoy/theme.ahoy.yml
import: dkan/.ahoy/theme.ahoy.yml
hide: true

uli:
Expand Down
2 changes: 1 addition & 1 deletion dkan/.ahoy/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ db:
# Used for all console commands and tools.
cli:
hostname: cli
image: nuams/drupal-cli:civic-4262_add-ahoyv2-to-docker
image: nuams/drupal-cli:v0.10.2
environment:
- XDEBUG_CONFIG=idekey=cli
- PHP_IDE_CONFIG=serverName=dkan.docker
Expand Down
2 changes: 1 addition & 1 deletion dkan/.ahoy/docker.ahoy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ahoyapi: v2
ahoyapi: v1
version: 0.0.0
commands:
env:
Expand Down
14 changes: 5 additions & 9 deletions dkan/.ahoy/starter.ahoy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ahoyapi: v2
ahoyapi: v1
usage: DKAN cli app for development using ahoy.
commands:

Expand All @@ -8,8 +8,7 @@ commands:

dkan:
usage: A series of commands for dkan development.
imports:
- dkan/.ahoy/dkan.ahoy.yml
import: dkan/.ahoy/dkan.ahoy.yml

# Utility / Experimental commands that are currently hidden
confirm:
Expand All @@ -18,8 +17,7 @@ commands:

docker:
usage: A series of docker commands for dkan development (experimental)
imports:
- dkan/.ahoy/docker.ahoy.yml
import: dkan/.ahoy/docker.ahoy.yml
hide: true

init:
Expand All @@ -38,12 +36,10 @@ commands:

diagnose:
usage: A series of maintenance commands to check the docker environment health
imports:
- dkan/.ahoy/diagnose.ahoy.yml
import: dkan/.ahoy/diagnose.ahoy.yml
hide: true

doctor:
usage: A series of maintenance commands to check the docker environment health (Deprecated and moved to diagnose commands)
imports:
- dkan/.ahoy/diagnose.ahoy.yml
import: dkan/.ahoy/diagnose.ahoy.yml
hide: true
2 changes: 1 addition & 1 deletion dkan/.ahoy/theme.ahoy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ahoyapi: v2
ahoyapi: v1
version: 0.0.0
commands:
fetch:
Expand Down
2 changes: 1 addition & 1 deletion dkan/.ahoy/utils.ahoy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ahoyapi: v2
ahoyapi: v1
version: 0.0.0
commands:
confirm:
Expand Down
2 changes: 1 addition & 1 deletion dkan/dkan-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ install_dependencies() {

if [ ! "$(which ahoy)" ]; then
echo "> Installing Ahoy";
version=2.0.0-alpha
version=1.1.0
os=`uname -s | tr '[:upper:]' '[:lower:]'`
$AUTO_SUDO wget -q https://nucivic-binaries.s3-us-west-1.amazonaws.com/ahoy/$version/ahoy-$os-amd64 -O /usr/local/bin/ahoy -O /usr/local/bin/ahoy &&
$AUTO_SUDO chown $this_user /usr/local/bin/ahoy &&
Expand Down
4 changes: 4 additions & 0 deletions docs/docker-dev-env/ahoy.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ DKAN's ahoy commands are stored in the ``.ahoy/`` folder in DKAN.

DKAN Starter ahoy commands are stored in the ``.ahoy/sites/`` folder in DKAN.

# TODO: enable ahoy v2
Everything below this line is currently not yet available.
---

## Upgrading to ahoy v2
### Rational
Now that dkan_starter is open sourced we need a straight forward way of allowing
Expand Down

0 comments on commit 0208b09

Please sign in to comment.