Skip to content

Commit

Permalink
fix workflow for deploy (#384)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicole00 committed Nov 23, 2021
1 parent 5057e92 commit 900c1f2
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/deploy_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,33 @@ jobs:
cp ../../client/src/test/resources/docker-compose.yaml .
docker-compose up -d
sleep 10
docker-compose ps
popd
popd
- name: Install nebula-graph with CA SSL
run: |
pushd tmp
mkdir ca
pushd ca
cp -r ../../client/src/test/resources/ssl .
cp ../../client/src/test/resources/docker-compose-casigned.yaml .
docker-compose -f docker-compose-casigned.yaml up -d
sleep 30
docker-compose -f docker-compose-casigned.yaml ps
popd
popd
- name: Install nebula-graph with Self SSL
run: |
pushd tmp
mkdir self
pushd self
cp -r ../../client/src/test/resources/ssl .
cp ../../client/src/test/resources/docker-compose-selfsigned.yaml .
docker-compose -f docker-compose-selfsigned.yaml up -d
sleep 30
docker-compose -f docker-compose-selfsigned.yaml ps
popd
popd
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/deploy_snapshot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,36 @@ jobs:
cp ../../client/src/test/resources/docker-compose.yaml .
docker-compose up -d
sleep 10
docker-compose ps
popd
popd
- name: Install nebula-graph with CA SSL
run: |
pushd tmp
mkdir ca
pushd ca
cp -r ../../client/src/test/resources/ssl .
cp ../../client/src/test/resources/docker-compose-casigned.yaml .
docker-compose -f docker-compose-casigned.yaml up -d
sleep 30
docker-compose -f docker-compose-casigned.yaml ps
popd
popd
- name: Install nebula-graph with Self SSL
run: |
pushd tmp
mkdir self
pushd self
cp -r ../../client/src/test/resources/ssl .
cp ../../client/src/test/resources/docker-compose-selfsigned.yaml .
docker-compose -f docker-compose-selfsigned.yaml up -d
sleep 30
docker-compose -f docker-compose-selfsigned.yaml ps
popd
popd
- name: Deploy Snapshot to Maven package
uses: samuelmeuli/action-maven-publish@v1
with:
Expand Down

0 comments on commit 900c1f2

Please sign in to comment.