Skip to content
This repository has been archived by the owner on Feb 22, 2025. It is now read-only.

Commit

Permalink
Updated GCP VM setup script
Browse files Browse the repository at this point in the history
  • Loading branch information
davemoore- committed Jan 11, 2023
1 parent 940b094 commit 4420fe5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion scripts/gcp/setup-vm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,14 @@ sudo usermod -aG docker $USER
sudo chmod 666 /var/run/docker.sock

# Install kubectl (on GCP VMs)
sudo snap install kubectl --classic
sudo snap install kubectl --channel=1.25/stable --classic

# Install skaffold (tested on: 1.36.0)
# Source: https://skaffold.dev/docs/install/
curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/latest/skaffold-linux-amd64 && \
sudo install skaffold /usr/local/bin/


#### Configure gcloud ########################################################

# Create directory for service account key
Expand Down
2 changes: 1 addition & 1 deletion src/commands/apps.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ const install = (names) => {
else
package = `@microbs.io/app-${name}`
logger.info(`Installing app: ${name}`)
const result = utils.exec(`npm install${g} ${utils.sanitize(package)}`, true)
const result = utils.exec(`npm install${g} ${utils.sanitize(package)} --legacy-peer-deps --preserve-symlinks`, true)
if (result.stderr) {
if (result.stderr.includes('E404'))
logFailure(`...unknown app: ${name}`)
Expand Down

0 comments on commit 4420fe5

Please sign in to comment.