Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto changeLog updater #669

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open
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
19 changes: 15 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ stages:
- name: build-and-package
- name: scan
if: branch = master
- name: update-change-log
if: branch = master
- name: hyrax-olfs-trigger
if: type != pull_request OR branch =~ ^(.*-test-deploy)$
# A way to skip a stage. jhrg 1/26/23
Expand Down Expand Up @@ -159,10 +161,10 @@ jobs:
--volume $TRAVIS_BUILD_DIR:/root/travis
--env OS=centos-stream8
--env DIST=el8
--env LIBDAP_RPM_VERSION=$LIBDAP_RPM_VERSION
--env BES_BUILD_NUMBER=$BES_BUILD_NUMBER
--env AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID
--env AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY
--env LIBDAP_RPM_VERSION
Copy link
Member

Choose a reason for hiding this comment

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

Is this shorthand for 'Pass in the env var of the same name?'

And, this doesn't have anything to do with the change log hack, correct?

Copy link
Contributor Author

@ndp-opendap ndp-opendap Jun 5, 2023

Choose a reason for hiding this comment

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

Is this shorthand for 'Pass in the env var of the same name?'

I guess. It's how all of the Travis examples are written.

And, this doesn't have anything to do with the change log hack, correct?

I guess not I just saw those things and they did not match my mental template.

--env BES_BUILD_NUMBER
--env AWS_ACCESS_KEY_ID
--env AWS_SECRET_ACCESS_KEY
opendap/centos-stream8_hyrax_builder:1.1 /root/travis/travis/build-rpm.sh

- stage: build-and-package
Expand Down Expand Up @@ -228,6 +230,15 @@ jobs:
# We call the hdf4/5 handlers scan opendap-bes-submodules for historical reasons. jhrg 1/13/22
- curl -s https://sonarcloud.io/api/project_badges/quality_gate?project=opendap-bes-submodules | grep "QUALITY GATE PASS"

- stage: update-change-log
name: "Update BES ChangeLog"
script:
- export STAGE=update-change-log
- echo $STAGE
- autoreconf --force --install --verbose
- ./configure --disable-dependency-tracking --prefix=$prefix --with-dependencies=$prefix/deps --enable-developer --enable-coverage
- ./travis/update-change-log.sh

- stage: hyrax-olfs-trigger
name: "Hyrax OLFS Trigger"
script:
Expand Down
Loading