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

chore(deps): update dependency atmos to v1.162.0 #544

Merged
merged 1 commit into from
Feb 13, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 12, 2025

This PR contains the following updates:

Package Update Change
atmos minor 1.160.5 -> 1.162.0

Release Notes

cloudposse/atmos (atmos)

v1.162.0

Compare Source

Improve Atmos help @​samtholiya @​aknysh (#​959)

what

  • Improve Atmos help

why

  • Outputting markdown in help descriptions makes it easier to visually parse
  • Markdown stylesheet keeps formatting consistent

examples

  • atmos about non-existent shows usage:
    image

  • Double dash in flags of atmos terraform --help and examples rendering using markdown if available
    image

  • Fixed atmos workflow --file example.yaml markdown. Now it also exits with exit code 1
    image

  • Updated Default error logger with markdown support
    image

  • Added custom alias help support so that alias in config should also be displayed in help
    image

  • Updated the workflow name invalid UI
    image

  • Invalid custom command config now shows better help
    image

  • Invalid flag usage added
    image

v1.161.0

Compare Source

Add tab completion for `components` and `stack` in Atmos commands @​samtholiya (#​992)

what

why

  • Providing completions for components and stack will improve the accuracy and speed of the user while executing commands that require components and stacks
Don't check stacks config in `atmos.yaml` in Atmos commands that don't require stacks @​samtholiya (#​1052)

what

  • Don't check stacks config in atmos.yaml in Atmos commands that don't require stacks

why

  • Atmos commands (including Atmos custom commands) may or may not be using components and stacks
Add Test Timeouts and Clean Working & Home Directories @​osterman (#​1051)

what

  • Add a new timeout configuration to abort long running tests
  • Disable version checks on tests that are not testing that functionality
  • Change home directory to empty temp directory

why

  • It's hard to identify sometimes which test is hung in CI; adding a timer makes it easier to track down
  • Atmos and terraform orphan files (e.g. cache files) which means test behavior can change between runs
  • Home directory configuration can affect test outcomes
Fix mergify dispatch @​osterman (#​1059)

what

  • Incorrect specification of head ref

why

Documented Example

Based on the documentation,

The dynamic_workflow.yaml takes the template input author.

This implies that everything under data-types can be used as a Jinja template variable. Since author works (at least based on their example), head should as well.

pull_request_rules:
  - name: Dispatch GitHub Actions
    conditions:
      - label = dispatch
    actions:
      github_actions:
        workflow:
          dispatch:
            - workflow: foo_workflow.yaml
            - workflow: hello_world_workflow.yaml
              inputs:
                name: steve
                age: 42
            - workflow: dynamic_workflow.yaml
              inputs:
                author: "{{ author }}"
Support Trailing Args for Custom Commands @​samtholiya (#​1046)

what

  • Add support for double dash -- argument in custom command
  • Use {{ .TrailingArgs }} in templates to get the arguments after the double dash --
  • Update docs

why

  • Allow users use double dash -- to get the native args and send them to the custom command executable
Trailing Arguments

Atmos supports trailing arguments after -- (a standalone double-dash). The -- itself is a delimiter that signals the end of Atmos-specific options. Anything after -- is passed directly to the underlying command without being interpreted by Atmos. The value of these trailing arguments is accessible in {{ .TrailingArgs }}.

For the example, adding the following to atmos.yaml will introduce a new echo command that accepts one name argument and also uses trailingArgs

- name: ansible run
  description: "Runs an Ansible playbook, allowing extra arguments after --."
  arguments:
    - name: playbook
      description: "The Ansible playbook to run"
      default: site.yml
      required: true
  steps:
    - "ansible-playbook {{ .Arguments.playbook }} {{ .TrailingArgs }}"

Output:

$ atmos ansible run -- --limit web
Running: ansible-playbook site.yml --limit web

PLAY [web] *********************************************************************

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/atmos-1.x branch 2 times, most recently from 8e3e77b to 7a67a82 Compare February 13, 2025 07:01
@renovate renovate bot changed the title chore(deps): update dependency atmos to v1.161.0 chore(deps): update dependency atmos to v1.162.0 Feb 13, 2025
@renovate renovate bot force-pushed the renovate/atmos-1.x branch from 7a67a82 to d396994 Compare February 13, 2025 07:02
Copy link
Contributor

/spacelift summary

Spacelift Triggered Stacks (14)

/spacelift plat-fra-prod-vault preview
/spacelift plat-fra-prod-alb preview
/spacelift plat-fra-prod-dns-ext-https preview
/spacelift plat-fra-prod-vcn preview
/spacelift plat-fra-prod-instance preview
/spacelift plat-fra-prod-nlb preview
/spacelift plat-fra-prod-nlb-listener-cluster-api preview
/spacelift plat-fra-prod-nlb-listener-msg-queue preview
/spacelift plat-fra-prod-alb-listener-ext-https preview
/spacelift plat-fra-prod-alb-listener-ext-video-stream preview
/spacelift plat-fra-prod-alb-listener-ext-cluster-api preview
/spacelift plat-fra-prod-dns-alb preview
/spacelift plat-fra-prod-dns-nlb preview
/spacelift plat-fra-prod-iam-dynamic-group preview

@renovate renovate bot merged commit a21c601 into master Feb 13, 2025
3 checks passed
@renovate renovate bot deleted the renovate/atmos-1.x branch February 13, 2025 08:46
@mtweeman
Copy link
Contributor

🎉 This PR is included in version 0.41.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant