Loading .gitlab/ci/federation_test.yml +7 −14 Original line number Diff line number Diff line Loading @@ -22,22 +22,15 @@ SESSION_SECRET: test TEST_FEDERATION_MODE: KEYRING PUPPETEER_EXECUTABLE_PATH: /usr/bin/chromium-browser TESTKIT_PUPPETEER_ARGS: --no-sandbox before_script: - apk add --no-cache sudo - chown -R node . - | sudo -u node sh << EOF corepack enable && corepack prepare yarn npx -w backend prisma migrate deploy npx -w backend prisma generate EOF - sudo -i -u node sh << EOF - corepack enable && corepack prepare - yarn - npx -w backend prisma migrate deploy - npx -w backend prisma generate script: - | sudo -u node sh << EOF whoami yarn workspace @fediverse-auth/backend run test EOF - yarn workspace @fediverse-auth/backend run test mr test federation: when: manual Loading Loading
.gitlab/ci/federation_test.yml +7 −14 Original line number Diff line number Diff line Loading @@ -22,22 +22,15 @@ SESSION_SECRET: test TEST_FEDERATION_MODE: KEYRING PUPPETEER_EXECUTABLE_PATH: /usr/bin/chromium-browser TESTKIT_PUPPETEER_ARGS: --no-sandbox before_script: - apk add --no-cache sudo - chown -R node . - | sudo -u node sh << EOF corepack enable && corepack prepare yarn npx -w backend prisma migrate deploy npx -w backend prisma generate EOF - sudo -i -u node sh << EOF - corepack enable && corepack prepare - yarn - npx -w backend prisma migrate deploy - npx -w backend prisma generate script: - | sudo -u node sh << EOF whoami yarn workspace @fediverse-auth/backend run test EOF - yarn workspace @fediverse-auth/backend run test mr test federation: when: manual Loading