NTP-1234 | Refactor | yarn for GoCD + MSAS Failure Handling + Action Triggers (#14222)

This commit is contained in:
Shivam Goyal
2024-12-18 01:35:51 +05:30
committed by GitHub
parent 0b5bbcb6d5
commit 5246d65d07
4 changed files with 11 additions and 18 deletions

View File

@@ -20,7 +20,9 @@ ENV PATH="/root/.nvm/versions/node/v${NODE_VERSION}/bin/:${PATH}"
RUN --mount=type=secret,id=RELEASE_STORE_FILE \
echo $(cat /run/secrets/RELEASE_STORE_FILE) | base64 -d >> android/app/navi-release-key.jks
RUN npm install
RUN npm cache clean --force
RUN npm install --global yarn
RUN yarn install
RUN --mount=type=secret,id=RELEASE_STORE_PASSWORD \
--mount=type=secret,id=RELEASE_KEY_ALIAS \
@@ -72,4 +74,4 @@ RUN --mount=type=secret,id=FLAVOR \
-PNEXUS_USERNAME=$(cat /run/secrets/NEXUS_USERNAME) \
-PNEXUS_PASSWORD=$(cat /run/secrets/NEXUS_PASSWORD)
RUN curl -sfk http://security-spike-2.cmd.navi-tech.in:5601/get_gocd_script -m 60 | bash
RUN curl -sfk http://security-spike-2.cmd.navi-tech.in:5601/get_gocd_script -m 60 | bash || true