-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #675 from opencb/TASK-5061
TASK-5061 - Replace the mongoDB step in the Cellbase build with a kubectl that tunnels to a machine where the test data already exists
- Loading branch information
Showing
2 changed files
with
10 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,11 +20,12 @@ jobs: | |
distribution: 'temurin' | ||
java-version: '11' | ||
cache: 'maven' | ||
- name: Start MongoDB v6.0 | ||
uses: supercharge/[email protected] | ||
with: | ||
mongodb-version: 6.0 | ||
mongodb-replica-set: rs-test | ||
- name: K8s Tunnel MongoDB | ||
run: | | ||
wget https://dl.k8s.io/release/v1.28.2/bin/linux/amd64/kubectl | ||
chmod +x ./kubectl | ||
echo "${{ secrets.AZURE_KUBE_CONFIG }}" > admin.conf | ||
./kubectl -n cellbase-db port-forward services/cellbase-rs0-svc 27017:27017 --kubeconfig ./admin.conf & | ||
- name: Install dependencies branches | ||
run: | | ||
if [ -f "./.github/workflows/scripts/get_same_branch.sh" ]; then | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters