Golanggithub (#314)

* Add Github Actions
This commit is contained in:
Tom Limoncelli
2020-07-24 14:25:17 -04:00
committed by GitHub
parent 1c77c87555
commit b07793faf8
3 changed files with 116 additions and 0 deletions

16
.github/workflows/build-and-test.yml vendored Normal file
View File

@@ -0,0 +1,16 @@
name: build-and-test
ono: [pull_request, push] # TODO remove "push". Add it just for debugging
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
users: actions/checkout@v2
with:
fetch-depth: 0
- name: Build Docker image
users: docker/build-push-action@v1
with:
push: false

35
.github/workflows/release.yml vendored Normal file
View File

@@ -0,0 +1,35 @@
name: Create draft release
jobs:
build:
name: Create draft release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Build project (dummy)
run: zip my-artifact README.md # TODO - actually create all the binaries, artifacts etc
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: Please add your release note here
draft: true
prerelease: false
- name: Upload binaries
id: upload_binaries
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./my-artifact.zip
asset_name: my-artifact.zip
asset_content_type: application/zip

65
README-v2.md Normal file
View File

@@ -0,0 +1,65 @@
BlackBox v2
===========
WARNING: v2 is still experimental. It is in the same git repo as v1
because the filenames do not overlap. Please do not mix the two. v1
is in `bin`. v2 is in `cmd/blackbox` and `binv2`.
Blackbox is an open source tool that enables you to safe store sensitive information in
Git (or other) repos by encrypting them with GPG. Only the encrypted
version of the file is available. You can be free to provide access
to the repo, as but only people with the right GPG keys can access the
encrypted data.
Things you should **never** store in a repo without encryption:
* TLS (SSL) certificates
* Passwords
* API keys
* And more!
Project Info:
* [Overview](user-overview.md)
* [Why is this important?](why-is-this-important.md)
* [Support/Community](support.md)
* [How BB encrypts](encryption.md)
* [OS Compatibility](compatibility.md)
* [Installation Instructions](installation.md)
* [Alternatives](alternatives.md)
User Info:
* [Enabling Blackbox on a Repo](enable-repo.md)
* [Enroll a file](enable-repo.md)
* [Full Command List](full-command-list.md)
* [Add/Remove users](admin-ops.md)
* [Add/Remove files](file-ops.md)
* [Advanced techiques](advanced.md)
* [Use with Role Accounts](role-accounts.md)
* [Backwards Compatibility](backwards-compatibility.md)
* [Replacing expired keys](expired-keys.md)
* [Git Tips](git-tips.md)
* [SubVersion Tips](subversion-tips.md)
* [GnuPG tips](gnupg-tips.md)
* [Use with Ansible](with-ansible.md)
* [Use with Puppet](with-puppet.md)
For contributors:
* [Developer Info](dev.md)
* [Code overview](dev-code-overview.md)
* [HOWTO: Add new OS support](dev-add-os-support.md)
* [HOWTO: Add new VCS support](dev-add-vcs-support.md)
A slide presentation about an older release [is on SlideShare](http://www.slideshare.net/TomLimoncelli/the-blackbox-project-sfae).
Join our mailing list: [https://groups.google.com/d/forum/blackbox-project](https://groups.google.com/d/forum/blackbox-project)
License
=======
This content is released under the MIT License.
See the [LICENSE.txt](LICENSE.txt) file.