Skip to content

Commit

Permalink
Need to stage this file so it's always available for open. (#87)
Browse files Browse the repository at this point in the history
* Fence mapping is now needed for all environments.
  • Loading branch information
TDeSain authored Oct 23, 2023
1 parent 5e33613 commit b1a23cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
8 changes: 1 addition & 7 deletions jenkins-docker/jobs/Import_and_Rekey_HPDS_Data/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,7 @@ tar -cvzf ${output_file_name}.tar.gz *.javabin encryption_key metadata.json

aws s3 --sse=AES256 cp ${output_file_name}.tar.gz s3://${stack_s3_bucket}/data/${destination_bucket_hash}/${output_file_name}.tar.gz --quiet

if [ -f metadata.json ]; then
if [ ${isDestigmatized} = 'false' ]; then

aws s3 --sse=AES256 cp metadata.json s3://${stack_s3_bucket}/data/${destination_bucket_hash}/fence_mapping.json --quiet

fi
fi
aws s3 --sse=AES256 cp metadata.json s3://${stack_s3_bucket}/data/${destination_bucket_hash}/fence_mapping.json
</command>
<configuredLocalRules/>
</hudson.tasks.Shell>
Expand Down
1 change: 1 addition & 0 deletions jenkins-docker/jobs/biodatacatalyst-ui/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ if [ "${env_is_open_access}" = &apos;true&apos; ]; then
# Move Open Access UI into BDC UI
echo &quot;Is open access: Copying repository to biodatacatalyst-ui/open-pic-sure-bdc-frontend&quot;
cp -r &quot;/var/jenkins_home/workspace/PIC-SURE Open Build&quot; &quot;biodatacatalyst-ui/open-pic-sure-bdc-frontend/&quot;
echo &quot;ls -la biodatacatalyst-ui/open-pic-sure-bdc-frontend&quot;
else
# Create an empty directory structure if not open access
echo &quot;Is not open access: making empty dir structure&quot;
Expand Down

0 comments on commit b1a23cd

Please sign in to comment.