Skip to content

Commit

Permalink
fix: update tarball release name to cello, and matching quickstart_ru…
Browse files Browse the repository at this point in the history
…n references (#303)
  • Loading branch information
bkono authored Mar 14, 2022
1 parent 85d889a commit 6953007
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This is an example .goreleaser.yml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
#
project_name: argo-cloudops
project_name: cello
before:
hooks:
# Run this first to avoid possible issues with concurrent builds.
Expand Down Expand Up @@ -62,7 +62,7 @@ archives:
386: i386
amd64: x86_64
checksum:
name_template: 'checksums.txt'
name_template: "checksums.txt"
release:
# Mark non-final version tags (e.g. -dev, -alpha, -beta, etc.) as draft
# releases.
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.12.1] - 2022-03-14
## Changed
* POTENTIALLY BREAKING Release tarballs use cello naming, potentially breaking change for automation scripts

## [0.12.0] - 2022-03-10
### Changed
* Reference renames all around to support new cello-proj/cello repository location.
Expand Down
18 changes: 9 additions & 9 deletions scripts/quickstart_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,23 +55,23 @@ set -e
# Download artifacts
mkdir -p quickstart

latest_release=$(curl --silent "https://api.github.com/repos/argoproj-labs/argo-cloudops/releases/latest" | jq -r .tag_name
latest_release=$(curl --silent "https://api.github.com/repos/cello-proj/cello/releases/latest" | jq -r .tag_name
)
# remove leading 'v'
latest_release="${latest_release//v}"

# download Argo Cloudops CLI if it doesn't exist
# download Cello CLI if it doesn't exist
if [ ! -f quickstart/argo-cloudops ]; then
curl -L https://github.com/cello-proj/cello/releases/download/v${latest_release}/argo-cloudops_cli_${latest_release}_darwin_x86_64.tar.gz -o quickstart/argo-cloudops_cli_${latest_release}_darwin_x86_64.tar.gz &> /dev/null
tar -xzf quickstart/argo-cloudops_cli_${latest_release}_darwin_x86_64.tar.gz -C quickstart/ #&> /dev/null
rm quickstart/argo-cloudops_cli_${latest_release}_darwin_x86_64.tar.gz &> /dev/null
curl -L https://github.com/cello-proj/cello/releases/download/v${latest_release}/cello_cli_${latest_release}_darwin_x86_64.tar.gz -o quickstart/cello_cli_${latest_release}_darwin_x86_64.tar.gz &> /dev/null
tar -xzf quickstart/cello_cli_${latest_release}_darwin_x86_64.tar.gz -C quickstart/ #&> /dev/null
rm quickstart/cello_cli_${latest_release}_darwin_x86_64.tar.gz &> /dev/null
fi

# download Cello service binary if it doesn't exist
if [ ! -f quickstart/service ]; then
curl -L https://github.com/cello-proj/cello/releases/download/v${latest_release}/argo-cloudops_service_${latest_release}_linux_x86_64.tar.gz -o quickstart/argo-cloudops_service_${latest_release}_linux_x86_64.tar.gz &> /dev/null
tar -xzf quickstart/argo-cloudops_service_${latest_release}_linux_x86_64.tar.gz -C quickstart/ &> /dev/null
rm quickstart/argo-cloudops_service_${latest_release}_linux_x86_64.tar.gz &> /dev/null
curl -L https://github.com/cello-proj/cello/releases/download/v${latest_release}/cello_service_${latest_release}_linux_x86_64.tar.gz -o quickstart/cello_service_${latest_release}_linux_x86_64.tar.gz &> /dev/null
tar -xzf quickstart/cello_service_${latest_release}_linux_x86_64.tar.gz -C quickstart/ &> /dev/null
rm quickstart/cello_service_${latest_release}_linux_x86_64.tar.gz &> /dev/null
fi

set +e
Expand Down Expand Up @@ -165,7 +165,7 @@ EOF
kubectl exec vault-0 -- mkdir -p /home/vault/.aws
kubectl cp /tmp/awsConfig vault-0:/home/vault/.aws/credentials

echo "Argo Cloudops started, forwarding to port 8443"
echo "Cello started, forwarding to port 8443"
export ACO_POD="$(kubectl get pods --field-selector status.phase=Running --no-headers -o custom-columns=":metadata.name" | grep argocloudops)"
kubectl port-forward $ACO_POD 8443:8443

Expand Down

0 comments on commit 6953007

Please sign in to comment.