1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen 2021-04-20 11:27:28 +03:00
parent 9c928b7bcd
commit 0f7e332312

View File

@ -39,13 +39,14 @@ jobs:
path: $(YARN_CACHE_FOLDER) path: $(YARN_CACHE_FOLDER)
displayName: Cache Yarn packages displayName: Cache Yarn packages
- bash: | - bash: |
git clone https://${GH_TOKEN}@github.com/lensapp/lens-ide.git .lens-ide-overlay set -e
git clone "https://${GH_TOKEN}@github.com/lensapp/lens-ide.git" .lens-ide-overlay
rm -rf .lens-ide-overlay/.git rm -rf .lens-ide-overlay/.git
cp -r .lens-ide-overlay/* ./ cp -r .lens-ide-overlay/* ./
cp build/package.json.patch . && patch package.json package.json.patch cp build/package.json.patch . && patch package.json package.json.patch
displayName: Customize config displayName: Customize config
env: env:
GH_TOKEN: $(GH_TOKEN) GH_TOKEN: $(LENS_IDE_GH_TOKEN)
- script: make node_modules - script: make node_modules
displayName: Install dependencies displayName: Install dependencies
- script: make build-npm - script: make build-npm
@ -87,13 +88,14 @@ jobs:
path: $(YARN_CACHE_FOLDER) path: $(YARN_CACHE_FOLDER)
displayName: Cache Yarn packages displayName: Cache Yarn packages
- bash: | - bash: |
git clone https://${GH_TOKEN}@github.com/lensapp/lens-ide.git .lens-ide-overlay set -e
git clone "https://${GH_TOKEN}@github.com/lensapp/lens-ide.git" .lens-ide-overlay
rm -rf .lens-ide-overlay/.git rm -rf .lens-ide-overlay/.git
cp -r .lens-ide-overlay/* ./ cp -r .lens-ide-overlay/* ./
cp build/package.json.patch . && patch package.json package.json.patch cp build/package.json.patch . && patch package.json package.json.patch
displayName: Customize config displayName: Customize config
env: env:
GH_TOKEN: $(GH_TOKEN) GH_TOKEN: $(LENS_IDE_GH_TOKEN)
- script: make node_modules - script: make node_modules
displayName: Install dependencies displayName: Install dependencies
- script: make build-npm - script: make build-npm