Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
191 changes: 0 additions & 191 deletions .github/workflows/deploy.yml

This file was deleted.

41 changes: 0 additions & 41 deletions .github/workflows/release-and-deploy.yml

This file was deleted.

88 changes: 0 additions & 88 deletions .github/workflows/release.yml

This file was deleted.

6 changes: 1 addition & 5 deletions .heliumcli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,7 @@ projects:
- platform
- frontend
- www
- cluster-tests
- frontend-legacy
releaseProjects:
- cluster-tests
- frontend-legacy
releaseProjects: []
projectsRelativeDir: projects
remoteName: origin
serverBinFilename: bin/runserver
Expand Down
41 changes: 2 additions & 39 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
.PHONY: all install-reqs install build start validate test-cluster-legacy fetch-support-articles
.PHONY: all install-reqs install build start validate fetch-support-articles

SHELL := /usr/bin/env bash
PYTHON_BIN := python
HELIUMCLI_PROJECTS ?= '["platform", "frontend", "www", "cluster-tests", "frontend-legacy"]'
HELIUMCLI_PROJECTS ?= '["platform", "frontend"]'
SKIP_UPDATE ?= 'false'
DEV_LOCAL_AWS_REGION ?= 'us-east-2'
PLATFORM ?= arm64
PROJECT_APP_LEGACY_HOST ?= http://localhost:3000

all: install start

Expand Down Expand Up @@ -35,44 +34,8 @@ start:
stop:
make -C projects/platform stop-docker
make -C projects/frontend stop-docker
make -C projects/frontend-legacy stop-docker

restart: stop start

start-legacy:
cd projects/frontend-legacy && ./bin/runserver

fetch-support-articles: install-reqs
$(PYTHON_BIN) scripts/fetch_support_articles.py

test-cluster-legacy:
@if [[ -z "${PLATFORM_EMAIL_HOST_USER}" ]] || \
[[ -z "${PLATFORM_EMAIL_HOST_PASSWORD}" ]] || \
[[ -z "${PLATFORM_TWILIO_ACCOUNT_SID}" ]] || \
[[ -z "${PLATFORM_TWILIO_AUTH_TOKEN}" ]] || \
[[ -z "${PLATFORM_TWILIO_SMS_FROM}" ]] || \
[[ -z "${AWS_INTEGRATION_S3_ACCESS_KEY_ID}" ]] || \
[[ -z "${AWS_INTEGRATION_S3_SECRET_ACCESS_KEY}" ]] || \
[[ -z "${CI_TWILIO_RECIPIENT_PHONE_NUMBER}" ]]; then \
echo "Set all env vars required to run cluster tests end-to-end against a local Docker build: [\
PLATFORM_EMAIL_HOST_USER, \
PLATFORM_EMAIL_HOST_PASSWORD, \
PLATFORM_TWILIO_ACCOUNT_SID, \
PLATFORM_TWILIO_AUTH_TOKEN, \
PLATFORM_TWILIO_SMS_FROM, \
AWS_INTEGRATION_S3_ACCESS_KEY_ID, \
AWS_INTEGRATION_S3_SECRET_ACCESS_KEY, \
CI_TWILIO_RECIPIENT_PHONE_NUMBER]"; \
exit 1; \
fi

./projects/platform/bin/provision-dot-env.sh

make -C projects/platform run-docker
make -C projects/frontend-legacy run-docker

ENVIRONMENT=dev-local \
PROJECT_APP_HOST=$(PROJECT_APP_LEGACY_HOST) \
PROJECT_API_HOST=http://localhost:8000 \
AWS_REGION=$(DEV_LOCAL_AWS_REGION) \
make -C projects/cluster-tests test
Loading