Skip to content

fix(deps): bump de.flapdoodle.embed:de.flapdoodle.embed.mongo from 4.13.1 to 4.14.0 #637

fix(deps): bump de.flapdoodle.embed:de.flapdoodle.embed.mongo from 4.13.1 to 4.14.0

fix(deps): bump de.flapdoodle.embed:de.flapdoodle.embed.mongo from 4.13.1 to 4.14.0 #637

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@a5ac7e51b41094c92402da3b24376905380afc29 #v4.1.6
with:
path: mongodb-operator
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 #v4.1.6
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/