-
-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add cloudposse-atlantis as alternative to runatlantis/atlantis (#242)
- Loading branch information
Showing
14 changed files
with
72 additions
and
4 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
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
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 @@ | ||
0.4.13 | ||
0.8.3 |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/sh | ||
# This is an Alpine `deinstall` hook that removes the alternative | ||
MASTER_PACKAGE_NAME=atlantis | ||
PACKAGE_NAME=atlantis | ||
VENDOR=runatlantis | ||
INSTALL_DIR=/usr/share/${MASTER_PACKAGE_NAME}/${VENDOR}/bin | ||
|
||
update-alternatives --remove ${MASTER_PACKAGE_NAME} ${INSTALL_DIR}/${PACKAGE_NAME} --quiet | ||
exit 0 |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/sh | ||
# This is an Alpine Package `post-install` hook that links | ||
# an alternative from `/usr/share/${PACKAGE_NAME}/$version/bin` into `/usr/bin/` | ||
MASTER_PACKAGE_NAME=atlantis | ||
PACKAGE_NAME=atlantis | ||
VENDOR=runatlantis | ||
INSTALL_DIR=/usr/share/${MASTER_PACKAGE_NAME}/${VENDOR}/bin | ||
mkdir -p ${INSTALL_DIR} | ||
update-alternatives --install /usr/bin/${MASTER_PACKAGE_NAME} ${MASTER_PACKAGE_NAME} ${INSTALL_DIR}/${PACKAGE_NAME} 1 | ||
exit 0 |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
Terraform For Teams, enhanced by Cloud Posse |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
APACHE-2.0 |
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
export MASTER_PACKAGE_NAME = atlantis | ||
export PACKAGE_REPO_NAME = atlantis | ||
|
||
include ../../tasks/Makefile.package | ||
include ../../tasks/Makefile.apk | ||
|
||
# Package details | ||
export VENDOR ?= cloudposse | ||
export DOWNLOAD_URL ?= $(PACKAGE_REPO_URL)/releases/download/$(PACKAGE_VERSION)/$(PACKAGE_REPO_NAME)_$(OS)_$(ARCH) | ||
export APK_BUILD_TEMPLATE ?= APKBUILD.github-binary | ||
export APKBUILD_DEPENDS += dpkg libc6-compat | ||
export APKBUILD_INSTALL_SCRIPTS = $(PACKAGE_NAME).post-install $(PACKAGE_NAME).post-deinstall | ||
export INSTALL_DIR = /usr/share/${MASTER_PACKAGE_NAME}/${VENDOR}/bin | ||
|
||
install: | ||
$(call download_binary) | ||
|
||
test: | ||
$(PACKAGE_EXE) version |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
0 |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
0.8.0 |
9 changes: 9 additions & 0 deletions
9
vendor/cloudposse-atlantis/cloudposse-atlantis.post-deinstall
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/sh | ||
# This is an Alpine `deinstall` hook that removes the alternative | ||
MASTER_PACKAGE_NAME=atlantis | ||
PACKAGE_NAME=cloudposse-atlantis | ||
VENDOR=cloudposse | ||
INSTALL_DIR=/usr/share/${MASTER_PACKAGE_NAME}/${VENDOR}/bin | ||
|
||
update-alternatives --remove ${MASTER_PACKAGE_NAME} ${INSTALL_DIR}/${PACKAGE_NAME} --quiet | ||
exit 0 |
10 changes: 10 additions & 0 deletions
10
vendor/cloudposse-atlantis/cloudposse-atlantis.post-install
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/sh | ||
# This is an Alpine Package `post-install` hook that links | ||
# an alternative from `/usr/share/${PACKAGE_NAME}/$version/bin` into `/usr/bin/` | ||
MASTER_PACKAGE_NAME=atlantis | ||
PACKAGE_NAME=cloudposse-atlantis | ||
VENDOR=cloudposse | ||
INSTALL_DIR=/usr/share/${MASTER_PACKAGE_NAME}/${VENDOR}/bin | ||
mkdir -p ${INSTALL_DIR} | ||
update-alternatives --install /usr/bin/${MASTER_PACKAGE_NAME} ${MASTER_PACKAGE_NAME} ${INSTALL_DIR}/${PACKAGE_NAME} 2 | ||
exit 0 |