Skip to content

Commit

Permalink
remove build
Browse files Browse the repository at this point in the history
  • Loading branch information
CapCap authored and davidiw committed Sep 25, 2022
1 parent b72f5ce commit 5314b72
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 192 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/deploy-community-platform-to-prod.yaml

This file was deleted.

27 changes: 0 additions & 27 deletions .github/workflows/deploy-community-platform-to-staging.yaml

This file was deleted.

58 changes: 0 additions & 58 deletions .github/workflows/deploy-community-platform.yaml

This file was deleted.

28 changes: 0 additions & 28 deletions .github/workflows/docker-build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ jobs:
github.event_name == 'workflow_dispatch' ||
contains(github.event.pull_request.labels.*.name, 'CICD:build-images') ||
contains(github.event.pull_request.labels.*.name, 'CICD:run-e2e-tests') ||
contains(github.event.pull_request.labels.*.name, 'CICD:deploy-community-platform-to-staging') ||
github.event.pull_request.auto_merge != null ||
contains(github.event.pull_request.body, '#e2e')
runs-on: ubuntu-latest
Expand Down Expand Up @@ -194,30 +193,3 @@ jobs:
# test lifecycle is separate from that of GHA. This protects us from the case where many Forge tests are triggered
# by this GHA. If there is a Forge namespace collision, Forge will pre-empt the existing test running in the namespace.
FORGE_NAMESPACE: forge-compat-${{ needs.determine-docker-build-metadata.outputs.targetCacheId }}

community-platform:
needs: [permission-check]
runs-on: high-perf-docker
steps:
- uses: actions/checkout@v3
with:
ref: ${{ env.GIT_SHA }}

- uses: ./.github/actions/gar-auth
with:
GCP_WORKLOAD_IDENTITY_PROVIDER: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }}
GCP_SERVICE_ACCOUNT_EMAIL: ${{ secrets.GCP_SERVICE_ACCOUNT_EMAIL }}

- name: Login to ECR
uses: docker/login-action@v2
with:
registry: ${{ secrets.ENV_ECR_AWS_ACCOUNT_NUM }}.dkr.ecr.us-west-2.amazonaws.com
username: ${{ secrets.AWS_ACCESS_KEY_ID }}
password: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

- uses: ./.github/actions/docker-buildx-setup

- name: Build and Push Community Platform image
run: |
cd ecosystem/platform/server
docker buildx bake --progress=plain --push -f ./docker-bake.hcl
60 changes: 0 additions & 60 deletions .github/workflows/lint-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,66 +51,6 @@ jobs:
- run: cd ./ecosystem/typescript/sdk && yarn lint
- run: cd ./ecosystem/typescript/sdk && yarn fmt:check

community-platform-lint:
runs-on: ubuntu-latest
env:
RAILS_ENV: test
NODE_ENV: test
defaults:
run:
working-directory: ecosystem/platform/server
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
working-directory: ecosystem/platform/server
bundler-cache: true
- uses: actions/setup-node@v3
with:
node-version-file: .node-version
- run: yarn install --frozen-lockfile
- run: yarn run prettier --check .
- run: yarn run tsc
- run: bundle exec bundler-audit --update
- run: bundle exec brakeman -q -w2
- run: bundle exec rubocop
- run: bundle exec erblint --lint-all

community-platform-test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:11-alpine
ports:
- "5432:5432"
env:
POSTGRES_USER: complat
POSTGRES_PASSWORD: password
env:
RAILS_ENV: test
NODE_ENV: test
CI: true
COMMUNITY_DB_USER: complat
COMMUNITY_DB_PASS: password
COMMUNITY_DB_HOST: localhost
COMMUNITY_DB_PORT: 5432
defaults:
run:
working-directory: ecosystem/platform/server
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
working-directory: ecosystem/platform/server
bundler-cache: true
- uses: actions/setup-node@v3
with:
node-version-file: .node-version
- run: bin/setup
- run: yarn build
- run: yarn build:css
- run: bin/rails test

docs-lint:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 5314b72

Please sign in to comment.