Skip to content

Conversation

@hannahilea
Copy link
Contributor

Merge block: wait until #95 and #96 merge down first.

- tar -C $HOME -czvf $TRAVIS_BUILD_DIR/package/hyrax-dependencies-build.tar.gz install
- ./travis/check-installed $EXPECTED_DEPS_COUNT

# mkdir returns true if the directory already exists. This dir is used in 'before_deploy'.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wellll this all showed up oddly in gitthub formatting, but if you squint you can see that I kept the original two build jobs; renamed them, their ARTIFACT env var, and their build scripts to "*-static"; and then added duplicate non-static jobs (with associated non-static scripts).

@@ -0,0 +1,83 @@
#!/bin/sh
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copied from previous build-for-rocky9.sh

@@ -0,0 +1,85 @@
#!/bin/sh
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copied from previous build-for-rocky8.sh

- echo "# ubuntu-focal - Expecting to build and install $EXPECTED_DEPS_COUNT dependencies." >&2
- export prefix=$HOME/install
- echo "# ubuntu-focal - prefix '$prefix'" >&2
- export extra_targets="aws_s2n_tls"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was supposed to be removed via #96 but I must have missed it (or borked a merge somewhere...)

Copy link
Contributor

@ndp-opendap ndp-opendap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

woooo! dynamic libs! woooooo!

Comment on lines +86 to +101
- docker run
--env prefix=/root/install
--env BUILD_NUMBER="$TRAVIS_BUILD_NUMBER"
--volume $install_dir:/root/install
--volume $TRAVIS_BUILD_DIR:/root/hyrax-dependencies
opendap/rocky8_hyrax_builder:latest
/root/hyrax-dependencies/travis/build-for-rocky8-static.sh
- export tarball_numbered="$TRAVIS_BUILD_DIR/package/hyrax-dependencies-$ARTIFACT-static-$TRAVIS_BUILD_NUMBER.tgz"
- echo "# $ARTIFACT - tarball_numbered '$tarball_numbered'" >&2
- export tarball_latest="$TRAVIS_BUILD_DIR/package/hyrax-dependencies-$ARTIFACT-static.tgz"
- echo "# $ARTIFACT - tarball_latest '$tarball_latest'" >&2
- mkdir -vp $TRAVIS_BUILD_DIR/package
- tar -C "$HOME/$ARTIFACT/" -czvf "$tarball_numbered" install
- cp -v "$tarball_numbered" "$tarball_latest"
- ./travis/check-installed $EXPECTED_DEPS_COUNT
- ls -l $TRAVIS_BUILD_DIR/package/
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no changes as compared to the original rocky8 job EXCEPT to rename the build script being used to build-for-rocky8-static.sh (instead of build-for-rocky8.sh). Ditto for rocky9.

@hannahilea hannahilea merged commit 0ebef3f into master Dec 10, 2025
3 checks passed
@hannahilea hannahilea deleted the hr/HYRAX-1964-tar-more branch December 10, 2025 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants