From 530ff8b5842ae5ff3fd20067069f9ed19bcbe818 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Guillot?= Date: Sun, 20 Oct 2024 22:29:21 +0200 Subject: [PATCH] chore: use `nx-cloud-ce` as Nx Cloud backend for this repo ;) --- .github/workflows/ci.yaml | 8 ++++++++ nx.json | 3 +-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0efb3fc6..dd760188 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -36,6 +36,8 @@ jobs: - name: Run Build for affected projects run: pnpm exec nx affected -t build + env: + NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} build-oci-images: needs: @@ -65,6 +67,7 @@ jobs: run: pnpm exec nx affected -t container env: INPUT_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} test: runs-on: ubuntu-latest @@ -79,6 +82,8 @@ jobs: - name: Run Test for affected projects run: pnpm exec nx affected -t test + env: + NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} # - name: SonarCloud Scan # uses: SonarSource/sonarcloud-github-action@eb211723266fe8e83102bac7361f0a05c3ac1d1b # v3.0.0 @@ -99,6 +104,8 @@ jobs: - name: Run Lint for affected projects run: pnpm exec nx affected -t lint + env: + NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} push-oci-images: needs: @@ -138,3 +145,4 @@ jobs: INPUT_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} INPUT_PLATFORMS: "linux/amd64,linux/arm64" INPUT_PUSH: true + NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} diff --git a/nx.json b/nx.json index 6b2c5a50..7a461ec8 100644 --- a/nx.json +++ b/nx.json @@ -22,7 +22,6 @@ "sharedGlobals": [] }, "plugins": ["@jnxplus/nx-gradle"], - "nxCloudAccessToken": "YzcwZTJjY2QtMDEzYS00NjAyLWE1OGQtYjZiNDU2ZWEwNTdmfHJlYWQtd3JpdGU=", - "nxCloudUrl": "http://localhost:8080", + "nxCloudUrl": "http://89.168.55.189", "useLegacyCache": true }