Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix release notes and build process #359

Merged
merged 1 commit into from
Jul 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/create-prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,15 +123,23 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DELPREV: ${{ inputs.deletePrevBuild }}
ADDCOMMIT: ${{ inputs.addCommit }}
run: |
if [ "${DELPREV}" = "true" ]
then
set -e
cd ~/work/aerolab/aerolab/bin/packages
echo "${ADDCOMMIT}"
COMMIT=$(git rev-parse --short HEAD)
VER=$(cat ../../VERSION.md)
TAG=${VER}-${COMMIT}
[ "${ADDCOMMIT}" = "false" ] && TAG=${VER}
echo "Protected tag: ${TAG}"
gh release list -R github.com/aerospike/aerolab -L 100 |grep Pre-release |awk -F'\t' '{print $3}' |while read line
do
if [ "$line" != "${TAG}" ]
then
if [[ v$line =~ ^${VER}- ]]
if [[ $line =~ ^${VER}- ]]
then
echo "Removing $line"
gh release delete $line -R github.com/aerospike/aerolab --yes --cleanup-tag
Expand Down
20 changes: 6 additions & 14 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
### Upgrading

If using AWS or GCP backends, extra steps are required to migrate the firewalls from AeroLab version 6.0 or below to a new system.

[Follow this manual for upgrade instructions](https://github.com/aerospike/aerolab/blob/master/docs/upgrade-to-610.md)

NOTES:
* AeroLab 7.0.0 implements an instance expiry system. By default your instances will terminate after 30 hours. To modify this behaviour, create clusters with `--aws-expires TIME` or `--gcp-expires`. For example `--aws-expires 50h`. To disable expiry, set to `0`.
* AeroLab 7.2.0 adds AWS EFS Volume expiries. If using the expiry system in AWS, reinstall using `aerolab config aws expiry-remove && aerolab config aws expiry-install`.
If using AWS or GCP backends, extra steps are required to migrate the firewalls from AeroLab version 6.0 or below to a new system. [Follow this manual for upgrade instructions](https://github.com/aerospike/aerolab/blob/master/docs/upgrade-to-610.md)

### Documentation and changelog
See [the documentation](https://github.com/aerospike/aerolab/blob/master/README.md) for full installation and usage instructions.
Expand All @@ -15,23 +9,21 @@ See [the documentation](https://github.com/aerospike/aerolab/blob/master/README.

### Download aerolab from Assets below

Head to the releases page and download one of the installers, depending on where you are intending to execute aerolab command itself.

Note that aerolab will still be able to deploy Aerospike on both arm and x64 architectures, regardless of which aerolab binary you are using.
Download one of the installers from the releases page, depending on where you are intending to execute aerolab command itself. Aerolab will still be able to deploy Aerospike on both arm and x64 architectures, regardless of which aerolab binary you are using.

AeroLab is currently compiled and packaged for amd64 and arm64 as below:
* MacOS as an installer and compressed binaries
* MacOS as a multiarch installer and compressed binaries
* Linux as zip, deb and rpm
* Windows as zip executables
* Windows as zipped executables

#### Install - MacOS and Linux

It is advisable to use the provided installer files for your distro. Upon download, run the installation and `aerolab` command will become available.

Alternatively, manual installation can be performed by downloading the relevant `zip` file, unpacking it, and then moving the unpacked `aerolab` binary to `/usr/local/bin/` or `/usr/bin/`. Remember to `chmod +x` the binary too.
Alternatively, manual installation can be performed by downloading the relevant `zip` file, unpacking it, and then moving the unpacked `aerolab` binary to `/usr/local/bin/` or `/usr/bin/`. Remember to `chmod +x` the binary.

#### Install - Windows users

Download the zip file, unpack it and run it from `Explorer` by double-clicking on it. AeroLab will install itself and become available in `PowerShell` as the `aerolab` command. You may need to close and reopen PowerShell for the changes to take effect.

Alternative, the binary itself may be called straight from `PowerShell` without first installing.
Alternatively, the binary itself may be called straight from `PowerShell` without first installing.
Loading