Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.

Commit

Permalink
Kabanero fix (#8)
Browse files Browse the repository at this point in the history
* Initial code drop

* Added readme and .travis.yml

* Made docker org an env var.

* added a deploy phase

* Adjusted deploy phase

* Added env var for git-source
  • Loading branch information
chilanti authored and kewegner committed Aug 2, 2019
1 parent b03fae1 commit 3ff31d1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ This asset uses the Ubuntu (Debian) installer package of the Appsody CLI, which

If significant changes to the `appsody extract` command are introduced by a CLI release, this asset should be rebuilt referencing a newer version of the CLI in `Dockerfile`.

However, the [Tekton example](https://github.com/appsody/tekton-example) relies on the Docker image that is created by the release process of this asset. Therefore, whenever this asset gets released, it is reasonable to expect that a new release of the Tekton example also gets initiated.

However, the [Tekton example](https://github.com/appsody/tekton-example) relies on the Docker image that is created by the release process of this asset. Therefore, whenever this asset gets released, it is reasonable to expect that a new release of the Tekton example also gets initiated.
10 changes: 5 additions & 5 deletions setupAndRunExtract.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,18 @@ else
source="${source%\"}"
source="${source#\"}"
fi
# Appending appsody-source
postfix="/appsody-source"
source=$source$postfix
# Appending git-source - assumes this is called with an env var set
postfix=$gitsource
source=$source/$postfix
export APPSODY_MOUNT_PROJECT=${source}
echo APPSODY_MOUNT_PROJECT=${APPSODY_MOUNT_PROJECT}
# Create the /extracted sub-dir
mkdir /workspace/extracted
# Run appsody extract -v from the source directory
cd /workspace/appsody-source
cd /workspace/$postfix
ls -latr
appsody extract -v
# Copy the extracted contents to /workspace/extracted
cp -rf /builder/home/.appsody/extract/appsody-source/* /workspace/extracted/
cp -rf /builder/home/.appsody/extract/$postfix/* /workspace/extracted/
ls -latr /workspace/extracted

0 comments on commit 3ff31d1

Please sign in to comment.