Skip to content

Commit

Permalink
chore: try that
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolk committed Jul 29, 2023
1 parent 5d0f9b1 commit 885d3ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion codebuild_specs/mock_e2e_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ env:
NODE_OPTIONS: --max-old-space-size=4096
phases:
build:
run-as: codebuild-user
commands:
- source shared-scripts.sh && _waitForJobs build_linux requirePrevJobsToSucceed
- source ./shared-scripts.sh && _mockE2ETests
8 changes: 4 additions & 4 deletions shared-scripts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -152,12 +152,12 @@ function _mockE2ETests {
loadCache repo $CODEBUILD_SRC_DIR
loadCache .cache $HOME/.cache

# useradd -u 8877 osuser
# chown -R osuser .
useradd -u 8877 osuser
chown -R osuser .
source .circleci/local_publish_helpers.sh
cd packages/amplify-util-mock/
# sudo -u osuser 'export NODE_OPTIONS=--max-old-space-size=4096; yarn e2e;'
yarn e2e
sudo -u osuser 'export NODE_OPTIONS=--max-old-space-size=4096; yarn e2e;'
# yarn e2e
}
function _publishToLocalRegistry {
echo "Publish To Local Registry"
Expand Down

0 comments on commit 885d3ad

Please sign in to comment.