Skip to content

Commit

Permalink
Update centrally managed files (#539)
Browse files Browse the repository at this point in the history
* update .gitignore

* update .gitignore

* update .github/workflows/release.yaml

* update .github/workflows/release.yaml

* update .gitignore

* update .gitignore

* update .github/workflows/release.yaml

* update .github/workflows/release.yaml

* update .gitignore

---------

Co-authored-by: soleng-terraform[bot] <168111096+soleng-terraform[bot]@users.noreply.github.com>
  • Loading branch information
soleng-terraform[bot] authored Sep 19, 2024
1 parent 80158fb commit 203fd67
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 26 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@ jobs:
secrets: inherit

release:
runs-on: ubuntu-22.04
runs-on: ${{ matrix.runs-on }}
needs: check
strategy:
fail-fast: false
matrix:
runs-on: [[ubuntu-22.04]]
outputs:
snap: ${{ steps.build.outputs.snap }}
steps:
Expand All @@ -27,9 +31,11 @@ jobs:
fetch-depth: 0 # Complete git history is required to generate the version from git tags.
- uses: snapcore/action-build@v1
id: build
- name: Determine system architecture
run: echo "SYSTEM_ARCH=$(uname -m)" >> $GITHUB_ENV
- uses: actions/upload-artifact@v4
with:
name: snap
name: snap_${{ env.SYSTEM_ARCH }}
path: ${{ steps.build.outputs.snap }}
- uses: snapcore/action-publish@v1
env:
Expand Down
50 changes: 26 additions & 24 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,43 +1,45 @@
# This is a template `.gitignore` file for snaps
# This file is managed by bootstack-charms-spec and should not be modified
# within individual snap repos. https://launchpad.net/bootstack-charms-spec
# This file is centrally managed as a template file in https://github.com/canonical/solutions-engineering-automation
# To update the file:
# - Edit it in the canonical/solutions-engineering-automation repository.
# - Open a PR with the changes.
# - When the PR merges, the soleng-terraform bot will open a PR to the target repositories with the changes.

# Byte-compiled / optimized / DLL files
# Python Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# Tests files and dir
# Test files and directories
.pytest_cache/
.coverage
.tox
.venv
reports/
**/report/
htmlcov/
.mypy_cache

# Log files
*.log

# IDEs
.idea/
.vscode/

# vi
.*.swp

# version data
repo-info
# python virtual environments (for local dev)
.venv
venv
env

# Python builds
# Build artefacts
output/
.build/
build/
*.charm
*.snap
# python build artefacts
deb_dist/
dist/
*.egg-info/

# Snaps
*.snap
# Log files
*.log

# Builds
.build/
build/
# general backup files
*~
*.bak

# Note: for editor-specific files, please don't add them here, as they are specific to your environment, not the project.
# Instead, consider using a global gitignore on your workstation.

0 comments on commit 203fd67

Please sign in to comment.