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

Bump clearlydefined/operations from 1.1.0 to 2.0.0 #1159

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 15, 2024

Bumps clearlydefined/operations from 1.1.0 to 2.0.0.

Release notes

Sourced from clearlydefined/operations's releases.

v2.0.0

Release Highlights

Release tag: v2.0.0

Many of the steps in the reusable deploy workflows used a bash script to perform the step. Some include decision points and errors. The complexity of these scripts warranted the creation of tests to confirm they are operating as expected.

This release moves the primary logic in scripts out of the workflow and into a script file. Tests were created to test various conditions each script is expected to handle. This should improve long term maintenance of the reusable workflows.

Required Updates

get-version job

The get-version script did not have access to the package-lock.json file. This file must be uploaded before using the operations app-build-and-deploy workflow.

In callers…

In the workflow that uses clearlydefined/operations/.github/workflows/app-build-and-deploy.yml@v2.0.0, upload the package-lock.json file.

 upload-package-lock-json:
    name: Upload package-lock.json from this repo
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v4.1.1
  - name: Upload package-lock.json
    uses: actions/upload-artifact@v4
    with:
      name: package-lock.json
      path: package-lock.json

Additionally, the step that uses clearlydefined/operations/.github/workflows/app-build-and-deploy.yml@v2.0.0 should identify that it needs the upload step.

  build-and-deploy:
    name: Build and Deploy
    needs: upload-package-lock-json
    uses: clearlydefined/operations/.github/workflows/app-build-and-deploy.yml@v2.0.0
    ...

Changes

v1.1.0...v2.0.0

Commits
  • f2be76d Merge pull request #80 from qtomlinson/qt/auto-detect-schema-versions
  • 72524e9 Merge pull request #86 from clearlydefined/elr/deploy-scripts
  • ac36345 move workflow scripts to separate file to allow for testing
  • b94cbde Adjust polling config setting
  • 29ae5f3 Update documentation and refactor
  • 224131f Add auto detection of schema versions for harvest tools
  • fe79ad9 Refactor
  • d68d580 Merge pull request #76 from clearlydefined/update-tests-new-scancode-version
  • 3cdec23 Update integration tests for new ScanCode schema version
  • 862c2af Merge pull request #73 from qtomlinson/qt/nock
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [clearlydefined/operations](https://github.com/clearlydefined/operations) from 1.1.0 to 2.0.0.
- [Release notes](https://github.com/clearlydefined/operations/releases)
- [Commits](clearlydefined/operations@v1.1.0...v2.0.0)

---
updated-dependencies:
- dependency-name: clearlydefined/operations
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Jul 15, 2024
@elrayle
Copy link
Collaborator

elrayle commented Oct 28, 2024

Closing... This is out of date. The version is currently 3.1.1 in master.

@elrayle elrayle closed this Oct 28, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 28, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/github_actions/clearlydefined/operations-2.0.0 branch October 28, 2024 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant