Merge pull request #1 from honestica/adapt-fork-to-lifen

This commit is contained in:
Benoit Tigeot 2022-06-16 10:09:53 +02:00 committed by GitHub
commit d8191b1995
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 24 additions and 61 deletions

22
.circleci/config.yml Normal file
View File

@ -0,0 +1,22 @@
version: 2
jobs:
build:
docker:
- image: circleci/python:3
steps:
- checkout
- setup_remote_docker:
docker_layer_caching: true
- run:
name: Build Gotty Image
command: |
DOCKER_TAG=$CIRCLE_BRANCH-$CIRCLE_BUILD_NUM
docker login -u $DOCKERHUB_USERNAME -p $DOCKERHUB_PASSWORD
docker build -t honestica/gotty-v2:$DOCKER_TAG .
docker push honestica/gotty-v2:$DOCKER_TAG
workflows:
version: 2
build:
jobs:
- build:
context: org-global

View File

@ -1,24 +0,0 @@
name: Go
on:
- push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16
- name: Test
run: make test
- name: Build
run: make tools cross_compile

View File

@ -1,37 +0,0 @@
---
name: "pre-release"
on:
push:
branches:
- "master"
jobs:
pre-release:
name: "Pre Release"
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16
- name: "Build & test"
run: "make tools release-artifacts"
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Development Build"
files: |
LICENSE
builds/dist/*

1
CODEOWNERS Normal file
View File

@ -0,0 +1 @@
* @honestica/infra @honestica/tooling

View File

@ -2,6 +2,7 @@ FROM golang:1.16
WORKDIR /gotty
COPY . /gotty
RUN apt-get update && apt-get install -y nodejs npm
RUN CGO_ENABLED=0 make
FROM alpine:latest