tests - fix mongo-express/swarm

This commit is contained in:
bunkerity 2022-08-23 13:27:15 +02:00
parent 76f035e21d
commit 61d57b4ebb
No known key found for this signature in database
GPG Key ID: 3D80806F12602A7C
2 changed files with 8 additions and 15 deletions

View File

@ -374,10 +374,10 @@ jobs:
run: cat /opt/.runner_env >> $GITHUB_ENV
# Run tests
- name: Run Docker tests
run: ./tests/main.py "docker"
- name: Run Autoconf tests
run: ./tests/main.py "autoconf"
# - name: Run Docker tests
# run: ./tests/main.py "docker"
# - name: Run Autoconf tests
# run: ./tests/main.py "autoconf"
- name: Run Swarm tests
run: ./tests/main.py "swarm"
- name: Run Kubernetes tests
@ -392,16 +392,6 @@ jobs:
run: ./tests/main.py "linux" "centos"
- name: Run Linux Fedora tests
run: ./tests/main.py "linux" "fedora"
- name: Temp stop tests
run: exit 1
- name: Run autoconf tests
run: ./tests/autoconf.sh ${{ env.BUILD_MODE }}
- name: Run Swarm tests
run: ./tests/swarm.sh ${{ env.BUILD_MODE }}
- name: Run Kubernetes tests
run: ./tests/kubernetes.sh ${{ env.BUILD_MODE }}
- name: Run Linux tests
run: ./tests/linux.sh ${{ env.BUILD_MODE }}
# Push to dev registries
push-docker:

View File

@ -27,10 +27,13 @@ services:
- ME_CONFIG_MONGODB_ADMINPASSWORD=toor # replace with a better password
- ME_CONFIG_BASICAUTH_USERNAME=changeme # replace with a better username
- ME_CONFIG_BASICAUTH_PASSWORD=changeme # replace with a better password
restart: unless-stopped
depends_on:
- mongo
deploy:
restart_policy:
condition: on-failure
delay: 3s
max_attempts: 10
placement:
constraints:
- "node.role==worker"