mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
chore(ci): remove temporary container checks (#59419)
This commit is contained in:
committed by
GitHub
parent
f18252006f
commit
2e452761a6
@@ -1,68 +0,0 @@
|
||||
# TODO: remove this workflow once we use containers in the other workflows. This
|
||||
# workflow is intended to prevent regressions until that has been achieved.
|
||||
name: CI - E2E - Containers - Temp
|
||||
on:
|
||||
workflow_dispatch:
|
||||
workflow_run:
|
||||
workflows: ['CI - Node.js']
|
||||
types:
|
||||
- completed
|
||||
# TODO: refactor with a workflow_call
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- 'docs/**'
|
||||
branches:
|
||||
- 'main'
|
||||
- 'next-**'
|
||||
- 'e2e-**'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build-client:
|
||||
name: Build Client (Container)
|
||||
runs-on: ubuntu-22.04
|
||||
|
||||
steps:
|
||||
- name: Checkout Source Files
|
||||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
|
||||
- name: Create Image
|
||||
run: |
|
||||
docker build \
|
||||
--build-arg HOME_LOCATION=http://localhost:8000 \
|
||||
--build-arg API_LOCATION=http://localhost:3000 \
|
||||
--build-arg FORUM_LOCATION=https://forum.freecodecamp.org \
|
||||
--build-arg NEWS_LOCATION=https://www.freecodecamp.org/news \
|
||||
--build-arg RADIO_LOCATION=https://coderadio.freecodecamp.org \
|
||||
--build-arg CLIENT_LOCALE=english \
|
||||
--build-arg CURRICULUM_LOCALE=english \
|
||||
--build-arg ALGOLIA_APP_ID=app_id_from_algolia_dashboard \
|
||||
--build-arg ALGOLIA_API_KEY=api_key_from_algolia_dashboard \
|
||||
--build-arg STRIPE_PUBLIC_KEY=pk_from_stripe_dashboard \
|
||||
--build-arg PAYPAL_CLIENT_ID=id_from_paypal_dashboard \
|
||||
--build-arg PATREON_CLIENT_ID=id_from_patreon_dashboard \
|
||||
--build-arg DEPLOYMENT_ENV=staging \
|
||||
--build-arg SHOW_UPCOMING_CHANGES=false \
|
||||
--build-arg GROWTHBOOK_URI=api_URI_from_Growthbook_dashboard \
|
||||
--build-arg FREECODECAMP_NODE_ENV=development \
|
||||
-f docker/web/Dockerfile .
|
||||
|
||||
build-new-api:
|
||||
name: Build New Api (Container)
|
||||
runs-on: ubuntu-22.04
|
||||
|
||||
steps:
|
||||
- name: Checkout Source Files
|
||||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
|
||||
- name: Create Image
|
||||
run: |
|
||||
docker build \
|
||||
-f docker/api/Dockerfile .
|
||||
Reference in New Issue
Block a user