Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Debugging.
Browse files Browse the repository at this point in the history
  • Loading branch information
scottarnette committed Aug 21, 2019
1 parent 2c844fb commit 29cedd4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .cicd/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ else # Linux

. $HELPERS_DIR/docker-hash.sh

PACKAGE_COMMANDS="./generate_package.sh $PACKAGE_TYPE"

if [[ "$IMAGE_TAG" =~ "ubuntu" ]]; then
ARTIFACT='*.deb'
PACKAGE_TYPE='deb'
PACKAGE_COMMANDS="./generate_package.sh $PACKAGE_TYPE"
elif [[ "$IMAGE_TAG" =~ "centos" ]]; then
ARTIFACT='*.rpm'
PACKAGE_TYPE='rpm'
PACKAGE_COMMANDS="mkdir -p ~/rpmbuild/BUILD && mkdir -p ~/rpmbuild/BUILDROOT && mkdir -p ~/rpmbuild/RPMS && mkdir -p ~/rpmbuild/SOURCES && mkdir -p ~/rpmbuild/SPECS && mkdir -p ~/rpmbuild/SRPMS && yum install -y rpm-build && $PACKAGE_COMMANDS"
PACKAGE_COMMANDS="mkdir -p ~/rpmbuild/BUILD && mkdir -p ~/rpmbuild/BUILDROOT && mkdir -p ~/rpmbuild/RPMS && mkdir -p ~/rpmbuild/SOURCES && mkdir -p ~/rpmbuild/SPECS && mkdir -p ~/rpmbuild/SRPMS && yum install -y rpm-build && ./generate_package.sh $PACKAGE_TYPE"
fi

COMMANDS="$PRE_COMMANDS && $PACKAGE_COMMANDS"
Expand Down
2 changes: 1 addition & 1 deletion .cicd/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ steps:
# timeout: 10
# soft_fail: true

# - wait
- wait

# - label: ":ubuntu: Ubuntu 18.04 - Contract Builder"
# command:
Expand Down

0 comments on commit 29cedd4

Please sign in to comment.