docker-compose.yml
: rundocker-compose up
, to start the flaky.dev service locally for testing.packages/frontend
: frontend service for configuring flaky.dev.packages/server
: API surface for collecting flaky test information.
Our client libraries follow the Node.js release schedule. Libraries are compatible with all current active and maintenance versions of Node.js.
Client libraries targetting some end-of-life versions of Node.js are available, and
can be installed via npm dist-tags.
The dist-tags follow the naming convention legacy-(version)
.
Legacy Node.js versions are supported as a best effort:
- Legacy versions will not be tested in continuous integration.
- Some security patches may not be able to be backported.
- Dependencies will not be kept up-to-date, and features will not be backported.
legacy-8
: install client libraries from this dist-tag for versions compatible with Node.js 8.
This library follows Semantic Versioning.
This library is considered to be in beta. This means it is expected to be mostly stable while we work toward a general availability release; however, complete stability is not guaranteed. We will address issues and requests against beta libraries with a high priority.
More Information: Google Cloud Platform Launch Stages
Contributions welcome! See the Contributing Guide.
Please note that this README.md
, the samples/README.md
,
and a variety of configuration files in this repository (including .nycrc
and tsconfig.json
)
are generated from a central template. To edit one of these files, make an edit
to its template in this
directory.
The building and deployment process of Flaky.dev has been automated using Cloud Build triggers. The build steps are outlined in the following files:
packages/api/cloudbuild-api.yaml
for building the API containerpackages/frontend/deployment/staging/cloudbuild-frontend.yaml
for building the frontend staging environmentpackages/frontend/deployment/production/cloudbuild-frontend-prod.yaml
for building the frontend production environment
We have implemented a two-pipeline deployment process:
- One pipeline builds our API container and deploys it to Cloud Run
- One pipeline builds the frontend and deploys it to Firebase Hosting
The following environment variables need to be set within the Cloud Run service directly from the Google Cloud Platform console:
HEAD_COLLECTION
= name of head Firestore collectionFLAKY_DB_PROJECT
= name of Google Cloud Project with access to FirestoreCLIENT_ID
= name of secret GitHub Client ID for authenticationCLIENT_SECRET
= name of GitHub Client Secret for authentication
The following substitutions need to be set within the API Cloud Build Trigger directly from the Google Cloud Platform console:
_API_CONTAINER
= name of API Cloud Run container_PROJECT_ID
= name of Google Cloud Project using Cloud Run
The following substituion needs to be set within the frontend Cloud Build Trigger:
_PROJECT_ID
= name of Googleee Cloud Project using Firebase Hosting
If you would like to use our staging environment, push your changes to override the firebase-cloudrun-deployment
branch. As long as the packages/frontend/deployment
folder is unchanged, the build process will be automated and you will be able to view your changes on the following site: flaky-dev-staging.web.app.
Apache Version 2.0
See LICENSE