diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index ba7bbc1..1e9a72b 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -15,7 +15,7 @@ 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: diff --git a/README.md b/README.md index 2ac3da2..c0a4c46 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,10 @@ # k-teleray [![Latest Release](https://img.shields.io/github/v/tag/kalisio/k-teleray?sort=semver&label=latest)](https://github.com/kalisio/k-teleray/releases) -[![Build Status](https://github.com/kalisio/k-teleray/actions/workflows/main.yaml/badge.svg)](https://github.com/kalisio/k-teleray/actions/workflows/main.yaml) +[![CI](https://github.com/kalisio/k-teleray/actions/workflows/main.yaml/badge.svg)](https://github.com/kalisio/k-teleray/actions/workflows/main.yaml) +[![Code Climate](https://codeclimate.com/github/kalisio/k-teleray/badges/gpa.svg)](https://codeclimate.com/github/kalisio/k-teleray) +[![Test Coverage](https://codeclimate.com/github/kalisio/k-teleray/badges/coverage.svg)](https://codeclimate.com/github/kalisio/k-teleray/coverage) +[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) A [Krawler](https://kalisio.github.io/krawler/) based service to download data from the French gamma dose rate alert [Teleray](http://teleray.irsn.fr/aide.htm) network. @@ -39,4 +42,4 @@ This project is sponsored by ## License -This project is licensed under the MIT License - see the [license file](./LICENSE) for details \ No newline at end of file +This project is licensed under the MIT License - see the [license file](./LICENSE) for details diff --git a/scripts/init_runner.sh b/scripts/init_runner.sh index 79e543e..b1c9085 100755 --- a/scripts/init_runner.sh +++ b/scripts/init_runner.sh @@ -6,14 +6,13 @@ JOB_ID=$1 THIS_FILE=$(readlink -f "${BASH_SOURCE[0]}") THIS_DIR=$(dirname "$THIS_FILE") -# ROOT_DIR=$(dirname "$THIS_DIR") . "$THIS_DIR/kash/kash.sh" ### 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 1d57633..d8245ef 160000 --- a/scripts/kash +++ b/scripts/kash @@ -1 +1 @@ -Subproject commit 1d576339e589b67c3dc951d6e0a49bc3dcf32369 +Subproject commit d8245efeab5ed00a5f4691e5a06dec0f887dacac diff --git a/scripts/setup_workspace.sh b/scripts/setup_workspace.sh index e42d3c6..2852e78 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 @@ -35,4 +35,4 @@ fi setup_job_workspace "$WORKSPACE_DIR" "$DEVELOPMENT_REPO_URL" -end_group "Setting up workspace ..." \ No newline at end of file +end_group "Setting up workspace ..."