Skip to content

Commit

Permalink
Golanggithub (#314)
Browse files Browse the repository at this point in the history
* Add Github Actions
  • Loading branch information
tlimoncelli authored Jul 24, 2020
1 parent 1c77c87 commit b07793f
Show file tree
Hide file tree
Showing 3 changed files with 116 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -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 changes: 35 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -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 changes: 65 additions & 0 deletions README-v2.md
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit b07793f

Please sign in to comment.