Skip to content

Commit

Permalink
Fix the Upgrade issue for Habitat for BE nodes in Automate HA (#7566)
Browse files Browse the repository at this point in the history
* remove the if check for BE nodes

Signed-off-by: punitmundra <punitmundra2008@gmail.com>

* update sym link instead of copy

Signed-off-by: punitmundra <punitmundra2008@gmail.com>

* bump the pkg

Signed-off-by: punitmundra <punitmundra2008@gmail.com>

Signed-off-by: punitmundra <punitmundra2008@gmail.com>
  • Loading branch information
punitmundra committed Nov 28, 2022
1 parent 6f09593 commit d9cb08f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions components/automate-backend-ctl/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,4 @@ Non-service package.

## Usage

`automate-backend-ctl help`

`automate-backend-ctl help`
2 changes: 1 addition & 1 deletion components/automate-backend-deployment/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ This provides the `automate-backend-deployment` package.

This package will build a package using terraform/a2ha-terraform, inspecs, test, certs and Makefile.

This is the heart of the a2ha because this component will set up a workspace for a2ha and all the a2ha command will get available after installing this package.
This is the heart of the a2ha because this component will set up a workspace for a2ha and all the a2ha command will get available after installing this package
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ tar xf ${aib_file} -C ${tmp_path}/aib_workspace || failure "Failed to extract ${
rsync -a --keep-dirlinks ${tmp_path}/aib_workspace/hab /

# Copy the hab bin if it doesn't exist
[ ! -f /usr/bin/hab ] && rsync -a ${tmp_path}/aib_workspace/bin/hab /usr/bin

#[ ! -f /usr/bin/hab ] && rsync -a ${tmp_path}/aib_workspace/bin/hab /usr/bin
ln -s ${tmp_path}/aib_workspace/bin/hab /bin/hab
# TODO: remove this workaround once the following issue is resolved
# https://github.com/habitat-sh/habitat/issues/6260
export LOGCMD='>>${tmp_path}/svc-load.log 2>&1'
Expand Down

0 comments on commit d9cb08f

Please sign in to comment.