diff --git a/.controlplane/Dockerfile b/.controlplane/Dockerfile index 8462f8e65..8a809700f 100644 --- a/.controlplane/Dockerfile +++ b/.controlplane/Dockerfile @@ -46,11 +46,6 @@ RUN yarn install --frozen-lockfile # Copy application code COPY . . -RUN echo "ZYXYZYXYZ" - -RUN ls -l -RUN ls -l app - # Final stage for app image FROM base @@ -63,10 +58,6 @@ RUN apt-get update -qq && \ COPY --from=build /usr/local/bundle /usr/local/bundle COPY --from=build /app /app -RUN ls -l app - -RUN cat /app/client/app/bundles/comments/components/Footer/Footer.jsx - RUN chmod +x /app/.controlplane/*.sh ENV RAILS_ENV=production \ diff --git a/.github/actions/build-docker-image/action.yml b/.github/actions/build-docker-image/action.yml index 04b4e446d..45a12434c 100644 --- a/.github/actions/build-docker-image/action.yml +++ b/.github/actions/build-docker-image/action.yml @@ -28,8 +28,6 @@ runs: fi echo "🏗️ Building Docker image${PR_INFO} (commit ${{ inputs.commit }})..." - - /usr/bin/git log -1 --format=%H if cpflow build-image -a "${{ inputs.app_name }}" --commit="${{ inputs.commit }}" --org="${{ inputs.org }}"; then image_tag="${{ inputs.org }}/${{ inputs.app_name }}:${{ inputs.commit }}" diff --git a/.github/workflows/deploy-to-control-plane-review-app.yml b/.github/workflows/deploy-to-control-plane-review-app.yml index 7e42222e3..b04a1ed2c 100644 --- a/.github/workflows/deploy-to-control-plane-review-app.yml +++ b/.github/workflows/deploy-to-control-plane-review-app.yml @@ -2,8 +2,10 @@ name: Deploy PR Review App to Control Plane run-name: Deploy PR Review App - PR #${{ github.event.pull_request.number || github.event.issue.number || github.event.inputs.pr_number }} - +# Controls when the workflow will run on: + pull_request: + types: [opened, synchronize, reopened] issue_comment: types: [created] workflow_dispatch: diff --git a/.github/workflows/nightly-remove-stale-review-apps.yml b/.github/workflows/nightly-remove-stale-review-apps.yml index c5f0376ae..e511d9ace 100644 --- a/.github/workflows/nightly-remove-stale-review-apps.yml +++ b/.github/workflows/nightly-remove-stale-review-apps.yml @@ -6,10 +6,6 @@ on: schedule: - cron: '0 0 * * *' -env: - CPLN_ORG: ${{secrets.CPLN_ORG_STAGING}} - CPLN_TOKEN: ${{secrets.CPLN_TOKEN_STAGING}} - jobs: remove-stale-review-apps: runs-on: ubuntu-latest @@ -20,6 +16,9 @@ jobs: - name: Setup Environment uses: ./.github/actions/setup-environment + with: + token: ${{ secrets.CPLN_TOKEN_STAGING }} + org: ${{ vars.CPLN_ORG_STAGING }} - name: Get Stale PRs id: stale_prs diff --git a/client/app/bundles/comments/components/Footer/Footer.jsx b/client/app/bundles/comments/components/Footer/Footer.jsx index 74e54176b..405d457e8 100644 --- a/client/app/bundles/comments/components/Footer/Footer.jsx +++ b/client/app/bundles/comments/components/Footer/Footer.jsx @@ -14,7 +14,7 @@ export default class Footer extends BaseComponent {
- Rails On Maui on X/Twitter + Rails On Maui on X (Twitter)