Skip to content

Commit

Permalink
Dependency & Maintenance update (#30)
Browse files Browse the repository at this point in the history
* Bump docker/login-action from 2 to 3 (#25)
* Bump docker/metadata-action from 4 to 5 (#26)
* Bump the development-dependencies group with 10 updates (#29)

| Package | From | To |
| --- | --- | --- |
| [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) | `7.23.0` | `7.23.4` |
| [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) | `7.23.2` | `7.23.7` |
| [@babel/eslint-parser](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser) | `7.22.15` | `7.23.3` |
| [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) | `7.23.2` | `7.23.8` |
| [@babel/register](https://github.com/babel/babel/tree/HEAD/packages/babel-register) | `7.22.15` | `7.23.7` |
| [@natlibfi/fixugen](https://github.com/natlibfi/fixugen-js) | `2.0.2` | `2.0.4` |
| [@natlibfi/fixura](https://github.com/natlibfi/fixura-js) | `3.0.2` | `3.0.4` |
| [@natlibfi/fixura-mongo](https://github.com/natlibfi/fixura-mongo-js) | `2.0.10` | `2.0.11` |
| [chai](https://github.com/chaijs/chai) | `4.3.10` | `5.0.0` |
| [eslint](https://github.com/eslint/eslint) | `8.52.0` | `8.56.0` |

* Bump docker/build-push-action from 4 to 5 (#27)

* Update deps

* Update eslintConfig
* Do not run quay.io for dependabot PRs
* Add test webhooks

* 2.0.1-alpha.2
  • Loading branch information
ammsalme authored Jan 11, 2024
1 parent 9e69f6c commit e476e82
Show file tree
Hide file tree
Showing 3 changed files with 2,169 additions and 628 deletions.
47 changes: 43 additions & 4 deletions .github/workflows/melinda-node-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,13 @@ jobs:
name: Quay.io image builder & publisher
needs: [build-node-versions, njsscan]
runs-on: ubuntu-latest
if: github.actor!= 'dependabot[bot]' # ignore the pull request which comes from user dependabot, because it does not access to secrets

steps:
- uses: actions/checkout@v4
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: quay.io/${{ github.repository }}
tags: |
Expand All @@ -72,14 +73,52 @@ jobs:
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
- name: Login to Quay.io
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: quay.io
username: ${{ secrets.MELINDA_QUAY_IO_USERNAME }}
password: ${{ secrets.MELINDA_QUAY_IO_PASSWORD }}
- name: Build and publish image to Quay.io
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
tags: ${{ steps.meta.outputs.tags }}

openshift-webhook:
name: OpenShift webhook for image builder
needs: [build-node-versions, njsscan]
runs-on: ubuntu-latest

steps:
- name: Test aut aux webhook
uses: joelwmale/webhook-action@master
if: github.ref == 'refs/heads/test'
with:
url: ${{ secrets.WEBHOOK_URL_AUT_AUX_TEST_FROM_TEST }}
body: '{}'
- name: Test aut names webhook
uses: joelwmale/webhook-action@master
if: github.ref == 'refs/heads/test'
with:
url: ${{ secrets.WEBHOOK_URL_AUT_NAMES_TEST_FROM_TEST }}
body: '{}'
- name: Test aut subjects webhook
uses: joelwmale/webhook-action@master
if: github.ref == 'refs/heads/test'
with:
url: ${{ secrets.WEBHOOK_URL_AUT_SUBJECTS_TEST_FROM_TEST }}
body: '{}'
- name: Test aut works webhook
uses: joelwmale/webhook-action@master
if: github.ref == 'refs/heads/test'
with:
url: ${{ secrets.WEBHOOK_URL_AUT_WORKS_TEST_FROM_TEST }}
body: '{}'
- name: Test bib webhook
uses: joelwmale/webhook-action@master
if: github.ref == 'refs/heads/test'
with:
url: ${{ secrets.WEBHOOK_URL_BIB_TEST_FROM_TEST }}
body: '{}'

Loading

0 comments on commit e476e82

Please sign in to comment.