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

Improve installation script for code deploy #34

Merged
merged 6 commits into from
Aug 15, 2024

Conversation

matjazv
Copy link

@matjazv matjazv commented Aug 13, 2024

What was the problem?

This PR resolves LISK-912.

How was it solved?

  • Execute installDependencies.sh script inside AfterInstall hook.
  • Execute scripts inside appspec.yml as root.
  • Use --frozen-lockfile for yarn install
  • Read and use node version from .nvmrc file

How was it tested?

installDependencies.sh script was locally executed

@matjazv matjazv self-assigned this Aug 13, 2024
@matjazv matjazv force-pushed the LISK-912-improve-installation-script-for-code-deploy branch from ae221a8 to fd64dff Compare August 14, 2024 07:22
@matjazv matjazv force-pushed the LISK-912-improve-installation-script-for-code-deploy branch from fd64dff to a022cfa Compare August 14, 2024 07:38
Copy link
Member

@sameersubudhi sameersubudhi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 👍
Have left a couple of optional points to address.

scripts/installDependencies.sh Outdated Show resolved Hide resolved
@matjazv matjazv force-pushed the LISK-912-improve-installation-script-for-code-deploy branch from 3d022a4 to df81640 Compare August 14, 2024 09:18
@matjazv matjazv requested a review from ishantiw August 14, 2024 11:21
Copy link
Member

@ishantiw ishantiw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏

@ishantiw ishantiw merged commit f4af38f into master Aug 15, 2024
1 check passed
@ishantiw ishantiw deleted the LISK-912-improve-installation-script-for-code-deploy branch August 15, 2024 10:08
sameersubudhi pushed a commit that referenced this pull request Sep 6, 2024
### What was the problem?

This PR resolves LISK-912.

### How was it solved?

- [x] Execute `installDependencies.sh` script inside `AfterInstall`
hook.
- [x] Execute scripts inside `appspec.yml` as root.
- [x] Use `--frozen-lockfile` for `yarn install`
- [x] Read and use node version from `.nvmrc` file

### How was it tested?

`installDependencies.sh` script was locally executed
sameersubudhi pushed a commit that referenced this pull request Sep 10, 2024
### What was the problem?

This PR resolves LISK-912.

### How was it solved?

- [x] Execute `installDependencies.sh` script inside `AfterInstall`
hook.
- [x] Execute scripts inside `appspec.yml` as root.
- [x] Use `--frozen-lockfile` for `yarn install`
- [x] Read and use node version from `.nvmrc` file

### How was it tested?

`installDependencies.sh` script was locally executed
sameersubudhi pushed a commit that referenced this pull request Sep 10, 2024
### What was the problem?

This PR resolves LISK-912.

### How was it solved?

- [x] Execute `installDependencies.sh` script inside `AfterInstall`
hook.
- [x] Execute scripts inside `appspec.yml` as root.
- [x] Use `--frozen-lockfile` for `yarn install`
- [x] Read and use node version from `.nvmrc` file

### How was it tested?

`installDependencies.sh` script was locally executed
sameersubudhi pushed a commit that referenced this pull request Sep 10, 2024
### What was the problem?

This PR resolves LISK-912.

### How was it solved?

- [x] Execute `installDependencies.sh` script inside `AfterInstall`
hook.
- [x] Execute scripts inside `appspec.yml` as root.
- [x] Use `--frozen-lockfile` for `yarn install`
- [x] Read and use node version from `.nvmrc` file

### How was it tested?

`installDependencies.sh` script was locally executed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants