Skip to content

Commit

Permalink
Initial changes
Browse files Browse the repository at this point in the history
These are incomplete, but provide the basic skeleton of change.
  • Loading branch information
rustydb committed Jul 10, 2023
1 parent bfaa2fa commit 73b6928
Show file tree
Hide file tree
Showing 79 changed files with 890 additions and 10,646 deletions.
16 changes: 0 additions & 16 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
### Summary and Scope

<!--- Pick one below and delete the rest -->
<!--- Add the JIRA (WORD-NUMBER), or use a hyper-link ([WORD-NUMBER](https://jira-pro.its.hpecorp.net:8443/browse/WORD-NUMBER)). -->

- Fixes:
- Requires:
Expand All @@ -17,21 +16,6 @@

<!--- words; describe what this change is and what it is for. -->

### Prerequisites

<!--- An empty check is two brackets with a space inbetween, a checked checkbox is two brackets with an x inbetween -->
<!--- unchecked checkbox: [ ] -->
<!--- checked checkbox: [x] -->
<!--- invalid checkbox: [] -->

- [ ] I have included documentation in my PR (or it is not required)
- [ ] I tested this on internal system (if yes, please include results or a description of the test)
- [ ] I tested this on a vshasta system (if yes, please include results or a description of the test)

### Idempotency

<!--- describe testing done to verify code changes behave in an idempotent manner -->

### Risks and Mitigations

<!--- What is less risky, or more risky now - or if your mod fails is there a new risk? -->
Expand Down
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,9 @@ updates:
interval: "weekly"
labels:
- "dependencies"
- package-ecosystem: "github-actions"
# Look for `.github/workflows` in the `root` directory
directory: "/"
# Check for updates once a week
schedule:
interval: "weekly"
47 changes: 47 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Continuous Integration
env:
GO_VERSION: 1.20.1
on:
push:
branches:
- '*'
pull_request:
branches: [ main ]

jobs:
cache:
name: cache-deps (linux)
runs-on: ubuntu-latest

permissions:
contents: read

steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3

with:
go-version: ${{ env.GO_VERSION }}
- uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
- run: go mod download

lint:
name: lint (linux)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}

- name: Lint
run: |
make tools
make lint
- name: Test
run: make test
32 changes: 0 additions & 32 deletions .github/workflows/ci.yml

This file was deleted.

15 changes: 15 additions & 0 deletions .github/workflows/depsreview.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: 'Dependency Review'
on: [pull_request]

jobs:
dependency-review:
runs-on: ubuntu-latest

permissions:
contents: read

steps:
- name: 'Checkout Repository'
uses: actions/checkout@v3
- name: 'Dependency Review'
uses: actions/dependency-review-action@v3
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Binaries for programs and plugins
bin/
dist/
*.exe
*.exe~
*.dll
Expand All @@ -12,4 +14,4 @@
*.out

# Dependency directories (remove the comment below to include it)
# vendor/
vendor/
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022 Cray / HPE
Copyright (c) 2023 Cray / HPE

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading

0 comments on commit 73b6928

Please sign in to comment.