diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 1fe83e6..eebc905 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -18,10 +18,9 @@ jobs: run: bash ./scripts/init_runner.sh ${{ github.job }} - name: Setup workspace env: - GITHUB_DEVELOPMENT_PAT: ${{ secrets.GH_DEVELOPMENT_PAT }} + GITHUB_DEVELOPMENT_TOKEN: ${{ secrets.GH_DEVELOPMENT_TOKEN }} run: bash ./scripts/setup_workspace.sh - name: Build job env: SOPS_AGE_KEY: ${{ secrets.SOPS_AGE_KEY }} run: bash ./scripts/build.sh -p -r ${{ github.job }} -v ${{ matrix.variant }} - \ No newline at end of file diff --git a/README.md b/README.md index 7249f45..622a8b1 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,10 @@ # k-atlas -[![ci](https://github.com/kalisio/k-centipede/actions/workflows/main.yaml/badge.svg)](https://github.com/kalisio/k-centipede/actions/workflows/main.yaml) +[![Latest Release](https://img.shields.io/github/v/tag/kalisio/k-atlas?sort=semver&label=latest)](https://github.com/kalisio/k-atlas/releases) +[![CI](https://github.com/kalisio/k-atlas/actions/workflows/main.yaml/badge.svg)](https://github.com/kalisio/k-atlas/actions/workflows/main.yaml) +[![Code Climate](https://codeclimate.com/github/kalisio/k-atlas/badges/gpa.svg)](https://codeclimate.com/github/kalisio/k-atlas) +[![Test Coverage](https://codeclimate.com/github/kalisio/k-atlas/badges/coverage.svg)](https://codeclimate.com/github/kalisio/k-atlas/coverage) +[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [Krawler](https://kalisio.github.io/krawler/) based jobs to scrape various data related to administrative entities. diff --git a/scripts/init_runner.sh b/scripts/init_runner.sh index 2654d03..b1c9085 100755 --- a/scripts/init_runner.sh +++ b/scripts/init_runner.sh @@ -12,7 +12,7 @@ THIS_DIR=$(dirname "$THIS_FILE") ### Github Actions init_github_build() { - install_reqs age sops nvm node16 + install_reqs age sops } begin_group "Init $CI_ID for $JOB_ID" diff --git a/scripts/kash b/scripts/kash index 28ec19c..d8245ef 160000 --- a/scripts/kash +++ b/scripts/kash @@ -1 +1 @@ -Subproject commit 28ec19ccafe492a861ae88b877433b24c596db3f +Subproject commit d8245efeab5ed00a5f4691e5a06dec0f887dacac diff --git a/scripts/setup_workspace.sh b/scripts/setup_workspace.sh index bdb1e04..2983387 100755 --- a/scripts/setup_workspace.sh +++ b/scripts/setup_workspace.sh @@ -12,7 +12,7 @@ begin_group "Setting up workspace ..." if [ "$CI" = true ]; then WORKSPACE_DIR="$(dirname "$ROOT_DIR")" - DEVELOPMENT_REPO_URL="https://$GITHUB_DEVELOPMENT_PAT@github.com/kalisio/development.git" + DEVELOPMENT_REPO_URL="https://$GITHUB_DEVELOPMENT_TOKEN@github.com/kalisio/development.git" else while getopts "b:t" option; do case $option in