Skip to content

Commit

Permalink
Hello, world, firewheel_repo_linux is now public
Browse files Browse the repository at this point in the history
  • Loading branch information
sdelliot committed Dec 16, 2024
0 parents commit 040bfff
Show file tree
Hide file tree
Showing 61 changed files with 3,251 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
*.qc2 filter=lfs diff=lfs merge=lfs -text
*.qcow2 filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.tar filter=lfs diff=lfs merge=lfs -text
*.tar.gz filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
13 changes: 13 additions & 0 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# This workflow will enforce FIREWHEEL ecosystem standard linting

name: FIREWHEEL Linting

on:
push:
branches: [ "*" ]
pull_request:
branches: [ "main" ]

jobs:
call-firewheel-linting:
uses: sandialabs/firewheel/.github/workflows/linting.yml@main
16 changes: 16 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# This workflow will upload a Python package in the official FIREWHEEL ecosystem

name: Upload FIREHWEEL Python Package

on:
release:
types: [published]

permissions:
contents: read

jobs:
call-firewheel-python-publish:
uses: sandialabs/firewheel/.github/workflows/python-publish.yml@main
secrets:
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
104 changes: 104 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

## C extensions
*.so

## Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
sdist/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg

## PyInstaller
## Usually these files are written by a python script from a template
## before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

## Installer logs
pip-log.txt
pip-delete-this-directory.txt

## Other logs
*.log

## Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.pytest_cache/

## Sphinx documentation
docs/build/
_build

## Jupyter Notebook
.ipynb_checkpoints

## VS Code
.vscode

## pyenv
.python-version

## Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

## mypy
.mypy_cache/
.dmypy.json
dmypy.json

## Pyre type checker
.pyre

# MacOS
## General
.DS_Store
.AppleDouble
.LSOverride

## Files that might appear in the root of a volume
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns

# VIM
## Swap
[._]*.s[a-v][a-z]
[._]*.sw[a-p]
[._]s[a-rt-v][a-z]
[._]ss[a-gi-z]
[._]sw[a-p]

## Session
Session.vim

## Temporary
*~
76 changes: 76 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
###############################
# FIREWHEEL's Continuous Integration
#
# This GitLab CI file enables testing of FIREWHEEL
# on a variety of operating systems and versions of
# Python.
#
# It makes heavy use of Anchors to save space.
# see: https://docs.gitlab.com/ce/ci/yaml/README.html#anchors
#
###############################

###############################
# Change pip's cache directory to be inside the project
# directory since we can only cache local items.
###############################
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"


###############################
# Pip's cache doesn't store the python packages
# https://pip.pypa.io/en/stable/reference/pip_install/#caching
#
# If you want to also cache the installed packages, you have to install
# them in a virtualenv and cache it as well.
###############################
cache:
paths:
- .cache/pip
- fwpy/


before_script:
- pushd /tmp
- python3.8 -m venv fwpy
- source fwpy/bin/activate
- popd
- python -m pip install $PIP_ARGS --upgrade wheel setuptools pip
- python -m pip install $PIP_ARGS tox


###############################
# Creating a few defaults and setting up the Pipeline stages.
###############################
default:
tags:
- ubuntu1804

stages:
- lint
- upstream

###############################
# Lint Stages
#
# This includes:
# * lint-code: Linting all executable code
# * lint-docs: Linting all documentation
###############################
lint-code:
stage: lint
script:
- tox -e lint

lint-docs:
stage: lint
script:
- tox -e lint-docs

# Trigger our downstream FIREWHEEL pipeline.
update-docs:
stage: upstream
trigger: firewheel/firewheel
only:
- main
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Added

### Changed

### Deprecated

### Removed

### Fixed

### Security

## [2.7.0] - 2024-12-02
This is the initial Open Source release of ``firewheel_repo_linux``!
2 changes: 2 additions & 0 deletions COPYRIGHT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Copyright 2024 National Technology & Engineering Solutions of Sandia, LLC (NTESS).
Under the terms of Contract DE-NA0003525 with NTESS, the U.S. Government retains certain rights in this software.
13 changes: 13 additions & 0 deletions DISCLAIMER.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## Disclaimer of Warranty

This Work is provided "AS IS."
Any express or implied warranties, including but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed.
In no event shall the United States Government be liable for any direct, indirect, incidental, special, exemplary or consequential damages (including, but not limited to, procurement of substitute goods or services, loss of use, data or profits, or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this Work, even if advised of the possibility of such damage.

The User of this Work agrees to hold harmless and indemnify the United States Government, its agents and employees from every claim or liability (whether in tort or in contract), including attorney's fees, court costs, and expenses, arising in direct consequence of Recipient's use of the item, including, but not limited to, claims or liabilities made for injury to or death of personnel of User or third parties, damage to or destruction of property of User or third parties, and infringement or other violations of intellectual property or technical data rights.

## Disclaimer of Endorsement

Nothing in this Work is intended to constitute an endorsement, explicit or implied, by the United States Government of any particular manufacturer's product or service.

Reference herein to any specific commercial product, process, or service by trade name, trademark, manufacturer, or otherwise, in this Work does not constitute an endorsement, recommendation, or favoring by the United States Government and shall not be used for advertising or product endorsement purposes.
Loading

0 comments on commit 040bfff

Please sign in to comment.