Skip to content

Releases: cloudposse/github-action-deploy-helmfile

v0.8.0

24 Oct 19:53
Compare
Choose a tag to compare
feat: Optional `url-resource-type` @milldr (#54) ## what - Add the `url-resource-type` input

why

  • Allow the action to select a different resource type other than ingress to filter for the webapp-url

references

  • n/a

v0.7.2

30 Sep 16:11
Compare
Choose a tag to compare
Update Dockerfile @milldr (#52) ## what - Update Python base image to 3.11.4-slim-bullseye

why

  • Use latest

references

  • n/a

🤖 Automatic Updates

Update .github/settings.yml @osterman (#51) ## what - Update `.github/settings.yml` - Drop `.github/auto-release.yml` files

why

  • Re-apply .github/settings.yml from org level
  • Use organization level auto-release settings

references

  • DEV-1242 Add protected tags with Repository Rulesets on GitHub

v0.7.1

27 Jun 07:48
Compare
Choose a tag to compare
fixing Version '1:2.20.1-2+deb10u8' for 'git' was not found issue @goruha (#50) ## what
  • allow to install any available version of git binary

why

  • Version '1:2.20.1-2+deb10u8' for 'git' is not available anymore

Reference

🤖 Automatic Updates

Update release workflow to allow pull-requests: write @osterman (#48) ## what - Update workflow (`.github/workflows/release.yaml`) to have permission to comment on PR

why

  • Add comment to PR when it is released
Use GitHub Action Workflows from `cloudposse/.github` Repo @osterman (#47) ## what - Update workflows (`.github/workflows/settings.yaml`) to use shared workflows from `.github` repo

why

  • Reduce nested levels of reusable workflows
Use GitHub Action Workflows from `cloudposse/.github` Repo @osterman (#46) ## what - Update workflows (`.github/workflows/settings.yaml`)

why

  • Support new readme generation workflow.
  • Generate banners

v0.7.0

03 May 11:10
Compare
Choose a tag to compare
Add GitHub Settings @goruha (#45) ## what - Install a repository config (`.github/settings.yaml`)

why

  • Programmatically manage GitHub repo settings
Fix JQ install @goruha (#44) ## what * Fix JQ install

why

  • Fix jq install error
E: Version '1.6.0-2' for 'jq' was not found

v0.6.0

03 Mar 13:53
ed74077
Compare
Choose a tag to compare
Update actions/checkout action to v4 @renovate (#37)

This PR contains the following updates:

Package Type Update Change
actions/checkout action major v3 -> v4

Release Notes

actions/checkout (actions/checkout)

v4

Compare Source


Update public.ecr.aws/docker/library/python Docker tag to v3.11.4 @renovate (#34)

This PR contains the following updates:

Package Type Update Change
public.ecr.aws/docker/library/python final patch 3.11.2-slim-buster -> 3.11.4-slim-buster

Update mikefarah/yq action to v4.42.1 @renovate (#30)

This PR contains the following updates:

Package Type Update Change
mikefarah/yq action minor v4.32.2 -> v4.42.1

Release Notes

mikefarah/yq (mikefarah/yq)

v4.42.1

Compare Source

v4.41.1

Compare Source

  • Can now comment in yq expressions! #​1919
    • Added new CSV option to turn off auto-parsing #​1947
    • Can now retrieve the alias names of merge anchors #​1942
    • Fixed Toml decoding when table array defined before parent #​1922
    • Fixing with_entries context #​1925

v4.40.7

Compare Source

v4.40.6

Compare Source

v4.40.5

Compare Source

v4.40.4: - Fixed bug with creating maps with values based off keys

Compare Source

  • Fixed bug with creating maps with values based off keys #​1886, #​1889
    • Bumped dependencies

v4.40.3: - Fixes JSON empty array bug

Compare Source

  • Fixed JSON output issue with empty arrays #​1880

v4.40.2: - Official

Compare Source

Thank you for all your support! I've fixed some of the issues that were kindly raised :) Happy to make the release official!

  • Do not panic when StdIn is closed (#​1867) Thanks @​aleskandro!
  • Fixed issue when update against self #​1869
  • Fixed multi doc anchor bug #​1861
  • Fixes doc line separator issue when reading expression file #​1860
  • Bumped dependencies

v4.40.1: - Engine refactor

Compare Source

I've done some overdue work on refactoring the core engine - pulling out the dependency on go-yaml. There are a couple of slight output changes (whitespace / document separators) in some niche scenarios - I think they are improvements, Bit nervous on releasing this, but all the tests are passing and I've added more tests! Love some early feedback :)

  • Added tonumber support
  • Added kind operator
  • Lua output fixes (#​1811) - Thanks @​Zash!
  • Add support for Lua input (#​1810) - Thanks @​Zash!
  • Bumped dependencies

v4.35.2: - Minor fixes

Compare Source

  • Fix various typos #​1798
    • Fixed number parsing as float bug in JSON #​1756
    • Fixed string, null concatenation consistency #​1712
    • Fixed expression parsing issue #​1711
    • Bumped dependencies

v4.35.1: - Lua Output!

Compare Source

  • Added Lua output support (Thanks @​Zash)!
    • Added BSD checksum format (Thanks @​viq)!
    • Bumped dependencies

v4.34.2

Compare Source

Bumped depedencies

v4.34.1

Compare Source

v4.33.3

Compare Source

  • Fixed bug when splatting empty array #​1613
    • Added scalar output for TOML (#​1617)
    • Fixed passing of read-only context in pipe (partial fix for #​1631)
    • Bumped dependency versions

v4.33.2: - Null seperated output and snap removable media

Compare Source

  • Add --nul-output|-0 flag to separate element with NUL character (#​1550) Thanks @​vaab!
    • Add removable-media interface plug declaration to the snap packaging(#​1618) Thanks @​brlin-tw!
    • Scalar output now handled in csv, tsv and property files
    • Bumped dependency versions

v4.33.1: - TOML! (readonly)

Compare Source

  • Added read-only TOML support! #​1364. Thanks @​pelletier for making your API available in your toml lib :)
    • Added warning when auto detect by file type is outputs JSON (#​1608)

Update nick-fields/assert-action action to v2 @renovate (#41)

This PR contains the following updates:

Package Type Update Change
nick-fields/assert-action action major `v1...
Read more

v0.5.0

09 May 09:57
e539612
Compare
Choose a tag to compare
Handle multiple matching ingresses for output-url @ozydingo (#35)

Github actions cannot support having multiple output urls for an environment. Switch the strategy to use jq's first function so that at least some valid URL is displayed if present. Punts on how to determine which URL would be preferred in the case of multiple.

what

  • Output only a single URL for webapp-url when a deployment has multiple ingresses
  • Choose the first matching ingress as a reasonable guess as to which ingress is preferred to display in the github action step.

why

  • When there are multiple ingresses, the current script outputs all of their URLS:
⨠ kubectl --namespace pr-13904 get -l app.kubernetes.io/name=app ingress --output=jsonpath='{.items[*].metadata.annotations.outputs\.webapp-url}'
https://ops-pr-13904.3paw-dev.com https://ops-pr-13904.3paw-dev.co

This causes the github action to fail to display the environment url

Screen Shot 2023-04-27 at 3 20 10 PM

The URL does not display:

Screen Shot 2023-05-08 at 2 30 55 PM

  • First is a a step in the direction over invalid, though this could get more configurable. (In our case, both ingresses have the same url anyway.)
  • Change to jq from jsonpath since it supports first even if there are no matches. jsonpath using [0], on the other hand, will blow up

testing

Here is a PR that uses the new code, and is showing the preview env URL successfully.

Screen Shot 2023-05-08 at 2 28 02 PM

references

v0.4.0

15 Apr 00:13
e0cbd1a
Compare
Choose a tag to compare
Use ECR alpine image @goruha (#33)

what

  • Use ECR alpine image

  • Avoid docker hub limits hit

v0.3.0

20 Mar 19:49
4ee695a
Compare
Choose a tag to compare
Update cloudposse/actions action to v0.33.0 @renovate (#12)

This PR contains the following updates:

Package Type Update Change
cloudposse/actions action minor 0.30.0 -> 0.33.0

Release Notes

cloudposse/actions

v0.33.0

Compare Source

v0.32.0: 0.32.0 Update cloned actions

Compare Source

What's Changed

New Contributors

Full Changelog: cloudposse/actions@0.31.0...0.32.0

v0.31.0: Update Alpine-based actions to Alpine 3.16

Compare Source

What's Changed

Full Changelog: cloudposse/actions@0.30.0...0.31.0


Update actions/checkout action to v3 @renovate (#15)

This PR contains the following updates:

Package Type Update Change
actions/checkout action major v2 -> v3

Release Notes

actions/checkout

v3

Compare Source


Update localstack/localstack Docker tag to v1.4.0 @renovate (#27)

This PR contains the following updates:

Package Type Update Change
localstack/localstack service minor 1.3.1 -> 1.4.0

Update mikefarah/yq action to v4.32.2 @renovate (#28)

This PR contains the following updates:

Package Type Update Change
mikefarah/yq action patch v4.32.1 -> v4.32.2

Release Notes

mikefarah/yq

v4.32.2: - Fixes parsing unknown file format issue

Compare Source

Fixes parsing terraform tfstate files results in "unknown" format


Use Debian slim instead of geodesic @goruha (#29)

what

  • Use Debian slim image instead of geodesic
  • Simplify passing platform and extra variables
  • Add inputs to specify toolchain versions

why

  • Minify image size
  • Get rid of the pre-defined environment list
  • Allow to use specific versions of tools
Add tests @goruha (#25)

what

  • Added tests

v0.2.2

26 Jan 17:49
97b1a23
Compare
Choose a tag to compare
Debug `webapp-url` Output @milldr (#20)

what

  • Added RELEASE_LABEL_NAME input option

why

  • The -l release=${RELEASE} arg in this line does not work if the app uses a different label
  • Parameterize that option

references

⨠ kubectl --namespace foobar get -l release=app ingress --output=jsonpath='{.items[*].metadata.annotations.outputs\.webapp-url}'
 
⨠ kubectl --namespace foobar get ingress  --output=jsonpath='{.items[*].metadata.annotations.outputs\.webapp-url}'
https://ops-qa-foobar.example-dev.com 

🤖 Automatic Updates

Update README.md and docs @cloudpossebot (#18)

what

This is an auto-generated PR that updates the README.md and docs

why

To have most recent changes of README.md and doc from origin templates

v0.2.1

09 Dec 19:09
d5a04c6
Compare
Choose a tag to compare
Add `qa` Environment @milldr (#19)

what

  • Added qa as environment option

why

  • We only support qa1, qa2, etc as options. We should also support "qa" as an option as well

references

  • N/A
Add gitref-sha to environment @ozydingo (#17)

what

  • Make gitref sha available to the build & deploy action

why

  • Some application use cases require the SHA for auditing & logging purposes
Configure Renovate @renovate (#1)

Welcome to Renovate! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin.

🚦 To activate Renovate, merge this Pull Request. To disable Renovate, simply close this Pull Request unmerged.


Detected Package Files

  • Dockerfile (dockerfile)
  • .github/workflows/_test-negative.yaml (github-actions)
  • .github/workflows/_test-positive.yml (github-actions)
  • .github/workflows/auto-readme.yml (github-actions)
  • .github/workflows/feature-branch.yml (github-actions)
  • .github/workflows/main-branch.yaml (github-actions)

Configuration

🔡 Renovate has detected a custom config for this PR. Feel free to ask for help if you have any doubts and would like it reviewed.

Important: Now that this branch is edited, Renovate can't rebase it from the base branch any more. If you make changes to the base branch that could impact this onboarding PR, please merge them manually.

What to Expect

With your current configuration, Renovate will create 4 Pull Requests:

Update cloudposse/actions action to v0.31.0
  • Schedule: ["at any time"]
  • Branch name: renovate/cloudposse-actions-0.x
  • Merge into: main
  • Upgrade cloudposse/actions to 0.31.0
Update cloudposse/geodesic Docker tag to v0.152.5
  • Schedule: ["at any time"]
  • Branch name: renovate/cloudposse-geodesic-0.x
  • Merge into: main
  • Upgrade cloudposse/geodesic to 0.152.5-alpine
Update actions/checkout action to v3
  • Schedule: ["at any time"]
  • Branch name: renovate/actions-checkout-3.x
  • Merge into: main
  • Upgrade actions/checkout to v3
Update cloudposse/geodesic Docker tag to v1
  • Schedule: ["at any time"]
  • Branch name: renovate/cloudposse-geodesic-1.x
  • Merge into: main
  • Upgrade cloudposse/geodesic to 1.3.2-alpine

🚸 Branch creation will be limited to maximum 2 per hour, so it doesn't swamp any CI resources or spam the project. See docs for prhourlylimit for details.


❓ Got questions? Check out Renovate's Docs, particularly the Getting Started section.
If you need any further assistance then you can also request help here.


This PR has been generated by Mend Renovate. View repository job log here.

Change Webapp URL Path @milldr (#9)

what

  • Change the webapp url to non-specific annotation

why

  • The existing annotation to specific to cloudposse

references

🤖 Automatic Updates

Update README.md and docs @cloudpossebot (#10)

what

This is an auto-generated PR that updates the README.md and docs

why

To have most recent changes of README.md and doc from origin templates