mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-10 17:44:03 +00:00
install npm dev dependencies
This commit is contained in:
parent
1618d62df0
commit
bd467e8228
13
.github/workflows/cypress.yml
vendored
13
.github/workflows/cypress.yml
vendored
@ -5,16 +5,17 @@ on:
|
|||||||
# - cron: '*/15 * * * *'
|
# - cron: '*/15 * * * *'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
WORKING_DIR: ./
|
ZITADEL_IMAGE: ghcr.io/zitadel/zitadel:v2.0.1
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-18.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Build the docker-compose stack
|
- name: Install NPM Modules
|
||||||
run: COMPOSE_DOCKER_CLI_BUILD=1 docker compose --verbose --file ${WORKING_DIR}/e2e/docker-compose-workdir.yaml --file ${WORKING_DIR}/docs/docs/guides/installation/run/docker-compose.yaml --file ${WORKING_DIR}/e2e/docker-compose-overwrite.yaml --env-file ${WORKING_DIR}/e2e/compose.env
|
working-directory: ./console
|
||||||
|
run: npm ci --only=dev
|
||||||
|
- name: Test
|
||||||
|
run: ./e2e/docker-compose.sh run e2e
|
||||||
|
3
.github/workflows/zitadel-pr.yml
vendored
3
.github/workflows/zitadel-pr.yml
vendored
@ -23,6 +23,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
install-only: true
|
install-only: true
|
||||||
version: v1.10.3
|
version: v1.10.3
|
||||||
|
- name: Install NPM Modules
|
||||||
|
working-directory: ./console
|
||||||
|
run: npm ci --only=dev
|
||||||
- name: Test
|
- name: Test
|
||||||
run: ./e2e/install.sh
|
run: ./e2e/install.sh
|
||||||
- name: Publish go coverage
|
- name: Publish go coverage
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
zitadel:
|
zitadel:
|
||||||
image: 'zitadel:${BUILD_DATE}'
|
image: '${ZITADEL_IMAGE}'
|
||||||
environment:
|
environment:
|
||||||
# TODO: localhost?
|
# TODO: localhost?
|
||||||
ZITADEL_EXTERNALDOMAIN: zitadel
|
ZITADEL_EXTERNALDOMAIN: zitadel
|
||||||
|
@ -45,7 +45,7 @@ BUILD_DATE="$(extract_metadata metadata.json '.date')"
|
|||||||
BUILD_DATE="${BUILD_DATE%.*}"
|
BUILD_DATE="${BUILD_DATE%.*}"
|
||||||
# Replace colons and plus signs
|
# Replace colons and plus signs
|
||||||
export BUILD_DATE="${BUILD_DATE//:/_}"
|
export BUILD_DATE="${BUILD_DATE//:/_}"
|
||||||
|
export ZITADEL_IMAGE="${ZITADEL_IMAGE:-zitadel:${BUILD_DATE}}"
|
||||||
|
|
||||||
if [ "$DO_BUILD" -eq "1" ]; then
|
if [ "$DO_BUILD" -eq "1" ]; then
|
||||||
BUILD_PATH="$(dirname $(extract_metadata artifacts.json '.[0].path'))"
|
BUILD_PATH="$(dirname $(extract_metadata artifacts.json '.[0].path'))"
|
||||||
@ -56,6 +56,7 @@ if [ "$DO_BUILD" -eq "1" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$DO_DEPLOY" -eq "1" ]; then
|
if [ "$DO_DEPLOY" -eq "1" ]; then
|
||||||
|
echo "Testing ZITADEL image $ZITADEL_IMAGE"
|
||||||
# run cockroach and zitadel
|
# run cockroach and zitadel
|
||||||
./e2e/docker-compose.sh run e2e
|
./e2e/docker-compose.sh run e2e
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user