Skip to content

Commit

Permalink
chore: update dependencies for tooling
Browse files Browse the repository at this point in the history
  • Loading branch information
sheldonhull committed Jan 29, 2024
1 parent 7b66bb4 commit b099597
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 28 deletions.
8 changes: 4 additions & 4 deletions .aqua/aqua.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ registries:
ref: v4.125.1 # renovate: depName=aquaproj/aqua-registry
packages:
- name: golang/go@go1.21.6
tags: ['release']
tags: ["release", "tests", "installfirst"]
- name: magefile/mage@v1.15.0
tags: ['tests', 'release']
tags: ["tests", "release"]
- name: charmbracelet/glow@v1.5.1
- name: mvdan/gofumpt@v0.6.0
- name: anchore/syft@v0.102.0
- name: direnv/direnv@v2.33.0
- name: thycotic/dsv-cli@v1.40.6
- name: mikefarah/yq@v4.40.5
tags: ['release']
tags: ["release"]
- name: cli/cli@v2.42.1
tags: ['release']
tags: ["release"]
17 changes: 12 additions & 5 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ name: test

on:
push:
branches: ['main']
branches: ["main"]
pull_request:
workflow_dispatch:

env:
HERE: './ansible_collections/delinea/core'
HERE: "./ansible_collections/delinea/core"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down Expand Up @@ -38,15 +38,22 @@ jobs:
- name: Python
uses: actions/setup-python@v4
with:
python-version: '3.10'

python-version: "3.10"
- name: Aqua
uses: aquaproj/aqua-installer@294926f94b4233f202a2f03875c604f840cfed70 # v2.1.1
continue-on-error: true
with:
aqua_version: v1.32.0
enable_aqua_install: true
aqua_opts: "--tags installfirst"
working_directory: ${{ env.HERE }}
- name: Aqua
uses: aquaproj/aqua-installer@294926f94b4233f202a2f03875c604f840cfed70 # v2.1.1
continue-on-error: true
with:
aqua_version: v1.32.0
enable_aqua_install: true
aqua_opts: '--tags tests'
aqua_opts: "--tags tests"
working_directory: ${{ env.HERE }}

- name: Init
Expand Down
32 changes: 17 additions & 15 deletions changelogs/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,35 @@ ancestor: null
releases:
1.0.0:
changes:
release_summary: 'New plugin for getting secrets from Delinea DevOps Secrets
release_summary:
"New plugin for getting secrets from Delinea DevOps Secrets
Vault in Ansible.
'
"
fragments:
- 1.0.0.yml
- 1.0.0.yml
plugins:
lookup:
- description: Get secrets from Delinea DevOps Secrets Vault
name: dsv
namespace: null
release_date: '2022-08-30'
- description: Get secrets from Delinea DevOps Secrets Vault
name: dsv
namespace: null
release_date: "2022-08-30"
1.1.0:
changes:
minor_changes:
- dsv lookup plugin - add optional ``data_key`` parameter for filtering secret
data.
release_summary: New option to allow returning a specific key from the returned
- dsv lookup plugin - add optional ``data_key`` parameter for filtering secret
data.
release_summary:
New option to allow returning a specific key from the returned
data. If it's defined, but not found it will error, otherwise by default the
entire secret object will be returned.
fragments:
- 1.1.0.yml
- 39-support data filtering.yml
release_date: '2023-10-17'
- 1.1.0.yml
- 39-support data filtering.yml
release_date: "2023-10-17"
1.1.1:
changes:
release_summary: Add tests for ansible 2.16.
fragments:
- 1.1.1.yml
release_date: '2024-01-29'
- 1.1.1.yml
release_date: "2024-01-29"
7 changes: 3 additions & 4 deletions magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ const (

// PermissionUserReadWriteExecute is the permissions for the artifact directory.
PermissionUserReadWriteExecute = 0o0700

)

// ✨ Init unfolds initial environment for productive work.
Expand Down Expand Up @@ -232,11 +231,11 @@ func Changelog() error {
pterm.Error.Printfln("failed to get version from galaxy.yml:\n\t%v", err)
return err
}
changelogFragmentDirectory:=filepath.Join("changelogs", "fragments")
if err:= os.MkdirAll(changelogFragmentDirectory,PermissionUserReadWriteExecute ); err!= nil {
changelogFragmentDirectory := filepath.Join("changelogs", "fragments")
if err := os.MkdirAll(changelogFragmentDirectory, PermissionUserReadWriteExecute); err != nil {
pterm.Error.Printfln("directory couldn't be created: %s", changelogFragmentDirectory)
return fmt.Errorf("could not create directory: %s", changelogFragmentDirectory)
}
}
changeFile := filepath.Join("changelogs", "fragments", current+".yml")
if _, err := os.Stat(changeFile); err == nil {
pterm.Error.Printfln("file %q already exists", changeFile)
Expand Down

0 comments on commit b099597

Please sign in to comment.