Skip to content

Commit

Permalink
chore(NA): test current cwd
Browse files Browse the repository at this point in the history
  • Loading branch information
mistic authored and CoenWarmer committed Feb 15, 2024
1 parent d803535 commit 0b7887a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .buildkite/scripts/steps/es_snapshots/promote_manifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,12 @@ import { BASE_BUCKET_DAILY, BASE_BUCKET_PERMANENT } from './bucket_config';

fs.writeFileSync('manifest-permanent.json', manifestPermanentJson);

const currentPath = execSync('pwd', { encoding: 'utf-8' }).trim();
console.log('Current working directory:', currentPath);

execSync(
`
set -euo pipefail
echo $(pwd)
.buildkite/scripts/common/activate_service_account.sh ${bucket}
cp manifest.json manifest-latest-verified.json
gsutil -h "Cache-Control:no-cache, max-age=0, no-transform" cp manifest-latest-verified.json gs://${BASE_BUCKET_DAILY}/${version}/
Expand Down

0 comments on commit 0b7887a

Please sign in to comment.