From cf9ca3cca47b997ec4e0d45296db234c2c0d9bf7 Mon Sep 17 00:00:00 2001 From: sam Date: Thu, 18 Mar 2021 06:37:58 -0700 Subject: [PATCH 1/4] ci(kotlin): configure workflow --- .github/workflows/kotlin.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.github/workflows/kotlin.yml b/.github/workflows/kotlin.yml index e69de29..2bc4419 100644 --- a/.github/workflows/kotlin.yml +++ b/.github/workflows/kotlin.yml @@ -0,0 +1,23 @@ +name: kotlin + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up JDK 11 + uses: actions/setup-java@v1 + with: + java-version: 11 + - name: Grant execute permission for gradlew + run: chmod +x gradlew + - name: Build with Gradle + run: ./gradlew build From f05c9e0a4cd189a774537d6b7542f2ea8c920b23 Mon Sep 17 00:00:00 2001 From: sam bacha Date: Thu, 18 Mar 2021 06:39:01 -0700 Subject: [PATCH 2/4] fix(ci): trigger on push --- .github/workflows/kotlin.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/kotlin.yml b/.github/workflows/kotlin.yml index 2bc4419..3d7cc6c 100644 --- a/.github/workflows/kotlin.yml +++ b/.github/workflows/kotlin.yml @@ -2,7 +2,6 @@ name: kotlin on: push: - branches: [ master ] pull_request: branches: [ master ] From e66bd488387f4f3c6e49283ca25906c3ab006391 Mon Sep 17 00:00:00 2001 From: sam bacha Date: Tue, 24 Aug 2021 02:20:02 -0700 Subject: [PATCH 3/4] ci(actions): configure gradle --- .github/workflows/gradle.yml | 22 ++++++++++++++++++++++ .github/workflows/kotlin.yml | 22 ---------------------- 2 files changed, 22 insertions(+), 22 deletions(-) create mode 100644 .github/workflows/gradle.yml delete mode 100644 .github/workflows/kotlin.yml diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml new file mode 100644 index 0000000..7c7a3ac --- /dev/null +++ b/.github/workflows/gradle.yml @@ -0,0 +1,22 @@ +name: gradle + +on: + push: + pull_request: + branches: [ master ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v2.3.0 + with: + distribution: 'zulu' + java-version: '11' + - uses: gradle/gradle-build-action@v1.5.0 + with: + arguments: build + id: gradle + env: + CI: true diff --git a/.github/workflows/kotlin.yml b/.github/workflows/kotlin.yml deleted file mode 100644 index 3d7cc6c..0000000 --- a/.github/workflows/kotlin.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: kotlin - -on: - push: - pull_request: - branches: [ master ] - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - name: Set up JDK 11 - uses: actions/setup-java@v1 - with: - java-version: 11 - - name: Grant execute permission for gradlew - run: chmod +x gradlew - - name: Build with Gradle - run: ./gradlew build From 9ac83c2403d72f67eb7c4f3bde15a2a9794d58ff Mon Sep 17 00:00:00 2001 From: sam bacha Date: Tue, 24 Aug 2021 02:21:14 -0700 Subject: [PATCH 4/4] cfg(env): init --- .env | 32 +------------------------------- 1 file changed, 1 insertion(+), 31 deletions(-) diff --git a/.env b/.env index 4e711c1..d1a38dc 100644 --- a/.env +++ b/.env @@ -1,31 +1 @@ -#!/usr/bin/env bash - -POSTGRES_VERSION=12 -POSTGRES_USER=as2ng -POSTGRES_PASSWORD=as2ng -POSTGRES_DB=as2ng - -VAULT_DEV_ROOT_TOKEN_ID=root -VAULT_TOKEN=root -VAULT_ADDR=http://127.0.0.1:8200 - -MINIO_ACCESS_KEY=minio -MINIO_SECRET_KEY=12345678 - -AWS_ACCESS_KEY_ID=${MINIO_ACCESS_KEY} -AWS_SECRET_ACCESS_KEY=${MINIO_SECRET_KEY} -AWS_DEFAULT_REGION=us-east-1 - -MINIO_DOMAIN=localhost - -AS2NG_S3_BUCKET=as2ng - -# only required when working minio locally -AS2NG_S3_SIGNER_OVERRIDE=AWSS3V4SignerType -AS2NG_S3_DISABLE_CHUNKED_ENCODING=true - -AS2NG_JDBC_URL=jdbc:postgresql://localhost/as2ng?user=as2ng&password=as2ng - -AS2NG_VAULT_ISSUE_URL=http://127.0.0.1:8200/v1/pki_int/issue/freighttrust-dot-com -AS2NG_VAULT_AUTH_TOKEN=root - +#EOF