-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #242 overwrite symlink if present, and remove on uninstall, add t…
…ests
- Loading branch information
Showing
4 changed files
with
32 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
FROM centos:6 | ||
#ARG OLDVER | ||
RUN yum -y update | ||
RUN yum -y install java-1.8.0-openjdk java-1.8.0-openjdk-devel | ||
RUN curl -sS -f -L -o /etc/yum.repos.d/bintray.repo https://bintray.com/rundeck/rundeck-rpm/rpm | ||
|
||
RUN yum -y install rundeck-cli | ||
|
||
RUN rd pond | ||
|
||
COPY rundeck-cli-noarch.rpm /root/rundeck-cli-noarch.rpm | ||
|
||
RUN rpm -U /root/rundeck-cli-noarch.rpm | ||
|
||
CMD rd pond |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -euo pipefail | ||
|
||
rpmfile=$(ls rd-cli-tool/build/distributions/rundeck-cli-*.noarch.rpm) | ||
|
||
cp $rpmfile dockers/install/upgrade-rpm/rundeck-cli-noarch.rpm | ||
docker build dockers/install/upgrade-rpm -t rdcli-rpm-upgrade | ||
docker run -it rdcli-rpm-upgrade rd |