Skip to content

Commit

Permalink
update, format bamboo specs
Browse files Browse the repository at this point in the history
  • Loading branch information
scripthunter7 committed Apr 26, 2024
1 parent 1864990 commit 62f66e1
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 23 deletions.
4 changes: 0 additions & 4 deletions bamboo-specs/bamboo.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
---
!include 'test.yaml'

---
!include 'increment.yaml'

---
!include 'build.yaml'

---
!include 'deploy.yaml'

---
!include 'permissions.yaml'
8 changes: 4 additions & 4 deletions bamboo-specs/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plan:
key: VSCODEADBLOCKSYNTAXBUILD
name: vscode adblock syntax - build release
variables:
dockerNode: adguard/node-ssh:18.13--1
dockerNode: adguard/node-ssh:21.7--1

stages:
- Build:
Expand All @@ -21,7 +21,7 @@ Build:
docker:
image: ${bamboo.dockerNode}
volumes:
${system.YARN_DIR}: "${bamboo.cacheYarn}"
${system.YARN_DIR}: '${bamboo.cacheYarn}'
tasks:
- checkout:
force-clean-build: true
Expand Down Expand Up @@ -95,7 +95,7 @@ Build:
ls -la
echo "Size before cleanup:" && du -h | tail -n 1
# cleanup root directory
rm -rf node_modules
Expand All @@ -104,7 +104,7 @@ Build:
# cleanup server directory
rm -rf server/node_modules
echo "Size after cleanup:" && du -h | tail -n 1
# Store the .vsix file as a build artifact
artifacts:
Expand Down
14 changes: 7 additions & 7 deletions bamboo-specs/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ environments:

marketplace.visualstudio.com:
docker:
image: adguard/node-ssh:18.13--1
image: adguard/node-ssh:21.7--1
volumes:
${system.YARN_DIR}: "${bamboo.cacheYarn}"
${system.YARN_DIR}: '${bamboo.cacheYarn}'
triggers: []
tasks:
- checkout:
Expand Down Expand Up @@ -56,13 +56,13 @@ marketplace.visualstudio.com:
ls -la
echo "Size before cleanup:" && du -h | tail -n 1
# cleanup root directory
# note: no need to clean client and server directories here, because we only installed
# dependencies in the root directory (for the vsce publish command above)
# TODO: switch to yarn workspaces
rm -rf node_modules
echo "Size after cleanup:" && du -h | tail -n 1
requirements:
- adg-docker: 'true'
Expand All @@ -78,7 +78,7 @@ open-vsx.org:
docker:
image: adguard/node-ssh:18.13--1
volumes:
${system.YARN_DIR}: "${bamboo.cacheYarn}"
${system.YARN_DIR}: '${bamboo.cacheYarn}'
triggers: []
tasks:
- checkout:
Expand Down Expand Up @@ -122,13 +122,13 @@ open-vsx.org:
ls -la
echo "Size before cleanup:" && du -h | tail -n 1
# cleanup root directory
# note: no need to clean client and server directories here, because we only installed
# dependencies in the root directory (for the vsce publish command above)
# TODO: switch to yarn workspaces
rm -rf node_modules
echo "Size after cleanup:" && du -h | tail -n 1
requirements:
- adg-docker: 'true'
Expand Down
6 changes: 3 additions & 3 deletions bamboo-specs/increment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plan:
key: VSCODEADBLOCKSYNTAXINCR
name: vscode adblock syntax - increment
variables:
dockerNode: adguard/node-ssh:18.13--1
dockerNode: adguard/node-ssh:21.7--1

stages:
- Increment:
Expand All @@ -17,9 +17,9 @@ stages:
Increment:
key: INCR
docker:
image: "${bamboo.dockerNode}"
image: '${bamboo.dockerNode}'
volumes:
${system.YARN_DIR}: "${bamboo.cacheYarn}"
${system.YARN_DIR}: '${bamboo.cacheYarn}'
other:
clean-working-dir: true
tasks:
Expand Down
10 changes: 5 additions & 5 deletions bamboo-specs/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plan:
key: VSCODEADBLOCKSYNTAXTEST
name: vscode adblock syntax - tests
variables:
dockerNode: adguard/node-ssh:18.13--1
dockerNode: adguard/node-ssh:21.7--1

stages:
- Build:
Expand All @@ -17,9 +17,9 @@ stages:
Build:
key: BUILD
docker:
image: "${bamboo.dockerNode}"
image: '${bamboo.dockerNode}'
volumes:
${system.YARN_DIR}: "${bamboo.cacheYarn}"
${system.YARN_DIR}: '${bamboo.cacheYarn}'
tasks:
- checkout:
force-clean-build: true
Expand Down Expand Up @@ -78,7 +78,7 @@ Build:
ls -la
echo "Size before cleanup:" && du -h | tail -n 1
# cleanup root directory
rm -rf node_modules
Expand All @@ -87,7 +87,7 @@ Build:
# cleanup server directory
rm -rf server/node_modules
echo "Size after cleanup:" && du -h | tail -n 1
requirements:
- adg-docker: true
Expand Down

0 comments on commit 62f66e1

Please sign in to comment.