Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs update #50

Merged
merged 20 commits into from
Nov 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 19 additions & 18 deletions .github/workflows/master-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,9 @@ jobs:
kubectl config use-context $CONTEXT


- name: Helm upgrade/install 01-010 conduit nodes to IBM Cluster
- name: Helm upgrade/install 02-06 conduit nodes to IBM Cluster
run: |
for i in $(seq -w 001 010); do
for i in $(seq -w 002 006); do
echo "Deploying node $i"
cd cluster-backend/helmcharts/oracles/conduit-test/$i
helm upgrade --install -n dia-lumina --set repository.tag="commit-hash-${{ env.COMMIT_HASH }}" diaoracleservice-conduit-$i .
Expand Down Expand Up @@ -139,16 +139,16 @@ jobs:
kubectl config set-context $CONTEXT --cluster="$CLUSTER_NAME" --user=$SERVICE_ACCOUNT
kubectl config use-context $CONTEXT

- name: Helm upgrade/install conduit-node-013 and conduit-node-014 to Hetzner Cluster
- name: Helm upgrade/install 07-011 conduit nodes to IBM Cluster
run: |
cd cluster-backend/helmcharts/oracles/conduit-test/013
helm upgrade --install -n dia-lumina --set repository.tag="commit-hash-${{ env.COMMIT_HASH }}" diaoracleservice-conduit-013 .
sleep 10
cd ..
cd 014
helm upgrade --install -n dia-lumina --set repository.tag="commit-hash-${{ env.COMMIT_HASH }}" diaoracleservice-conduit-014 .
for i in $(seq -w 007 011); do
echo "Deploying node $i"
cd cluster-backend/helmcharts/oracles/conduit-test/$i
helm upgrade --install -n dia-lumina --set repository.tag="commit-hash-${{ env.COMMIT_HASH }}" diaoracleservice-conduit-$i .
cd -
done
cd
# Clean up CA certificate
# Clean up CA certificate immediately
if [ -f /tmp/ca.pem ]; then shred -u /tmp/ca.pem; fi

- name: Civo Cluster kubectl config
Expand All @@ -169,15 +169,16 @@ jobs:
kubectl config set-context $CONTEXT --cluster="$CLUSTER_NAME" --user=$SERVICE_ACCOUNT
kubectl config use-context $CONTEXT

- name: Helm upgrade/install conduit-node-015 and conduit-node-016 to Civo Cluster
- name: Helm upgrade/install conduit-node-012 and conduit-node-016 to Civo Cluster
run: |
cd cluster-backend/helmcharts/oracles/conduit-test/015
helm upgrade --install -n dia-lumina --set repository.tag="commit-hash-${{ env.COMMIT_HASH }}" diaoracleservice-conduit-015 .
sleep 10
cd ..
cd 016
helm upgrade --install -n dia-lumina --set repository.tag="commit-hash-${{ env.COMMIT_HASH }}" diaoracleservice-conduit-016 .
# Clean up CA certificate
for i in $(seq -w 012 016); do
echo "Deploying node $i"
cd cluster-backend/helmcharts/oracles/conduit-test/$i
helm upgrade --install -n dia-lumina --set repository.tag="commit-hash-${{ env.COMMIT_HASH }}" diaoracleservice-conduit-$i .
cd -
done
cd
# Clean up CA certificate immediately
if [ -f /tmp/ca.pem ]; then shred -u /tmp/ca.pem; fi

# Cleanup the cloned repository
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,10 @@ jobs:
kubectl config use-context $CONTEXT

# Helm upgrade command with the commit hash tag
- name: Helm upgrade/install conduit-node-011
- name: Helm upgrade/install conduit-node-001
run: |
cd cluster-backend/helmcharts/oracles/conduit-test/011-testspace
helm upgrade --install -n dia-testspace --set repository.tag="commit-hash-${{ env.COMMIT_HASH }}" diaoracleservice-conduit-011 .
cd cluster-backend/helmcharts/oracles/conduit-test/001
helm upgrade --install -n dia-testspace --set repository.tag="commit-hash-${{ env.COMMIT_HASH }}" diaoracleservice-conduit-001 .
# Clean up CA certificate
if [ -f /tmp/ca.pem ]; then shred -u /tmp/ca.pem; fi

Expand Down
Loading
Loading