mirror of
https://github.com/mattermost/mattermost.git
synced 2026-02-03 20:40:00 -05:00
Some checks are pending
API / build (push) Waiting to run
Server CI / Compute Go Version (push) Waiting to run
Server CI / Check mocks (push) Blocked by required conditions
Server CI / Check go mod tidy (push) Blocked by required conditions
Server CI / check-style (push) Blocked by required conditions
Server CI / Check serialization methods for hot structs (push) Blocked by required conditions
Server CI / Vet API (push) Blocked by required conditions
Server CI / Check migration files (push) Blocked by required conditions
Server CI / Generate email templates (push) Blocked by required conditions
Server CI / Check store layers (push) Blocked by required conditions
Server CI / Check mmctl docs (push) Blocked by required conditions
Server CI / Postgres with binary parameters (push) Blocked by required conditions
Server CI / Postgres (push) Blocked by required conditions
Server CI / Postgres (FIPS) (push) Blocked by required conditions
Server CI / Generate Test Coverage (push) Blocked by required conditions
Server CI / Run mmctl tests (push) Blocked by required conditions
Server CI / Run mmctl tests (FIPS) (push) Blocked by required conditions
Server CI / Build mattermost server app (push) Blocked by required conditions
Web App CI / check-lint (push) Waiting to run
Web App CI / check-i18n (push) Blocked by required conditions
Web App CI / check-types (push) Blocked by required conditions
Web App CI / test (platform) (push) Blocked by required conditions
Web App CI / test (mattermost-redux) (push) Blocked by required conditions
Web App CI / test (channels shard 1/4) (push) Blocked by required conditions
Web App CI / test (channels shard 2/4) (push) Blocked by required conditions
Web App CI / test (channels shard 3/4) (push) Blocked by required conditions
Web App CI / test (channels shard 4/4) (push) Blocked by required conditions
Web App CI / upload-coverage (push) Blocked by required conditions
Web App CI / build (push) Blocked by required conditions
* feat: run e2e full tests after successful smoke tests both in cypress and playwright * fix lint check on jsdoc req in playwright test * update smoke test filter * update test filter for cypress tests * update docker services, fix branch convention and rearrange secrets * update e2e-test workflow docs * reorganized * fix lint * fix playwright template * fix results assertion * add retest, e2e-test-verified, gh comments of failed tests, path filters, run e2e-tests check first and demote unstable tests * run using master image for e2e-only changes, add ts/js actions for cypress and playwright calculations, add verified by label --------- Co-authored-by: Mattermost Build <build@mattermost.com>
56 lines
1.7 KiB
Makefile
56 lines
1.7 KiB
Makefile
SHELL := /bin/bash
|
|
|
|
.PHONY: all run stop clean
|
|
all: run
|
|
run: generate-server start-server run-test
|
|
stop: stop-server stop-dashboard clean
|
|
report: collect-report-data publish-report
|
|
clean:
|
|
rm -fv .ci/server.yml
|
|
rm -fv .ci/.env.{server,dashboard,cypress,playwright}
|
|
|
|
.PHONY: generate-server start-server run-test run-specs stop-server restart-server
|
|
generate-server:
|
|
bash ./.ci/server.generate.sh
|
|
start-server: generate-server
|
|
bash ./.ci/server.start.sh
|
|
bash ./.ci/server.prepare.sh
|
|
run-test:
|
|
bash ./.ci/server.run_test.sh
|
|
run-specs:
|
|
bash ./.ci/server.run_specs.sh
|
|
stop-server: generate-server
|
|
bash ./.ci/server.stop.sh
|
|
restart-server: stop-server start-server
|
|
|
|
.PHONY: start-dashboard generate-test-cycle stop-dashboard
|
|
start-dashboard:
|
|
bash ./.ci/dashboard.start.sh
|
|
generate-test-cycle: requirecmd-node generate-server
|
|
bash ./.ci/dashboard.generate_test_cycle.sh
|
|
stop-dashboard:
|
|
bash ./.ci/dashboard.stop.sh
|
|
|
|
.PHONY: cloud-init cloud-teardown
|
|
cloud-init: requirecmd-jq requirecmd-curl
|
|
bash ./.ci/server.cloud_init.sh
|
|
cloud-teardown:
|
|
bash ./.ci/server.cloud_teardown.sh
|
|
|
|
.PHONY: collect-report-data publish-report
|
|
collect-report-data:
|
|
bash ./.ci/report.collect.sh
|
|
publish-report: requirecmd-node
|
|
bash ./.ci/report.publish.sh
|
|
|
|
.PHONY: check-shell fmt-shell fmt-node fmt
|
|
requirecmd-%:
|
|
@which "$(*)" >/dev/null || { echo "Error, missing required CLI tool: $(*). Aborting." >&2; exit 1; }
|
|
check-shell: requirecmd-shellcheck
|
|
shellcheck ./.ci/*.sh ./.ci/.e2erc* # Install with https://webinstall.dev/shfmt/
|
|
fmt-shell: requirecmd-shfmt
|
|
shfmt -w -s -i 2 ./.ci/*.sh # Install with https://webinstall.dev/shellcheck/
|
|
fmt-node: requirecmd-npx
|
|
# Formats yaml files
|
|
npx prettier ./.ci "!./.ci/dashboard" --write --cache
|
|
fmt: fmt-node fmt-shell
|