Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions .evergreen/compass_package.sh
Original file line number Diff line number Diff line change
@@ -1,22 +1,5 @@
#! /usr/bin/env bash
if [[ "$OSTYPE" == "cygwin" ]]; then
# If not possible to remove this hack, we should find a better way
# to do this instead of directly referencing node_module paths,
# but first figure out what exactly was changed in our fork of
# electron-wix-msi
#
# TODO: https://jira.mongodb.org/browse/COMPASS-4888

echo "Fetching signtool -> notary-service hack..."
curl -fs \
-o "signtool.exe" \
--url "https://s3.amazonaws.com/boxes.10gen.com/build/signtool.exe"
rm -f node_modules/electron-winstaller/vendor/signtool.exe
rm -f node_modules/@mongodb-js/electron-wix-msi/vendor/signtool.exe
chmod +x signtool.exe
cp signtool.exe node_modules/@mongodb-js/electron-wix-msi/vendor/signtool.exe
cp signtool.exe node_modules/electron-winstaller/vendor/signtool.exe

echo "Starting Installer Service..."
net start MSIServer
fi
Expand Down
46 changes: 23 additions & 23 deletions .evergreen/functions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ post:
params:
local_files_include_filter:
- src/.deps/.npm/_logs/*.log
remote_file: ${project}/${revision}/${build_variant}/${task_name}
remote_file: ${project}/${build_id}/${build_variant}/${task_name}
content_type: text/plain
- <<: *save-diagnostic-file
params:
Expand Down Expand Up @@ -291,7 +291,7 @@ functions:
- <<: *get-artifact
params:
local_file: src/packages/compass/dist/${app_archive_name}
remote_file: ${project}/${revision}/${app_archive_name}
remote_file: ${project}/${build_id}/${app_archive_name}
- command: shell.exec
params:
working_dir: src
Expand Down Expand Up @@ -410,104 +410,104 @@ functions:
- <<: *save-artifact
params:
local_file: src/packages/compass/dist/${windows_setup_filename}
remote_file: ${project}/${revision}/${windows_setup_filename}
remote_file: ${project}/${build_id}/${windows_setup_filename}
- <<: *save-artifact
params:
local_file: src/packages/compass/dist/${windows_msi_filename}
remote_file: ${project}/${revision}/${windows_msi_filename}
remote_file: ${project}/${build_id}/${windows_msi_filename}
- <<: *save-artifact
params:
local_file: src/packages/compass/dist/${windows_zip_filename}
remote_file: ${project}/${revision}/${windows_zip_filename}
remote_file: ${project}/${build_id}/${windows_zip_filename}
content_type: application/zip
- <<: *save-artifact
params:
local_file: src/packages/compass/dist/${windows_nupkg_full_filename}
remote_file: ${project}/${revision}/${windows_nupkg_full_filename}
remote_file: ${project}/${build_id}/${windows_nupkg_full_filename}
- <<: *save-artifact
params:
local_file: src/packages/compass/dist/${windows_releases_filename}
remote_file: ${project}/${revision}/${windows_releases_filename}
remote_file: ${project}/${build_id}/${windows_releases_filename}

save-macos-artifacts:
- <<: *save-artifact
params:
local_file: src/packages/compass/dist/${osx_dmg_filename}
remote_file: ${project}/${revision}/${osx_dmg_filename}
remote_file: ${project}/${build_id}/${osx_dmg_filename}
content_type: application/x-apple-diskimage
- <<: *save-artifact
params:
local_file: src/packages/compass/dist/${osx_zip_filename}
remote_file: ${project}/${revision}/${osx_zip_filename}
remote_file: ${project}/${build_id}/${osx_zip_filename}
content_type: application/zip

save-rhel-artifacts:
- <<: *save-artifact
params:
local_file: src/packages/compass/dist/${linux_rpm_filename}
remote_file: ${project}/${revision}/${linux_rpm_filename}
remote_file: ${project}/${build_id}/${linux_rpm_filename}
content_type: application/x-redhat-package-manager
- <<: *save-artifact
params:
local_file: src/packages/compass/dist/${linux_tar_filename}
remote_file: ${project}/${revision}/${linux_tar_filename}
remote_file: ${project}/${build_id}/${linux_tar_filename}
content_type: application/x-gzip

save-ubuntu-artifacts:
- <<: *save-artifact
params:
local_file: src/packages/compass/dist/${linux_deb_filename}
remote_file: ${project}/${revision}/${linux_deb_filename}
remote_file: ${project}/${build_id}/${linux_deb_filename}
content_type: application/vnd.debian.binary-package
- <<: *save-artifact
params:
local_file: src/packages/compass/dist/${linux_tar_filename}
remote_file: ${project}/${revision}/${linux_tar_filename}
remote_file: ${project}/${build_id}/${linux_tar_filename}
content_type: application/x-gzip

get-artifacts:
- <<: *get-artifact
params:
local_file: src/packages/compass/dist/${windows_setup_filename}
remote_file: ${project}/${revision}/${windows_setup_filename}
remote_file: ${project}/${build_id}/${windows_setup_filename}
- <<: *get-artifact
params:
local_file: src/packages/compass/dist/${windows_msi_filename}
remote_file: ${project}/${revision}/${windows_msi_filename}
remote_file: ${project}/${build_id}/${windows_msi_filename}
- <<: *get-artifact
params:
local_file: src/packages/compass/dist/${windows_zip_filename}
remote_file: ${project}/${revision}/${windows_zip_filename}
remote_file: ${project}/${build_id}/${windows_zip_filename}
- <<: *get-artifact
params:
local_file: src/packages/compass/dist/${windows_nupkg_full_filename}
remote_file: ${project}/${revision}/${windows_nupkg_full_filename}
remote_file: ${project}/${build_id}/${windows_nupkg_full_filename}
- <<: *get-artifact
params:
local_file: src/packages/compass/dist/${windows_releases_filename}
remote_file: ${project}/${revision}/${windows_releases_filename}
remote_file: ${project}/${build_id}/${windows_releases_filename}

- <<: *get-artifact
params:
local_file: src/packages/compass/dist/${osx_dmg_filename}
remote_file: ${project}/${revision}/${osx_dmg_filename}
remote_file: ${project}/${build_id}/${osx_dmg_filename}
- <<: *get-artifact
params:
local_file: src/packages/compass/dist/${osx_zip_filename}
remote_file: ${project}/${revision}/${osx_zip_filename}
remote_file: ${project}/${build_id}/${osx_zip_filename}

- <<: *get-artifact
params:
local_file: src/packages/compass/dist/${linux_rpm_filename}
remote_file: ${project}/${revision}/${linux_rpm_filename}
remote_file: ${project}/${build_id}/${linux_rpm_filename}
- <<: *get-artifact
params:
local_file: src/packages/compass/dist/${linux_deb_filename}
remote_file: ${project}/${revision}/${linux_deb_filename}
remote_file: ${project}/${build_id}/${linux_deb_filename}
- <<: *get-artifact
params:
local_file: src/packages/compass/dist/${linux_tar_filename}
remote_file: ${project}/${revision}/${linux_tar_filename}
remote_file: ${project}/${build_id}/${linux_tar_filename}

generate-tasks:
- command: generate.tasks
Expand Down
Loading