forked from jaegertracing/jaeger
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (35 loc) · 1.38 KB
/
ci-deploy-demo.yml
File metadata and controls
42 lines (35 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Deploy Jaeger Demo to OKE
on:
schedule:
- cron: '0 13 * * *' # Daily at 8:00 AM US Eastern Time (ET)
workflow_dispatch:
permissions: read-all
jobs:
deploy:
name: Deploy Jaeger to OKE Cluster
runs-on: ubuntu-latest
env:
OCI_CLI_USER: ${{ secrets.OCI_CLI_USER }}
OCI_CLI_TENANCY: ${{ secrets.OCI_CLI_TENANCY }}
OCI_CLI_FINGERPRINT: ${{ secrets.OCI_CLI_FINGERPRINT }}
OCI_CLI_KEY_CONTENT: ${{ secrets.OCI_CLI_KEY_CONTENT }}
OCI_CLI_REGION: ${{ secrets.OCI_CLI_REGION }}
steps:
- name: Configure kubectl with OKE
uses: oracle-actions/configure-kubectl-oke@77a733d79446dabe7bf0e58eb56197d33ce4dc58 # v1.5.0
with:
cluster: ${{ secrets.OKE_CLUSTER_OCID }}
enablePrivateEndpoint: false
- name: Install Helm
uses: azure/setup-helm@b9e51907a09c216f16ebe8536097933489208112 # v4
- name: Checkout jaeger repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
- name: Deploy using appropriate script
run: |
if [ "${{ github.event_name }}" = "schedule" ]; then
echo "🕒 Scheduled run - using deploy-all.sh (upgrade mode)"
bash ./examples/oci/deploy-all.sh
else
echo "🔄 Manual run - using deploy-all.sh with clean mode (uninstall/install)"
bash ./examples/oci/deploy-all.sh clean
fi