Skip to content

Commit

Permalink
Fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jamengual committed Oct 22, 2024
1 parent ef900a5 commit 0538861
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 22 deletions.
9 changes: 4 additions & 5 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ inputs:
not supplied by the user. When running this action on github.com, the default value is sufficient. When running on
GHES, you can pass a personal access token for github.com if you are experiencing rate limiting.
default: ${{ github.server_url == 'https://github.com' && github.token || '' }}
restore-cache:
description: "Restore cache from previous job if needed. Useful when other files are automatically generated by the pipeline but not commited. Uses inputs.sha as cache key to restore."
do-not-checkout:
description: "Disable actions/checkout. Useful for when the checkout happens in a previous step and file are modified outside of git through other actions"
required: false
default: 'false'
outputs:
Expand All @@ -64,12 +64,11 @@ runs:
using: "composite"
steps:
- name: Checkout
if: ${{ inputs.restore-cache == 'false' }}
if: ${{ inputs.do-not-checkout == 'false' }}
uses: actions/checkout@v4
with:
ref: ${{ inputs.sha }}
clean: ${{ inputs.restore-cache != 'true' }}


- name: Set atmos cli config path vars
shell: bash
run: |-
Expand Down
17 changes: 0 additions & 17 deletions tests/terraform/atmos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,23 +67,6 @@ workflows:
integrations:
github:
gitops:
terraform-version: 1.5.2
infracost-enabled: __INFRACOST_ENABLED__
artifact-storage:
region: __STORAGE_REGION__
bucket: __STORAGE_BUCKET__
table: __STORAGE_TABLE__
role: __STORAGE_ROLE__
plan-repository-type: azureblob
blob-account-name:
blob-container-name:
metadata-repository-type:
cosmos-container-name:
cosmos-database-name:
cosmos-endpoint:
role:
plan: __PLAN_ROLE__
apply: __APPLY_ROLE__
matrix:
sort-by: .stack_slug
group-by: .stack_slug | split("-") | [.[0], .[2]] | join("-")
Expand Down

0 comments on commit 0538861

Please sign in to comment.