Skip to content
Open
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
2 changes: 0 additions & 2 deletions .github/.e2e-deploy/dcellar-web-ui-e2e-with-mainnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ nodereal-app:
configMapsMountPath: /app/conf/
containers:
env:
- name: NEXT_PUBLIC_STATIC_HOST
value: ''
- name: NEXT_PUBLIC_ENV
value: 'mainnet'
- name: NEXT_PUBLIC_GOOGLE_ANALYTICS_ID
Expand Down
2 changes: 0 additions & 2 deletions .github/.e2e-deploy/dcellar-web-ui-e2e-with-qa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ nodereal-app:
configMapsMountPath: /app/conf/
containers:
env:
- name: NEXT_PUBLIC_STATIC_HOST
value: ''
- name: NEXT_PUBLIC_ENV
value: 'qa'
- name: NEXT_PUBLIC_GOOGLE_ANALYTICS_ID
Expand Down
2 changes: 0 additions & 2 deletions .github/.e2e-deploy/dcellar-web-ui-e2e-with-testnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ nodereal-app:
configMapsMountPath: /app/conf/
containers:
env:
- name: NEXT_PUBLIC_STATIC_HOST
value: ''
- name: NEXT_PUBLIC_ENV
value: 'testnet'
- name: NEXT_PUBLIC_GOOGLE_ANALYTICS_ID
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dcellar-web-ui-e2e-cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:

jobs:
CI-CD:
runs-on: [qa-cicd-runners-large]
runs-on: [ubuntu-latest]
steps:
- name: Get current date
id: start
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dcellar-web-ui-e2e-housekeeping.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
required: true
jobs:
remove-e2e-test-deployment:
runs-on: [qa-cicd-runners]
runs-on: [ubuntu-latest]
steps:
- name: Install Helm
uses: azure/setup-helm@v4.2.0
Expand Down
9 changes: 1 addition & 8 deletions .github/workflows/dcellar-web-ui-prod-mainnet-cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ on:

jobs:
CI:
runs-on: [prod-cicd-runners]
runs-on: [ubuntu-latest]
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
Expand Down Expand Up @@ -85,13 +85,6 @@ jobs:
docker push ${IMAGE_NAME}

echo "image_id=$IMAGE_NAME" >> $GITHUB_OUTPUT
- name: Upload Static Files to Prod S3 Bucket
env:
APP_NAME: ${{ inputs.app_name }}
STATIC_BUCKET: ${{ secrets.PROD_MAINNET_S3_BUCKET }}
run: |
aws s3 cp apps/${APP_NAME}/.next/static s3://${STATIC_BUCKET}/static/${APP_NAME}/_next/static --recursive --cache-control "public, max-age=31536000"
aws s3 cp apps/${APP_NAME}/public s3://${STATIC_BUCKET}/static/${APP_NAME} --recursive --cache-control "public, max-age=31536000"
- name: Checkout GitOps Config Repository to get diff commit 🛎️
uses: actions/checkout@v4
with:
Expand Down
9 changes: 1 addition & 8 deletions .github/workflows/dcellar-web-ui-prod-testnet-cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ on:

jobs:
CI:
runs-on: [prod-cicd-runners]
runs-on: [ubuntu-latest]
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
Expand Down Expand Up @@ -81,13 +81,6 @@ jobs:
DOCKER_BUILDKIT=1 docker build -f apps/${APP_NAME}/Dockerfile . -t ${IMAGE_NAME}
docker push ${IMAGE_NAME}
echo "image_id=$IMAGE_NAME" >> $GITHUB_OUTPUT
- name: Upload Static Files to Prod S3 Bucket
env:
APP_NAME: ${{ inputs.app_name }}
STATIC_BUCKET: ${{ secrets.PROD_S3_BUCKET }}
run: |
aws s3 cp apps/${APP_NAME}/.next/static s3://${STATIC_BUCKET}/static/${APP_NAME}/_next/static --recursive --cache-control "public, max-age=31536000"
aws s3 cp apps/${APP_NAME}/public s3://${STATIC_BUCKET}/static/${APP_NAME} --recursive --cache-control "public, max-age=31536000"
- name: Checkout GitOps Repository for Diff Commits 🛎️
uses: actions/checkout@v4
with:
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/dcellar-web-ui-qa-cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,6 @@ jobs:
DOCKER_BUILDKIT=1 docker build -f apps/${APP_NAME}/Dockerfile . -t ${IMAGE_NAME}
docker push ${IMAGE_NAME}
echo "image_id=$IMAGE_NAME" >> $GITHUB_OUTPUT
- name: Upload Static Files to QA S3 Bucket
env:
APP_NAME: ${{ inputs.app_name }}
STATIC_BUCKET: ${{ secrets.QA_S3_BUCKET }}
run: |
aws s3 cp apps/${APP_NAME}/.next/static s3://${STATIC_BUCKET}/static/${APP_NAME}/_next/static --recursive --cache-control "public, max-age=31536000" --metadata '{"Cache-Control":"max-age=31536000"}'
aws s3 cp apps/${APP_NAME}/public s3://${STATIC_BUCKET}/static/${APP_NAME} --recursive --cache-control "public, max-age=31536000" --metadata '{"Cache-Control":"max-age=31536000"}'
- name: Checkout GitOps Repository for Diff Commits 🛎️
uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -248,6 +241,7 @@ jobs:
Preview Url: ${{ inputs.preview_url }}
Build Id: ${{ steps.output_commit_sha.outputs.commit_sha }}
reactions: hooray, rocket

Job-Failure-Feedback:
runs-on: [qa-cicd-runners]
if: ${{ always() && contains(join(needs.*.result, ','), 'failure') }}
Expand Down