🔥 [OIDC] - Do not fail if IDP is not reachable at startup #443
Travis CI / Travis CI - Branch
succeeded
Sep 29, 2024 in 10m 35s
Build Passed
The build passed. This is a change from the previous build, which failed.
Details
This is a normal build for the feature/#424_oidc_lazy_startup branch. You should be able to reproduce it by checking out the branch locally.
Jobs and Stages
This build only has a single job.
You can use jobs to test against multiple versions of your runtime or dependencies, or to speed up your build.
Build Configuration
Build Option | Setting |
---|---|
Language | Shell |
Operating System | Linux (Jammy) |
Build Configuration
{
"language": "shell",
"os": [
"linux"
],
"dist": "jammy",
"env": [
"global={:NODE_VERSION=>\"18\"}={:CC_TEST_REPORTER_ID=>\"46ef31dae5b656e0f4be410a86bd83bdcf73e7d27ab33a704c197e6fe4bf02a0\"}"
],
"before_install": [
"export IMAGE_VERSION=${TRAVIS_BRANCH//\\//\\_}",
"export IMAGE_VERSION=${IMAGE_VERSION//\\#/\\_}",
"sudo install -m 0755 -d /etc/apt/keyrings",
"sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc",
"sudo chmod a+r /etc/apt/keyrings/docker.asc",
"echo \"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu $(. /etc/os-release && echo \"$VERSION_CODENAME\") stable\" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null",
"sudo apt-get update",
"sudo apt-get install -y docker-buildx-plugin",
"nvm install $NODE_VERSION",
"curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./app/cc-test-reporter",
"(cd app && chmod +x ./cc-test-reporter)",
"(cd app && ./cc-test-reporter before-build)"
],
"install": [
"(cd app && npm ci)",
"(cd e2e && npm ci)",
"(cd ui && npm ci)",
"(cd app && npm run lint)",
"(cd e2e && npm run lint)",
"(cd ui && npm run lint)",
"(cd app && npm test)",
"set -v",
"(cd ui && npm run build)",
"docker build -t wud --build-arg WUD_VERSION=$IMAGE_VERSION ."
],
"script": [
"docker login registry.gitlab.com -u \"$GITLAB_USERNAME\" -p \"$GITLAB_TOKEN\"",
"docker pull nginx:1.10-alpine",
"docker pull nginx:1.20-alpine",
"docker tag nginx:1.10-alpine nginx:latest",
"docker tag nginx:1.10-alpine fmartinou/test:1.0.0",
"docker tag nginx:1.10-alpine 229211676173.dkr.ecr.eu-west-1.amazonaws.com/test:1.0.0",
"docker tag nginx:1.10-alpine 229211676173.dkr.ecr.eu-west-1.amazonaws.com/sub/test:1.0.0",
"docker tag nginx:1.10-alpine 229211676173.dkr.ecr.eu-west-1.amazonaws.com/sub/sub/test:1.0.0",
"docker pull homeassistant/home-assistant",
"docker pull homeassistant/home-assistant:2021.6.1",
"docker pull omnidbteam/omnidb",
"docker pull pihole/pihole",
"docker pull pihole/pihole:v5.7",
"docker pull writl/pyload",
"docker pull traefik",
"docker pull traefik:2.4.5",
"docker pull vaultwarden/server",
"docker pull vaultwarden/server:1.32.0-alpine",
"docker pull jeeaaasustest/youtube-dl",
"docker run -d --name ecr_sub_sub_test --label 'wud.watch=true' 229211676173.dkr.ecr.eu-west-1.amazonaws.com/sub/sub/test:1.0.0",
"docker run -d --name ecr_sub_test --label 'wud.watch=true' 229211676173.dkr.ecr.eu-west-1.amazonaws.com/sub/test:1.0.0",
"docker run -d --name ecr_test --label 'wud.watch=true' 229211676173.dkr.ecr.eu-west-1.amazonaws.com/test:1.0.0",
"docker run -d --name ghcr_radarr --label 'wud.watch=true' --label 'wud.tag.include=^\\d+\\.\\d+\\.\\d+\\.\\d+-ls\\d+$' ghcr.io/linuxserver/radarr:3.2.1.5070-ls105",
"docker run -d --name gitlab_test --label 'wud.watch=true' --label 'wud.tag.include=^\\d+\\.\\d+\\.\\d+$' registry.gitlab.com/manfred-martin/docker-registry-test:1.0.0",
"docker run -d --name hub_homeassistant_202161 --label 'wud.watch=true' --label 'wud.tag.include=^\\d+\\.\\d+.\\d+$' --label 'wud.link.template=https://github.com/home-assistant/core/releases/tag/${major}.${minor}.${patch}' homeassistant/home-assistant:2021.6.1",
"docker run -d --name hub_homeassistant_latest --label 'wud.watch=true' --label 'wud.watch.digest=true' --label 'wud.tag.include=^latest$' homeassistant/home-assistant",
"docker run -d --name hub_nginx_120 --label 'wud.watch=true' --label 'wud.tag.include=^\\d+\\.\\d+-alpine$' nginx:1.20-alpine",
"docker run -d --name hub_nginx_latest --label 'wud.watch=true' --label 'wud.watch.digest=true' --label 'wud.tag.include=^latest$' nginx",
"docker run -d --name hub_omnidb_latest --label 'wud.watch=true' --label 'wud.watch.digest=true' --label 'wud.tag.include=^latest$' omnidbteam/omnidb",
"docker run -d --name hub_pihole_57 --label 'wud.watch=true' --label 'wud.tag.include=^v\\d+\\.\\d+.\\d+$' pihole/pihole:v5.7",
"docker run -d --name hub_pihole_latest --label 'wud.watch=true' --label 'wud.watch.digest=true' --label 'wud.tag.include=^latest$' pihole/pihole",
"docker run -d --name hub_pyload_latest --label 'wud.watch=true' --label 'wud.watch.digest=true' --label 'wud.tag.include=^latest$' writl/pyload",
"docker run -d --name hub_traefik_245 --label 'wud.watch=true' --label 'wud.tag.include=^\\d+\\.\\d+.\\d+$' traefik:2.4.5",
"docker run -d --name hub_traefik_latest --label 'wud.watch=true' --label 'wud.watch.digest=true' --label 'wud.tag.include=^latest$' traefik",
"docker run -d --name hub_vaultwarden_1222 --label 'wud.watch=true' --label 'wud.tag.include=^\\d+\\.\\d+.\\d+-alpine$' -e I_REALLY_WANT_VOLATILE_STORAGE=true vaultwarden/server:1.32.0-alpine",
"docker run -d --name hub_vaultwarden_latest --label 'wud.watch=true' --label 'wud.watch.digest=true' --label 'wud.tag.include=^latest$' -e I_REALLY_WANT_VOLATILE_STORAGE=true vaultwarden/server",
"docker run -d --name hub_youtubedb_latest --label 'wud.watch=true' --label 'wud.watch.digest=true' --label 'wud.tag.include=^latest$' jeeaaasustest/youtube-dl",
"docker run -d --name lscr_radarr --label 'wud.watch=true' --label 'wud.tag.include=^\\d+\\.\\d+\\.\\d+\\.\\d+-ls\\d+$' lscr.io/linuxserver/radarr:3.2.1.5070-ls105",
"docker run -d --name quay_prometheus --label 'wud.watch=true' --label 'wud.tag.include=^v\\d+\\.\\d+\\.\\d+$' quay.io/prometheus/prometheus:v2.52.0",
"docker run -d --name wud --publish 3000:3000 --volume /var/run/docker.sock:/var/run/docker.sock --env WUD_TRIGGER_MOCK_EXAMPLE_MOCK=mock --env WUD_WATCHER_LOCAL_WATCHBYDEFAULT=false --env WUD_REGISTRY_ACR_CLIENTID=\"$ACR_CLIENT_ID\" --env WUD_REGISTRY_ACR_CLIENTSECRET=\"$ACR_CLIENT_SECRET\" --env WUD_REGISTRY_ECR_ACCESSKEYID=\"$AWS_ACCESSKEY_ID\" --env WUD_REGISTRY_ECR_SECRETACCESSKEY=\"$AWS_SECRET_ACCESSKEY\" --env WUD_REGISTRY_ECR_REGION=eu-west-1 --env WUD_REGISTRY_GCR_CLIENTEMAIL=\"$GCR_CLIENT_EMAIL\" --env WUD_REGISTRY_GCR_PRIVATEKEY=\"$GCR_PRIVATE_KEY\" --env WUD_REGISTRY_GHCR_USERNAME=\"$GITHUB_USERNAME\" --env WUD_REGISTRY_GHCR_TOKEN=\"$GITHUB_TOKEN\" --env WUD_REGISTRY_GITLAB_TOKEN=\"$GITLAB_TOKEN\" --env WUD_REGISTRY_LSCR_USERNAME=\"$GITHUB_USERNAME\" --env WUD_REGISTRY_LSCR_TOKEN=\"$GITHUB_TOKEN\" --env WUD_AUTH_BASIC_JOHN_USER=\"john\" --env WUD_AUTH_BASIC_JOHN_HASH='$apr1$8zDVtSAY$62WBh9DspNbUKMZXYRsjS/' wud\n",
"sleep 20",
"(cd e2e && npm run cucumber)"
],
"after_success": [
"(cd app && ./cc-test-reporter after-build -t lcov --debug --exit-code $TRAVIS_TEST_RESULT)",
"if [ \"$TRAVIS_BRANCH\" == \"master\" ] ; then export IMAGE_VERSION=latest; fi",
"if [ ! -z \"$TRAVIS_TAG\" ] ; then export IMAGE_VERSION=$TRAVIS_TAG; fi",
"docker login -u \"$DOCKER_USERNAME\" -p \"$DOCKER_PASSWORD\"",
"docker login ghcr.io -u \"$GITHUB_USERNAME\" -p \"$GITHUB_TOKEN\"",
"docker version",
"make prepare",
"make build IMAGE_NAME=whats-up-docker IMAGE_VERSION=$IMAGE_VERSION PLATFORMS=linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/amd64 DOCKER_USERNAME=$DOCKER_USERNAME GITHUB_USERNAME=$GITHUB_USERNAME"
]
}
Loading