...
The README at https://github.com/nasa/earthdata-search contains documentation detailing configuration, setup, and running Earthdata Search. After following the installation guidelines in the README, follow the rest of the guide for the commands needed to run an initial setup.
...
Git Stash site: https://git.earthdata.nasa.gov/projects/EDSC
Bamboo Build: https://ci.earthdata.nasa.gov/browse/EDSC-EDSCDB/DBN2
...
Earthdata Search uses an agile development process with two-week sprints. At all times, our master main branch maintains a potentially releasable product increment. Once a commit is merged into mastermain, it will immediately trigger a build and deployment to our SIT environment.
...
No change may go into master main until it has undergone peer review in Github and is successfully building in TravisCIGitHub Actions. Master Main is to remain deployable at all times, so ensure it contains production-ready code with green builds.
Occasionally, due to intermittent problems with test timing or execution order, our master main build will fail. Fixing the issue and ensuring it does not happen again becomes the highest priority when this happens.
...
...
Info | ||
---|---|---|
| ||
At the end of every sprint, in order to make patching a release easier, please tag themastermain branch at the latest commit.
These tags are referred to as releases in Github and can be viewed here: https://github.com/nasa/earthdata-search/releasestags |
There are 4 3 shared deployment environments for Earthdata projects, including Earthdata Search:
...
Changes to shared environments must be deployed through Bamboo via the Earthdata Search deployment project. Any successful build of the master main branch in Travis CI GitHub Actions will result in the code being send to the deploy the main branch of the ECC Git repo (BitBucket). Once that branch receives the code, the branch is built and deployed to the EDSC SIT environment (https://search.sit.earthdata.nasa.gov).
...
When building the interface, use the History API to ensure that history entries are pushed to the stack appropriately. Push entries to the stack when the user reaches points they would reasonably expect to bookmark. Avoid pushing entries so frequently that backing out of a state using the back button becomes tedious or impossible.
...
Merging to master main will kick off a build on Travis CIGitHub Actions. Travis Bamboo will automatically kick off a deployment to SIT, on a successful build.
If the build on master main fails and requires intervention a manual deployment to SIT will be required.
Once your code merged into the e2e-services branch on GitHub you'll need to push that branch to the e2e-services branch on Bitbucket. Before you can push to Bitbucket you'll need to add it as a remote:
git remote add bitbucket https://USERNAME@git.earthdata.nasa.gov/scm/edsc/earthdata-search-client_repo.git
Once the remote is establish, ensure that you're on the e2e-services branch, and push it to the Bitbucket remote:
git push bitbucket e2e-services
This will kick off an e2e-services build on Bamboo.
Once on the NASA VPN, visit https://ci.earthdata.nasa.gov/browse/EDSC-EDSCDBDBN2 which will prompt you for your code 700 token, further instruction for each environment are below.
...
This is the most common deployment method. After working a ticket, you've issued a Pull Request, that has been reviewed and merged into master main on GitHub. When Travis CI completes GitHub Actions completes a build on master main it runs runs bin/ecc-sync which syncs mastermain from GitHub to deploy on Bitbucket. Bamboo has a deployment trigger configured to deploy automatically on a successful build to SIT.
...
At any time you can push your code to Bitbucket and create a release from that branch. Note that you should not push these branches to any environment except SIT, and that you should check with all necessary stakeholders before doing so. Once you are done testing that branch on SIT, return SIT back to the normal master main branch deployment.
...