Skip to content

Make the --workflow-template flag optional for the atmos atlantis generate repo-config command - #299

Merged
Andriy Knysh (aknysh) merged 11 commits into
masterfrom
update-cli-2
Jan 11, 2023
Merged

Andriy Knysh (aknysh) merged 11 commits into
masterfrom
update-cli-2

Conversation

@aknysh

@aknysh Andriy Knysh (aknysh) commented Jan 11, 2023 •

Copy link
Copy Markdown
Member

what

why

  • Do not immediately exit when a configuration file is not found. This allows, for example, the version command to be run without a configuration file. The commands requiring a configuration file still do exit when it is missing. See Avoid exiting early when missing configuration file #288

  • Atlantis workflows can be defined in the server side config and in the repo config (atlantis.yaml). When defined and used in the server side config, we son't need to specify the workflow template using the --workflow-template flag in the atmos atlantis generate repo-config command. Instead, we define workflows in the server config file and add the workflow attribute to the project templates in atmos.yaml CLI config file

  • Update atmos describe stacks command to add the component attribute for each component in each stack in the command output. The component attribute is used in the atmos describe affected command to find out if the files in the component's folder have changed. (Note that before, the component attribute was added only to the derived components, making the atmos describe affected command not find the affected terraform files for the components without inheritance)

related

@bridgecrew bridgecrew Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bridgecrew has found errors in this PR ⬇️

Comment thread go.sum Resolved
Comment thread go.sum Resolved
Comment thread go.sum Resolved
Comment thread go.sum Resolved
Comment thread go.sum Resolved
Comment thread go.sum Resolved
Comment thread go.sum Resolved
Comment thread go.sum Resolved
Comment thread go.sum Resolved
Comment thread go.sum Resolved
@aknysh
Andriy Knysh (aknysh) merged commit 2e07ce2 into master Jan 11, 2023
@aknysh
Andriy Knysh (aknysh) deleted the update-cli-2 branch January 11, 2023 01:08
Erik Osterman (Cloud Posse) (osterman) added a commit that referenced this pull request Sep 30, 2026
- github.com/containerd/containerd/v2 v2.3.5 -> v2.3.6 (#299, medium):
  image-pull DoS via crafted OCI index graph amplification. Requires
  bumping go.mod's go directive to 1.26.8 -- containerd v2.3.6 itself
  declares that as its minimum Go version.
- fast-uri 3.1.6 -> 3.1.8 via pnpm override (#300, #301, both high):
  authority injection via unvalidated port, and host confusion via an
  unclosed bracket in the URI authority.
- image-size 2.0.2 -> 2.0.4 via a new pnpm override (#297, #298, both
  high): denial of service through infinite loops in the ICNS/JXL/HEIF
  parsers.

All three are patch/minor bumps within their existing major version,
inside dependabot.yml's semver-major ignore policy. NOTICE regenerated
for the two website dependency changes.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Erik Osterman (Cloud Posse) (osterman) added a commit that referenced this pull request Oct 2, 2026
- github.com/containerd/containerd/v2 v2.3.5 -> v2.3.6 (#299, medium):
  image-pull DoS via crafted OCI index graph amplification. Requires
  bumping go.mod's go directive to 1.26.8 -- containerd v2.3.6 itself
  declares that as its minimum Go version.
- fast-uri 3.1.6 -> 3.1.8 via pnpm override (#300, #301, both high):
  authority injection via unvalidated port, and host confusion via an
  unclosed bracket in the URI authority.
- image-size 2.0.2 -> 2.0.4 via a new pnpm override (#297, #298, both
  high): denial of service through infinite loops in the ICNS/JXL/HEIF
  parsers.

All three are patch/minor bumps within their existing major version,
inside dependabot.yml's semver-major ignore policy. NOTICE regenerated
for the two website dependency changes.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Erik Osterman (Cloud Posse) (osterman) added a commit to arcaven/atmos that referenced this pull request Oct 18, 2026
…racker (cloudposse#3195)

* fix(agent-skills): track the Claude Code plugin version with Version Tracker

The atmos@cloudposse plugin declared "version": "1.0.0" since it was
added, so `claude plugin update` could never detect new skills. Track
cloudposse/atmos's own latest release as a Version Tracker dependency and
write it into plugin.json and marketplace.json with the json file manager
(format: trimPrefix "v" so the manifests carry bare semver).

A new workflow runs `atmos version track update` and `apply` inside the
published atmos container image whenever a stable image lands on GHCR, and
opens a no-release PR with the refreshed manifests and lock file.

Closes cloudposse#2895

Co-Authored-By: Claude Sonnet 5 <[email protected]>

* fix(ci): run the plugin version bump as a build.yml job, not a registry_package workflow

The image is pushed by build.yml with the default GITHUB_TOKEN, and GitHub
does not start workflow runs from events that token causes, so a
registry_package-triggered workflow would likely never fire. It would also
have read package_version.version, which can be a manifest digest rather
than a tag for multi-arch images.

Add the bump as a `needs: docker` job in build.yml instead (the same shape
as the homebrew job). It runs inside the exact image the docker job pushed,
using that job's image and tag outputs, and no longer needs its own trigger
filters. Also drop the workflow-level write permissions: the default token
only reads, and writes go through the GitHub App token.

Co-Authored-By: Claude Sonnet 5 <[email protected]>

* fix(security): remediate 3 Dependabot alerts

- github.com/containerd/containerd/v2 v2.3.5 -> v2.3.6 (cloudposse#299, medium):
  image-pull DoS via crafted OCI index graph amplification. Requires
  bumping go.mod's go directive to 1.26.8 -- containerd v2.3.6 itself
  declares that as its minimum Go version.
- fast-uri 3.1.6 -> 3.1.8 via pnpm override (cloudposse#300, cloudposse#301, both high):
  authority injection via unvalidated port, and host confusion via an
  unclosed bracket in the URI authority.
- image-size 2.0.2 -> 2.0.4 via a new pnpm override (cloudposse#297, cloudposse#298, both
  high): denial of service through infinite loops in the ICNS/JXL/HEIF
  parsers.

All three are patch/minor bumps within their existing major version,
inside dependabot.yml's semver-major ignore policy. NOTICE regenerated
for the two website dependency changes.

Co-Authored-By: Claude Sonnet 5 <[email protected]>

* fix(security): remediate 4 more Dependabot alerts in website deps

- fast-uri 3.1.7 -> 3.1.8 via pnpm override (cloudposse#308, medium): inconsistent
  host case normalization via percent-encoded octets. Already resolved
  to 3.1.8 by the prior fast-uri fix in this branch -- bumping the
  override floor to document the real requirement rather than leaving
  it implicit.
- dompurify 3.4.14 -> 3.4.16 via pnpm override (cloudposse#309, low): detached
  subtree event handlers left armed after IN_PLACE sanitization.
- brace-expansion 1.1.18 -> 1.1.21 and 2.1.4 -> 2.1.7 via pnpm overrides
  (cloudposse#302-cloudposse#307, high/medium): three stacked DoS advisories per major line
  (uncontrolled recursion, then quadratic-time expansion).

All four are patch bumps within their existing major version, inside
dependabot.yml's semver-major ignore policy. NOTICE unchanged (no
license changes).

Not auto-fixed: three new CodeQL alerts (#6283-#6285, govulncheck
advisories GO-2022-0635/GO-2022-0646/GO-2026-5932 on deep transitive
deps -- aws-sdk-go's S3 Crypto SDK and x/crypto/openpgp usage) aren't
on this repo's established safe-fix-pattern list and need investigation
into which dependency actually pulls them in before attempting a fix.

Co-Authored-By: Claude Sonnet 5 <[email protected]>

---------

Co-authored-by: Claude Sonnet 5 <[email protected]>

This branch was previously deployed

1 inactive deployment
preview — 6a456238 Deployed Jan 11, 2023 by aknysh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make workflow-template in atmos atlantis generate repo-config optional

2 participants