Skip to content

Commit

Permalink
AG-30908 clean node_modules
Browse files Browse the repository at this point in the history
Merge in EXTENSIONS/disable-amp from fix/AG-30908 to master

Squashed commit of the following:

commit 6f7c901
Author: Stanislav Atroschenko <[email protected]>
Date:   Tue Mar 5 21:09:22 2024 +0300

    remove leftover

commit a1598a2
Author: Stanislav Atroschenko <[email protected]>
Date:   Tue Mar 5 21:02:32 2024 +0300

    AG-30908 clean node_modules
  • Loading branch information
stanislav-atr committed Mar 5, 2024
1 parent 996b266 commit a1e20d2
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 4 deletions.
17 changes: 16 additions & 1 deletion bamboo-specs/build-beta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ Build:
ls -alt
yarn install ${bamboo.varsYarn}
yarn beta
rm -rf node_modules
- inject-variables:
file: build/beta/variables.txt
scope: RESULT
Expand All @@ -42,6 +41,22 @@ Build:
configuration:
selectedRepository: defaultRepository
tagName: v${bamboo.userscriptMeta.version}-beta
final-tasks:
- script:
interpreter: SHELL
scripts:
- |-
set -x
set -e
# Fix mixed logs
exec 2>&1
ls -la
echo "Size before cleanup:" && du -h | tail -n 1
rm -rf node_modules
echo "Size after cleanup:" && du -h | tail -n 1
artifacts:
- name: disable-amp.meta.js
location: build/beta
Expand Down
17 changes: 16 additions & 1 deletion bamboo-specs/build-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ Build:
ls -alt
yarn install ${bamboo.varsYarn}
yarn release
rm -rf node_modules
- inject-variables:
file: build/release/variables.txt
scope: RESULT
Expand All @@ -42,6 +41,22 @@ Build:
configuration:
selectedRepository: defaultRepository
tagName: v${bamboo.userscriptMeta.version}
final-tasks:
- script:
interpreter: SHELL
scripts:
- |-
set -x
set -e
# Fix mixed logs
exec 2>&1
ls -la
echo "Size before cleanup:" && du -h | tail -n 1
rm -rf node_modules
echo "Size after cleanup:" && du -h | tail -n 1
artifacts:
- name: disable-amp.meta.js
location: build/release
Expand Down
17 changes: 15 additions & 2 deletions bamboo-specs/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,22 @@ Test:
ls -alt
yarn install ${bamboo.varsYarn}
yarn dev
rm -rf node_modules
final-tasks:
- clean
- script:
interpreter: SHELL
scripts:
- |-
set -x
set -e
# Fix mixed logs
exec 2>&1
ls -la
echo "Size before cleanup:" && du -h | tail -n 1
rm -rf node_modules
echo "Size after cleanup:" && du -h | tail -n 1
requirements:
- adg-docker: 'true'

Expand Down

0 comments on commit a1e20d2

Please sign in to comment.