Skip to content

Commit

Permalink
Upgrade Talos and start using Actions variables
Browse files Browse the repository at this point in the history
  • Loading branch information
bannmann committed Nov 22, 2023
1 parent faa31b8 commit df0f2fc
Showing 1 changed file with 24 additions and 20 deletions.
44 changes: 24 additions & 20 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
pull_request:
branches:
- develop
- talos-testing/fake-develop

jobs:
build:
Expand All @@ -18,6 +19,7 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 0
lfs: true

- name: Prepare directories
run: mkdir -p /home/runner/work/_temp/_github_home/talos-m2-repository
Expand All @@ -31,31 +33,33 @@ jobs:
- name: Build
uses: docker://incub8softwarelabs/talos:latest
env:
# Talos-specific variables
TALOS_MAVEN_DEBUG: ${{ secrets.TALOS_MAVEN_DEBUG }}
TALOS_PARAMETERS: ${{ secrets.TALOS_PARAMETERS }}
TALOS_RELEASE_REPO_ENABLED: ${{ secrets.TALOS_RELEASE_REPO_ENABLED }}
TALOS_RELEASE_REPO_ID: ${{ secrets.TALOS_RELEASE_REPO_ID }}
TALOS_RELEASE_REPO_URL: ${{ secrets.TALOS_RELEASE_REPO_URL }}
TALOS_SERVER1_ID: ${{ secrets.TALOS_SERVER1_ID }}
# Talos-specific secrets
TALOS_SERVER1_PASSWORD: ${{ secrets.TALOS_SERVER1_PASSWORD }}
TALOS_SERVER1_USERNAME: ${{ secrets.TALOS_SERVER1_USERNAME }}
TALOS_SERVER2_ID: ${{ secrets.TALOS_SERVER2_ID }}
TALOS_SERVER2_PASSWORD: ${{ secrets.TALOS_SERVER2_PASSWORD }}
TALOS_SERVER2_USERNAME: ${{ secrets.TALOS_SERVER2_USERNAME }}
TALOS_SERVER3_ID: ${{ secrets.TALOS_SERVER3_ID }}
TALOS_SERVER3_PASSWORD: ${{ secrets.TALOS_SERVER3_PASSWORD }}
TALOS_SERVER3_USERNAME: ${{ secrets.TALOS_SERVER3_USERNAME }}
TALOS_SIGNING_ENABLED: ${{ secrets.TALOS_SIGNING_ENABLED }}
TALOS_SIGNING_KEY: ${{ secrets.TALOS_SIGNING_KEY }}
TALOS_SIGNING_PROFILE: ${{ secrets.TALOS_SIGNING_PROFILE }}
TALOS_SNAPSHOT_REPO_ENABLED: ${{ secrets.TALOS_SNAPSHOT_REPO_ENABLED }}
TALOS_SNAPSHOT_REPO_ID: ${{ secrets.TALOS_SNAPSHOT_REPO_ID }}
TALOS_SNAPSHOT_REPO_URL: ${{ secrets.TALOS_SNAPSHOT_REPO_URL }}
TALOS_SONAR_ENABLED: ${{ secrets.TALOS_SONAR_ENABLED }}
TALOS_SONAR_HOST: ${{ secrets.TALOS_SONAR_HOST }}
TALOS_SONAR_LOGIN: ${{ secrets.TALOS_SONAR_LOGIN }}
TALOS_SONAR_ORGANIZATION: ${{ secrets.TALOS_SONAR_ORGANIZATION }}

# Talos-specific variables
TALOS_MAVEN_DEBUG: ${{ vars.TALOS_MAVEN_DEBUG }}
TALOS_PARAMETERS: ${{ vars.TALOS_PARAMETERS }}
TALOS_RELEASE_REPO_ENABLED: ${{ vars.TALOS_RELEASE_REPO_ENABLED }}
TALOS_RELEASE_REPO_ID: ${{ vars.TALOS_RELEASE_REPO_ID }}
TALOS_RELEASE_REPO_URL: ${{ vars.TALOS_RELEASE_REPO_URL }}
TALOS_SERVER1_ID: ${{ vars.TALOS_SERVER1_ID }}
TALOS_SERVER1_USERNAME: ${{ vars.TALOS_SERVER1_USERNAME }}
TALOS_SERVER2_ID: ${{ vars.TALOS_SERVER2_ID }}
TALOS_SERVER2_USERNAME: ${{ vars.TALOS_SERVER2_USERNAME }}
TALOS_SERVER3_ID: ${{ vars.TALOS_SERVER3_ID }}
TALOS_SERVER3_USERNAME: ${{ vars.TALOS_SERVER3_USERNAME }}
TALOS_SIGNING_ENABLED: ${{ vars.TALOS_SIGNING_ENABLED }}
TALOS_SIGNING_PROFILE: ${{ vars.TALOS_SIGNING_PROFILE }}
TALOS_SNAPSHOT_REPO_ENABLED: ${{ vars.TALOS_SNAPSHOT_REPO_ENABLED }}
TALOS_SNAPSHOT_REPO_ID: ${{ vars.TALOS_SNAPSHOT_REPO_ID }}
TALOS_SNAPSHOT_REPO_URL: ${{ vars.TALOS_SNAPSHOT_REPO_URL }}
TALOS_SONAR_ENABLED: ${{ vars.TALOS_SONAR_ENABLED }}
TALOS_SONAR_HOST: ${{ vars.TALOS_SONAR_HOST }}
TALOS_SONAR_ORGANIZATION: ${{ vars.TALOS_SONAR_ORGANIZATION }}

# Token to use when SonarScanner invokes Github APIs
# https://docs.github.com/en/actions/reference/authentication-in-a-workflow#about-the-github_token-secret
Expand Down

0 comments on commit df0f2fc

Please sign in to comment.