Skip to content

Commit

Permalink
Fix deploy location for latest rpm package (algorand#1182)
Browse files Browse the repository at this point in the history
For now, put all packages in the stable directory in the algorand-releases bucket for the rpm repo.

This also fixes a typo in a mule task name.
  • Loading branch information
btoll authored Jun 23, 2020
1 parent 97143e5 commit 5a074a2
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions package-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ tasks:
- task: s3.BucketCopy
name: deb
src: s3://algorand-staging/releases/$CHANNEL/$VERSION/algorand_${CHANNEL}_${OS_TYPE}-${ARCH_TYPE}_${VERSION}.deb
dest: /projects/go-algorand/tmp/node_pkgs/${OS_TYPE}/${ARCH_TYPE}
dest: /projects/go-algorand/tmp/node_pkgs/$OS_TYPE/$ARCH_TYPE

- task: s3.BucketCopy
name: rpm
src: s3://algorand-staging/releases/$CHANNEL/$VERSION/algorand-${VERSION}-1.${ARCH_BIT}.rpm
dest: /projects/go-algorand/tmp/node_pkgs/${OS_TYPE}/${ARCH_TYPE}
dest: /projects/go-algorand/tmp/node_pkgs/$OS_TYPE/$ARCH_TYPE

- task: s3.BucketCopy
name: gnupg
Expand All @@ -67,13 +67,15 @@ tasks:

- task: s3.BucketCopy
name: deploy-dev-deb-repo
src: s3://algorand-staging/releases/${CHANNEL}/${VERSION}
dest: s3://algorand-dev-deb-repo/releases/${CHANNEL}/${VERSION}
src: s3://algorand-staging/releases/$CHANNEL/$VERSION
dest: s3://algorand-dev-deb-repo/releases/$CHANNEL/$VERSION

# TODO: For now, we're hardcoding the channel until the beta
# releases are sorted out. This will then be updated.
- task: s3.BucketCopy
name: deploy-rpm-repo
src: /root/rpmrepo
dest: s3://algorand-releases/rpm/${CHANNEL}/${VERSION}
dest: s3://algorand-releases/rpm/stable

jobs:
package-deploy:
Expand Down Expand Up @@ -103,5 +105,5 @@ jobs:

package-deploy-rpm-repo:
tasks:
- s3.BucketCopy.rpm-repo
- s3.BucketCopy.deploy-rpm-repo

0 comments on commit 5a074a2

Please sign in to comment.