0% found this document useful (0 votes)
52 views3 pages

Pipelinelog 94

The document shows the steps taken to build and deploy a React application from source code in a Bitbucket pipeline. It clones the repository, installs dependencies, builds the application, and caches node modules for future builds.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
52 views3 pages

Pipelinelog 94

The document shows the steps taken to build and deploy a React application from source code in a Bitbucket pipeline. It clones the repository, installs dependencies, builds the application, and caches node modules for future builds.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

+ umask 000

+ GIT_LFS_SKIP_SMUDGE=1 retry 6 git clone --branch="hotfix/fix-chat-loading-issue"


--depth 50 https://x-token-auth:$REPOSITORY_OAUTH_ACCESS_TOKEN@bitbucket.org/
$BITBUCKET_REPO_FULL_NAME.git $BUILD_DIR
Cloning into '/opt/atlassian/pipelines/agent/build'...

+ git reset --hard d162967d3c62c0a471df099518e6ed53b3364233


HEAD is now at d162967 fix chat loading issue

+ git config user.name bitbucket-pipelines

+ git config user.email commits-noreply@bitbucket.org

+ git config push.default current

+ git config http.${BITBUCKET_GIT_HTTP_ORIGIN}.proxy http://localhost:29418/

+ git remote set-url origin http://bitbucket.org/$BITBUCKET_REPO_FULL_NAME

+ git reflog expire --expire=all --all

+ echo ".bitbucket/pipelines/generated" >> .git/info/exclude

+ chmod 777 $BUILD_DIR

Cache "node": Downloading


Cache "node": Downloaded 74.5 MiB in 5 seconds
Cache "node": Extracting
Cache "node": Extracted in 7 seconds

Images used:
build : docker.io/jayabahu/bitbucket-pipeline-to-
aws@sha256:767e2b6a5d063508087ecfbf4e1868643f6b6b14d9fcc327c785d673a92c2c09
+ echo $CHAT_WIDGET_URL

+ echo $REACT_APP_API_HOST

+ yarn
yarn install v1.13.0
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@2.3.1: The platform "linux" is incompatible with this module.
info "fsevents@2.3.1" is an optional dependency and failed compatibility check.
Excluding it from installation.
info fsevents@1.2.13: The platform "linux" is incompatible with this module.
info "fsevents@1.2.13" is an optional dependency and failed compatibility check.
Excluding it from installation.
info fsevents@2.2.1: The platform "linux" is incompatible with this module.
info "fsevents@2.2.1" is an optional dependency and failed compatibility check.
Excluding it from installation.
info fsevents@2.1.3: The platform "linux" is incompatible with this module.
info "fsevents@2.1.3" is an optional dependency and failed compatibility check.
Excluding it from installation.
info human-signals@2.1.0: The engine "node" is incompatible with this module.
Expected version ">=10.17.0". Got "10.14.2"
info "human-signals@2.1.0" is an optional dependency and failed compatibility
check. Excluding it from installation.
[3/4] Linking dependencies...
warning " > @testing-library/user-event@12.8.0" has unmet peer dependency
"@testing-library/dom@>=7.21.4".
warning " > styled-components@5.2.1" has unmet peer dependency "react-is@>=
16.8.0".
[4/4] Building fresh packages...
Done in 47.45s.

+ yarn lint
yarn run v1.13.0
$ eslint . --ext .ts,.tsx --fix
Done in 6.37s.

+ yarn build
yarn run v1.13.0
$ react-scripts build
Creating an optimized production build...
Compiled successfully.

File sizes after gzip:

111.11 KB build/static/js/10.2a030ecc.chunk.js
47.4 KB build/static/js/7.a1bcfd5d.chunk.js
27.1 KB build/static/js/11.95630696.chunk.js
24.04 KB build/static/js/1.025423f6.chunk.js
18.24 KB build/static/js/12.f85151d0.chunk.js
16.85 KB build/static/js/4.0a99474a.chunk.js
12.29 KB build/static/js/0.13bb17a3.chunk.js
11.6 KB build/static/js/2.9dc76335.chunk.js
11.13 KB build/static/js/13.61ac5818.chunk.js
10.86 KB build/static/js/14.dbe61b6c.chunk.js
10.75 KB build/static/js/17.6fa57a9e.chunk.js
9.41 KB build/static/js/5.0786b26c.chunk.js
8.91 KB build/static/js/18.f6c5f66b.chunk.js
8.66 KB build/static/js/21.eb05c7da.chunk.js
7.67 KB build/static/js/16.926a0cbc.chunk.js
7.59 KB build/static/js/20.dfec9ac6.chunk.js
7.48 KB build/static/js/19.126f5dda.chunk.js
7.4 KB build/static/js/15.1b5e8d24.chunk.js
7.08 KB build/static/js/3.52b1c88a.chunk.js
6.45 KB build/static/js/22.f64897fd.chunk.js
5.11 KB build/static/js/25.19c6f0f0.chunk.js
4.14 KB build/static/js/main.e187fd42.chunk.js
4.01 KB build/static/js/23.1bbf8b7e.chunk.js
3.6 KB build/static/js/6.9cc19a29.chunk.js
2.27 KB build/static/js/24.5b29fbb1.chunk.js
1.76 KB build/static/js/runtime-main.f330f37b.js
1.4 KB build/static/js/26.64196596.chunk.js
564 B build/static/css/0.3ca2e7a5.chunk.css
412 B build/static/css/main.2cedc2c5.chunk.css
292 B build/static/css/23.bd79f99b.chunk.css

The project was built assuming it is hosted at /.


You can control this with the homepage field in your package.json.

The build folder is ready to be deployed.


You may serve it with a static server:
yarn global add serve
serve -s build

Find out more about deployment here:

https://cra.link/deployment

Done in 65.43s.

+ CHAT_WIDGET_URL=$CHAT_WIDGET_URL npx webpack --config shim/webpack.production.js


Hash: 6f442644901f31283781
Version: webpack 4.44.2
Time: 1696ms
Built at: 03/07/2021 8:51:08 AM
Asset Size Chunks Chunk Names
shim.js 7.74 KiB 0 [emitted] main
Entrypoint main = shim.js
[0] ./node_modules/css-loader/dist/cjs.js!./shim/styles.css 650 bytes {0} [built]
[1] ./node_modules/js-cookie/src/js.cookie.js 3.79 KiB {0} [built]
[2] ./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js 6.67 KiB
{0} [built]
[3] ./node_modules/css-loader/dist/runtime/api.js 1.57 KiB {0} [built]
[4] ./shim/index.ts + 1 modules 3.35 KiB {0} [built]
| ./shim/index.ts 3.02 KiB [built]
| ./shim/styles.css 327 bytes [built]
You already have a 'node' cache so we won't create it again
Cache "node": Skipping upload for existing cache

Searching for test report files in directories named [test-results, failsafe-


reports, test-reports, surefire-reports] down to a depth of 4
Finished scanning for test reports. Found 0 test report files.
Merged test suites, total number tests is 0, with 0 failures and 0 errors.

You might also like