Releases: clearlydefined/operations
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
Release Highlights
Release tag: v1.1.0
This moves the check for is-release
to the app-build-and-deploy
workflow in the determine-trigger
job. This removes the need to perform this check in all callers of the workflow.
Required Updates
In callers...
- remove the
is-release
parameter from the call toapp-build-and-deploy
- update the version of the
uses
statement forapp-build-and-deploy
to@v1.1.0
Changes
v1.0.0
Release Highlights
Release tag: v1.0.0
This is release coordinates the app-build-and-deploy
set of reusable workflows. To use these workflows...
jobs:
build-and-deploy:
uses: clearlydefined/operations/.github/workflows/app-build-and-deploy.yml@v1.0.0
See app-build-and-deploy.yml workflow for list of secrets and inputs that are required.