-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 577df60
Showing
88 changed files
with
5,292 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
audit.json | ||
creds.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
image: docker:latest | ||
|
||
services: | ||
- docker:dind | ||
|
||
variables: | ||
DOCKER_DRIVER: overlay2 | ||
GOPATH: /build | ||
REPO_NAME: github.com/Unity-Technologies/nemesis | ||
RUN_SRCCLR: 0 | ||
|
||
before_script: | ||
# Install CA certs, openssl to https downloads, python for gcloud sdk | ||
- apk add --update make ca-certificates openssl python | ||
- update-ca-certificates | ||
# Authorize the docker client with GCR | ||
- echo $GCLOUD_SERVICE_KEY | docker login -u _json_key --password-stdin https://gcr.io | ||
# Go to build directory | ||
|
||
stages: | ||
- build | ||
|
||
build: | ||
stage: build | ||
script: | ||
- | | ||
make build push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# 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.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [Unreleased] | ||
|
||
|
||
## [0.1.0] - 2019-07-25 | ||
### Added | ||
- First release! | ||
- Support for scanning GCP project(s) and measuring against the [GCP CIS Benchmark](https://www.cisecurity.org/benchmark/google_cloud_computing_platform/) | ||
|
||
### Changed | ||
- N/A | ||
|
||
### Removed | ||
- N/A |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
FROM alpine:3.10.3 AS certs | ||
RUN apk --no-cache add ca-certificates | ||
|
||
FROM golang:1.13.5 as builder | ||
WORKDIR /app | ||
COPY go.mod . | ||
COPY go.sum . | ||
RUN go mod download | ||
COPY . . | ||
RUN CGO_ENABLED=0 GOOS=linux go build -o /nemesis . | ||
|
||
FROM scratch | ||
COPY --from=builder /nemesis ./ | ||
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt | ||
ENTRYPOINT ["./nemesis"] |
Oops, something went wrong.