diff --git a/.buildkite/android.yml b/.buildkite/android.yml new file mode 100644 index 000000000..4b9c7cc1f --- /dev/null +++ b/.buildkite/android.yml @@ -0,0 +1,6 @@ +steps: + - command: + - 'yarn cleaninstall --frozen-lockfile --skip-optional' + - 'cd native/android && ./gradlew bundleRelease' + agents: + - 'android=true' diff --git a/.buildkite/eslint_flow_jest.yml b/.buildkite/eslint_flow_jest.yml new file mode 100644 index 000000000..c2bd5f7db --- /dev/null +++ b/.buildkite/eslint_flow_jest.yml @@ -0,0 +1,9 @@ +steps: + - command: + - '(pkill flow || true)' + - 'yarn cleaninstall --frozen-lockfile --skip-optional' + - 'yarn eslint --max-warnings=0 & yarn workspace lib flow & yarn workspace web flow & yarn workspace landing flow & yarn workspace native flow' + - 'cd keyserver && mkdir secrets && touch secrets/db_config.json && touch secrets/olm_config.json && mkdir facts && touch facts/app_url.json && touch facts/commapp_url.json && touch facts/squadcal_url.json && touch facts/landing_url.json && touch facts/url.json && cd ../ && yarn workspace keyserver flow' + - 'cd lib && yarn test' + agents: + - 'linux=true' diff --git a/.buildkite/ios.yml b/.buildkite/ios.yml new file mode 100644 index 000000000..bc2df20b5 --- /dev/null +++ b/.buildkite/ios.yml @@ -0,0 +1,7 @@ +steps: + - command: + - 'pod repo update && yarn workspace native clean-ios' + - 'yarn cleaninstall --frozen-lockfile --skip-optional' + - 'cd native/ios && xcodebuild -workspace Comm.xcworkspace -scheme Comm -destination generic/platform=iOS -allowProvisioningUpdates' + agents: + - 'mac=true' diff --git a/.buildkite/services.yml b/.buildkite/services.yml new file mode 100644 index 000000000..2cf18bbf6 --- /dev/null +++ b/.buildkite/services.yml @@ -0,0 +1,6 @@ +steps: + - command: + - 'yarn cleaninstall --frozen-lockfile --skip-optional' + - 'cd services && yarn build-all' + agents: + - 'docker=true'