10 Commits
Author SHA1 Message Date
Dominik Sokal 98549f147c don't use awscli for downloading shell app tarballs 2019-04-01 14:48:33 +02:00
Dominik Sokal 9de691c60e adds running smoke tests on CircleCI (#28)
Closes #24.

Turtle smoke tests are being executed from the context of `expo/universe` repository so far. That doesn't make too much sense. I moved running those tests to this repository.
2019-04-01 13:25:30 +02:00
Wojciech Kozyra 4b29da8f5b fixes for expo outside universe (#8)
* fixes for expo outside universe

* move test scripts + fix typos
2019-01-18 11:36:08 +01:00
Haitoandjakubste 95784507d0 [turtle] Smoke test (#3245)
* [turtle] Added smoke tests for building Android image

* [turtle] Recorded tests for iOS and added assertion for job finishing successfully.

* [turtle] Readded unit test config. Modified config to run android and ios test suites in the same run.

* [turtle] Optimized test commands

* [turtle] Moved reload only to mocked file

* [turtle] Replaced fixtureLoader with require. Minor fixes.

* Update server/turtle/README.md

Co-Authored-By: Hajto <[email protected]>

* [turtle] Minor fixes requested by PR #3245

* [turtle] Smoke test refactor

* [turtle] Refactored validator.test.ts

* [turtle] smoke test improvements

* cleanup

* more cleanup

* update readme

* review

* Update server/turtle/README.md

Co-Authored-By: jakubste <[email protected]>

* Update server/turtle/src/__smoke__/smoke.test.ts

Co-Authored-By: jakubste <[email protected]>

* Apply suggestions from code review

Co-Authored-By: jakubste <[email protected]>

* review changes

* add circleci job with turtle tests

* add bash script with env

* [turtle] separate tests on ci for ios/and

* update config for ios
2018-11-22 14:23:47 +01:00
Stanisław Chmiela 67591926b8 Separate versioned Android ABIs (#3215)
* Upgrade Turtle to use per-SDK working directories

* Uncomment shell_app_base_android_new job

* Add Android tarball URLs

* Fix Android Turtle Dockerfile

* End for-loops in Android Turtle Dockerfile

* Update Android shellTarballs

* Use canary version of XDL in Turtle

* __internal__ has been moved to secrets in expo/expo

* Update Android shellTarballs

* Update canary XDL

* Update Android shellTarballs

* Update canary XDL

* Update Android shellTarballs

* Update internal-docs

* Update exponent submodule

* Remove obsolete fetchRemoteAndroidTarball code

* Update exponent submodule

* Update canary XDL

* Update XDL and exponent submodule

* Update Android tarballs
2018-10-19 15:45:15 +02:00
Dominik Sokal 95678617af iOS standalone apps with only one SDK version (#2945)
* [xdl][exponent] support building ios shell apps with only one sdk version

* [circleci] add jobs for building shell apps for each sdk

* [REVERT ME] [circleci] temporarily disable some jobs

* [circleci] fix shell_app_base_ios_upload_single_sdk

* [xdl][turtle][terraform] support building apps with single sdk in turtle

* [turtle][internal-docs] addresses review comments

* [turtle] add more shell tarballs urls (this has to be changes to the proper values anyway - from ios release branch)

* [circleci] don't pass sdk version to gulp task in shell_app_sim_base_ios job

* [turtle] fix ts errors

* [turtle] remove redundant file with types
2018-08-28 09:16:52 +02:00
Dominik Sokal 623163b8b7 [turtle-js] fix fetchRemoteAndroidTarball.sh script 2018-07-30 13:57:50 +02:00
Dominik Sokal 23eec629b4 [turtle-js] fix unpacking android tarball 2018-06-21 15:00:45 +02:00
Dominik Sokal 87ecf793b3 [turtle-js] use android tarball built from android/sdk28 branch (just for now) 2018-06-21 14:22:56 +02:00
Dominik Sokal 445c1ff158 new turtle agent (#2513)
* [turtle] [xdl] [tools-public] move ios app signing from turtle to xdl

* [www] leave errored group expanded only if build is not successful

* [xdl] [tools-public] [turtle] move creating android keystore to xdl

* [xdl] [tools-public] [turtle] refactor client builder

* [tools-public] [turtle] use flag instead of number arg

* [www] revert some changes

* Put job on queue when build is triggered

* node env in message group

* [turtle-js] add boilerplate for new turtle node.js project

* [turtle-js] add module-resolver for babel

* [turtle-js] running turtle with proper NODE_ENV set

* [turtle-js] add config module

* [turtle-js] add eslint

* [turtle][www] Consume jobs from queue

* [turtle]Prettier

* [turtle-js] use config instead of env vars explicitly

* [turtle-js] simplify getting queue url

* [turtle-js] get rid of test code

* [turtle-js] add logger

* [turtle-js] change queue name

* [tools][turtle-js] update update-local-secrets script; use queue url from config

* [turtle-js] refactor aws module using promises

* [www][turtle-js] add validator for jobs objects; add builders boilerplate

* [turtle][www] Android build

* [www] use config var instead of fetching queue url

* [www] fetch ios credentials identified by bundleIdentifier

* [www] use new turtle only for 30% of builds

* [turtle-js] add jest

* wip

* [www] Fix sending to SQS

* [turtle][www] add logging mechanism for s3 log upload and output queue

* [xdl][tools-public][turtle-js] finish ios simulator builder

* [turtle-js] minor fixes

* [turtle-js] use api env vars config

* [turtle-js] working on ios archive builder

* [turtle-js] add plumber to prevent killing gulp process when error occurs

* [turtle-js] finish ios archive builder

* [turtle][www] Communication turtle -> www

* cleanup

* [turtle-js] add fake upload flag (for local builds)

* [xdl][turtle-js] add configuring xdl's logger

* [turtle][www] Upload to s3

* [www][turtle] Fix logs and create android credentials

* [www][turtle] omit started status

* [turtle-js] refactor ios builder

* [turtle] not dupa

* [turtle-js] fix imports

* [turtle-js] use same uploader for android and ios builders

* [www][turtle-js] improve logs

* [www][turtle] fix android keystore creating and signing

* [exp][www] Sent-to-queue is pending

* [turtle] suppress change msg visibility logging

* [turtle] send error on error

* [xdl] add sharp to dev dependencies

* [www] fix link to local build

* [turtle] Add build phase to android builder logger

* [turtle] Retry SQS calls

* [xdl] fix logger's extra fields

* [xdl][turtle-js] better ios builder logs

* [turtle][tf] Add Loggly integration

* [turtle] refactor

* [turtle-js] use correct function from xdl

* [xdl] don't pass FASTLANE_PASSWORD to fastlane

* [exp][www] add env var to force turtle version

* [turtle] Fix loggly integration and probably add sentry

* [turtle][www] Review changes

* [xdl][turtle-js] code review changes #1

* [turtle] Gracefully exit on SIGINT and SIGTERM

* [turtle][www] update credentials only if they does not exist

* [turtle] node version and comment

* [turtle][www] data validation and builder choose based on message

* [turtle] small improvments

* [turtle] review improvments

* [www] Retry sending to SQS

* [turtle-js][www] build jobs with old and new turtle in parallel

* [turtle-js] extract context factory to separate file

* [turtle][www] fix redlock; fix shell app builder

* [www] better slack report

* [xdl] add build phases for fastlane commands logs

* [turtle-js] add script for creating workingdir

* [xdl] add provisioning profile validation

* [turtle-js] add filtering secrets from logs

* [turtle-js] improve turtle logs

* [turtle-js] get rid of .secrets.local-common

* [turtle-js] better variable name

* [turtle-js] refactor promises -> async/await

* [turtle] Introduce Typescript

* [turtle-js] remove babel-plugin-transform-object-rest-spread

* Revert "[turtle-js] get rid of .secrets.local-common"

This reverts commit 9128c59ce514f68d5da5959705acd66c02aa2a32.

* [turtle-js] remove source_up & source_local from .secrets.local-common

* [turtle-js][www] use experienceName instead of fullExperienceName

* [turtle-js] remove redundant job properties

* [turtle-js] add boilerplate for turtle command

* [turtle-js] turtle cli - wip (ios archive builder works)

* [turtle-js] refactor function for generating ios credentials object; ensure simulator builder is working properly

* [turtle-js] add cli for building android standalone app

* [turtle-js] add npm watch script

* [turtle-js] refactor cli builders

* [turtle] Setup CI

* [circleci][turtle-js] finish android builder deployment process

* [circleci] change branch for new_turtle_android_staging job

* [xdl][turtle-js] temporarily change xdl to swmansion/xdl (REVERT ME)

* [turtle-js] alias xdl -> swmansion/xdl (REVERT ME)

* [turtle-js] add tsconfig and gulpfile to tarball

* [turtle-js] use --inspect only for development

* [circleci] uncomment commented jobs

* [turtle-js] change swmansion/xdl -> xdl

* [xdl][turtle-js] remove filtering secrets from logs; ensure secrets are not present in logs

* [www] add generating artifactId

* [circleci] change EXPO_CI_DEP_DIRS for shell_app_base_android_new
2018-06-19 10:26:03 +02:00