-
-
Notifications
You must be signed in to change notification settings - Fork 126
chore: Screengrabs #1239
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
Merged
Merged
chore: Screengrabs #1239
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
1d08e1b
added screengrabs
milldr 653c8fb
added screengrabs
milldr 781b2ad
added screengrabs
milldr 8a6d1cc
address pr feedback
milldr 17696c9
Merge branch 'main' into chore/screengrabs
milldr 9db5dda
Merge branch 'main' into chore/screengrabs
milldr 78d7f75
checkout screengrabs from regen-screengrabs branch
milldr 2065e69
Merge branch 'main' into chore/screengrabs
milldr b707527
Update screengrabs.yaml
milldr 0b05132
Update screengrabs.yaml
milldr 2b57f7d
Update screengrabs.yaml
milldr 853732a
Merge branch 'main' into chore/screengrabs
milldr d9becc4
Update .github/workflows/screengrabs.yaml
osterman 51a9daf
Merge branch 'main' into chore/screengrabs
milldr 4b8a1de
Merge branch 'main' into chore/screengrabs
milldr 49f4b18
Merge branch 'main' into chore/screengrabs
osterman 799f266
Merge branch 'main' into chore/screengrabs
milldr f339a06
Merge branch 'main' into chore/screengrabs
milldr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
name: Screengrabs | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
types: [labeled, opened, synchronize] | ||
paths: | ||
- ".github/workflows/screengrabs.yaml" | ||
|
||
permissions: | ||
contents: write | ||
pull-requests: write | ||
|
||
env: | ||
TERM: "xterm-256color" | ||
COLORTERM: "truecolor" | ||
LANG: "en_US.UTF-8" | ||
ATMOS_LOGS_LEVEL: "Info" | ||
|
||
jobs: | ||
prepare: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Get Atmos version | ||
id: get-version | ||
run: | | ||
VERSION=$(curl -s https://api.github.com/repos/cloudposse/atmos/releases/latest | jq -r .tag_name) | ||
echo "version=$VERSION" >> $GITHUB_OUTPUT | ||
|
||
outputs: | ||
version: ${{ steps.get-version.outputs.version }} | ||
|
||
build: | ||
needs: [prepare] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Install dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y aha util-linux make jq bat | ||
sudo ln -s /usr/bin/batcat /usr/bin/bat | ||
|
||
- name: Set Git Preferences for windows | ||
run: | | ||
git config --global core.autocrlf false | ||
git config --global core.eol lf | ||
|
||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install Atmos | ||
uses: jaxxstorm/[email protected] | ||
with: | ||
repo: cloudposse/atmos | ||
tag: ${{ needs.prepare.outputs.version }} | ||
chmod: 0755 | ||
extension-matching: disable | ||
rename-to: atmos | ||
|
||
- uses: hashicorp/setup-terraform@v3 | ||
with: | ||
terraform_wrapper: false | ||
|
||
- name: Run make build-all install | ||
run: | | ||
make -C demo/screengrabs build-all install | ||
git add -A | ||
git status | ||
|
||
- name: Create or update PR | ||
uses: peter-evans/create-pull-request@v7 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
branch: "chore/update-build-screengrabs-for-${{ needs.prepare.outputs.version }}" | ||
title: "Update screengrabs for ${{ needs.prepare.outputs.version }}" | ||
milldr marked this conversation as resolved.
Show resolved
Hide resolved
|
||
delete-branch: true | ||
sign-commits: true | ||
commit-message: | | ||
chore: update screengrabs for ${{ needs.prepare.outputs.version }} | ||
body: | | ||
This PR updates the screengrabs for Atmos version ${{ needs.prepare.outputs.version }}. | ||
base: main | ||
labels: "no-release" | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.