From 81d47e62ca1b092945fb34370b83df1fbe408288 Mon Sep 17 00:00:00 2001 From: Ashan Fernando Date: Wed, 18 Sep 2024 13:29:43 +0530 Subject: [PATCH] Update with-docker-alpine-cache.yml --- .../workflows/with-docker-alpine-cache.yml | 196 +++++++++--------- 1 file changed, 98 insertions(+), 98 deletions(-) diff --git a/.github/workflows/with-docker-alpine-cache.yml b/.github/workflows/with-docker-alpine-cache.yml index 2d5e20c..84fe05c 100644 --- a/.github/workflows/with-docker-alpine-cache.yml +++ b/.github/workflows/with-docker-alpine-cache.yml @@ -38,101 +38,101 @@ jobs: run: | docker load -i /tmp/.docker-cache/bitsrc-stable-latest-alpine.tar - build: - needs: cache-docker # This makes the build job depend on the cache-docker job - runs-on: ubuntu-latest - container: - image: bitsrc/stable:latest-alpine - options: --user root - timeout-minutes: 20 - env: - BIT_CONFIG_ACCESS_TOKEN: ${{ secrets.BIT_CONFIG_ACCESS_TOKEN }} - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Verify Node.js installation - run: node -v - - - name: Verify Git installation - run: git -v - - - name: Initialize Bit - uses: bit-tasks/init@main - with: - ws-dir: "test-data" - docker: "true" - log: "trace" - - - name: Resolve component packages from bit.cloud registry (Mandatory for component installation using package managers other than Bit) - run: | - npm config set '@bit:registry' https://node-registry.bit.cloud - npm config set '@teambit:registry' https://node-registry.bit.cloud - npm config set //node-registry.bit.cloud/:_authToken ${{ env.BIT_CONFIG_ACCESS_TOKEN }} - - - name: Installed Node version test - run: | - node -v - - - name: Installed Bit version test - run: | - bit -v - - - name: Installed Bit location test - run: | - which bit - - - name: Bit token test - run: echo "$(bit config get user.token)" - - - name: Bit workspace directory environment variable test - run: | - echo $WSDIR - - - name: Ripple CI environment variable test - run: | - echo $RIPPLE - - - name: Log environment variable test - run: | - echo $LOG - - - name: Cache environment variable test - run: | - echo $CACHE - - - name: Bit org environment variable test - run: | - echo $ORG - - - name: Bit scope environment variable test - run: | - echo $SCOPE - - - name: Bit analytics reporting environment variable test - run: | - echo $BIT_CONFIG_ANALYTICS_REPORTING - - - name: Bit anonymous reporting environment variable test - run: | - echo $BIT_CONFIG_ANONYMOUS_REPORTING - - - name: Bit interactive environment variable test - run: | - echo $BIT_CONFIG_INTERACTIVE - - - name: Bit user token environment variable test - run: | - echo $BIT_CONFIG_ACCESS_TOKEN - - - name: Bit path environment variable test - run: | - echo $PATH - - - name: Bit console environment variable test - run: | - echo $BIT_DISABLE_CONSOLE - - - name: Bit spinner environment variable test - run: | - echo $BIT_DISABLE_SPINNER + # build: + # needs: cache-docker # This makes the build job depend on the cache-docker job + # runs-on: ubuntu-latest + # container: + # image: bitsrc/stable:latest-alpine + # options: --user root + # timeout-minutes: 20 + # env: + # BIT_CONFIG_ACCESS_TOKEN: ${{ secrets.BIT_CONFIG_ACCESS_TOKEN }} + # steps: + # - name: Checkout repository + # uses: actions/checkout@v4 + + # - name: Verify Node.js installation + # run: node -v + + # - name: Verify Git installation + # run: git -v + + # - name: Initialize Bit + # uses: bit-tasks/init@main + # with: + # ws-dir: "test-data" + # docker: "true" + # log: "trace" + + # - name: Resolve component packages from bit.cloud registry (Mandatory for component installation using package managers other than Bit) + # run: | + # npm config set '@bit:registry' https://node-registry.bit.cloud + # npm config set '@teambit:registry' https://node-registry.bit.cloud + # npm config set //node-registry.bit.cloud/:_authToken ${{ env.BIT_CONFIG_ACCESS_TOKEN }} + + # - name: Installed Node version test + # run: | + # node -v + + # - name: Installed Bit version test + # run: | + # bit -v + + # - name: Installed Bit location test + # run: | + # which bit + + # - name: Bit token test + # run: echo "$(bit config get user.token)" + + # - name: Bit workspace directory environment variable test + # run: | + # echo $WSDIR + + # - name: Ripple CI environment variable test + # run: | + # echo $RIPPLE + + # - name: Log environment variable test + # run: | + # echo $LOG + + # - name: Cache environment variable test + # run: | + # echo $CACHE + + # - name: Bit org environment variable test + # run: | + # echo $ORG + + # - name: Bit scope environment variable test + # run: | + # echo $SCOPE + + # - name: Bit analytics reporting environment variable test + # run: | + # echo $BIT_CONFIG_ANALYTICS_REPORTING + + # - name: Bit anonymous reporting environment variable test + # run: | + # echo $BIT_CONFIG_ANONYMOUS_REPORTING + + # - name: Bit interactive environment variable test + # run: | + # echo $BIT_CONFIG_INTERACTIVE + + # - name: Bit user token environment variable test + # run: | + # echo $BIT_CONFIG_ACCESS_TOKEN + + # - name: Bit path environment variable test + # run: | + # echo $PATH + + # - name: Bit console environment variable test + # run: | + # echo $BIT_DISABLE_CONSOLE + + # - name: Bit spinner environment variable test + # run: | + # echo $BIT_DISABLE_SPINNER