Skip to content

chore(deps): bump actions/setup-python from 5.4.0 to 5.5.0 #946

chore(deps): bump actions/setup-python from 5.4.0 to 5.5.0

chore(deps): bump actions/setup-python from 5.4.0 to 5.5.0 #946

name: Health ArgoCD Integration
# This workflow tests the Lua scripts for MongoDb health status in ArgoCD
on:
push:
branches:
- master
pull_request:
jobs:
integration-test:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
with:
path: mongodb-operator
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
with:
path: argocd
repository: "argoproj/argo-cd"
- uses: actions/setup-go@v4
with:
# match argocd version in https://github.com/argoproj/argo-cd/blob/master/go.mod
go-version: '1.21'
- name: Prepare
run: |
rm mongodb-operator/health/argocd/persistence.sda-se.com/MongoDb/health_test.lua
cp -R mongodb-operator/health/argocd/persistence.sda-se.com argocd/resource_customizations
- name: Verify
run: |
ls -alR argocd/resource_customizations/persistence.sda-se.com/MongoDb
cat argocd/resource_customizations/persistence.sda-se.com/MongoDb/health.lua
cat argocd/resource_customizations/persistence.sda-se.com/MongoDb/testdata/healthy.yaml
- name: Test
run: |
cd argocd
go test -v ./util/lua/