Skip to content

Commit

Permalink
Fix: Releases
Browse files Browse the repository at this point in the history
  • Loading branch information
gunnarvelle committed Jan 17, 2025
1 parent 517e6a0 commit eb15547
Show file tree
Hide file tree
Showing 11 changed files with 55 additions and 22 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/article-api_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,17 @@ jobs:
path: ndla/deploy
- uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: ${{ vars.PYTHON_VERSION }}
- uses: abatilo/actions-poetry@v2
with:
poetry-version: "1.6.1"
poetry-version: ${{ vars.POETRY_VERSION }}
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: '20'
- uses: hashicorp/setup-terraform@v3
with:
terraform_version: ${{ vars.TERRAFORM_VERSION }}
- name: Setup ~/bin directory
run: |
mkdir -p /home/runner/bin
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/audio-api_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,17 @@ jobs:
path: ndla/deploy
- uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: ${{ vars.PYTHON_VERSION }}
- uses: abatilo/actions-poetry@v2
with:
poetry-version: "1.6.1"
poetry-version: ${{ vars.POETRY_VERSION }}
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: '20'
- uses: hashicorp/setup-terraform@v3
with:
terraform_version: ${{ vars.TERRAFORM_VERSION }}
- name: Setup ~/bin directory
run: |
mkdir -p /home/runner/bin
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/concept-api_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,17 @@ jobs:
path: ndla/deploy
- uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: ${{ vars.PYTHON_VERSION }}
- uses: abatilo/actions-poetry@v2
with:
poetry-version: "1.6.1"
poetry-version: ${{ vars.POETRY_VERSION }}
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: '20'
- uses: hashicorp/setup-terraform@v3
with:
terraform_version: ${{ vars.TERRAFORM_VERSION }}
- name: Setup ~/bin directory
run: |
mkdir -p /home/runner/bin
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/draft-api_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,17 @@ jobs:
path: ndla/deploy
- uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: ${{ vars.PYTHON_VERSION }}
- uses: abatilo/actions-poetry@v2
with:
poetry-version: "1.6.1"
poetry-version: ${{ vars.POETRY_VERSION }}
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: '20'
- uses: hashicorp/setup-terraform@v3
with:
terraform_version: ${{ vars.TERRAFORM_VERSION }}
- name: Setup ~/bin directory
run: |
mkdir -p /home/runner/bin
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/frontpage-api_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,17 @@ jobs:
path: ndla/deploy
- uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: ${{ vars.PYTHON_VERSION }}
- uses: abatilo/actions-poetry@v2
with:
poetry-version: "1.6.1"
poetry-version: ${{ vars.POETRY_VERSION }}
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: '20'
- uses: hashicorp/setup-terraform@v3
with:
terraform_version: ${{ vars.TERRAFORM_VERSION }}
- name: Setup ~/bin directory
run: |
mkdir -p /home/runner/bin
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/image-api_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,17 @@ jobs:
path: ndla/deploy
- uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: ${{ vars.PYTHON_VERSION }}
- uses: abatilo/actions-poetry@v2
with:
poetry-version: "1.6.1"
poetry-version: ${{ vars.POETRY_VERSION }}
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: '20'
- uses: hashicorp/setup-terraform@v3
with:
terraform_version: ${{ vars.TERRAFORM_VERSION }}
- name: Setup ~/bin directory
run: |
mkdir -p /home/runner/bin
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/learningpath-api_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,17 @@ jobs:
path: ndla/deploy
- uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: ${{ vars.PYTHON_VERSION }}
- uses: abatilo/actions-poetry@v2
with:
poetry-version: "1.6.1"
poetry-version: ${{ vars.POETRY_VERSION }}
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: '20'
- uses: hashicorp/setup-terraform@v3
with:
terraform_version: ${{ vars.TERRAFORM_VERSION }}
- name: Setup ~/bin directory
run: |
mkdir -p /home/runner/bin
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/myndla-api_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,17 @@ jobs:
path: ndla/deploy
- uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: ${{ vars.PYTHON_VERSION }}
- uses: abatilo/actions-poetry@v2
with:
poetry-version: "1.6.1"
poetry-version: ${{ vars.POETRY_VERSION }}
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: '20'
- uses: hashicorp/setup-terraform@v3
with:
terraform_version: ${{ vars.TERRAFORM_VERSION }}
- name: Setup ~/bin directory
run: |
mkdir -p /home/runner/bin
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/oembed-proxy_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,17 @@ jobs:
path: ndla/deploy
- uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: ${{ vars.PYTHON_VERSION }}
- uses: abatilo/actions-poetry@v2
with:
poetry-version: "1.6.1"
poetry-version: ${{ vars.POETRY_VERSION }}
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: '20'
- uses: hashicorp/setup-terraform@v3
with:
terraform_version: ${{ vars.TERRAFORM_VERSION }}
- name: Setup ~/bin directory
run: |
mkdir -p /home/runner/bin
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/search-api_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,17 @@ jobs:
path: ndla/deploy
- uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: ${{ vars.PYTHON_VERSION }}
- uses: abatilo/actions-poetry@v2
with:
poetry-version: "1.6.1"
poetry-version: ${{ vars.POETRY_VERSION }}
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: '20'
- uses: hashicorp/setup-terraform@v3
with:
terraform_version: ${{ vars.TERRAFORM_VERSION }}
- name: Setup ~/bin directory
run: |
mkdir -p /home/runner/bin
Expand Down
7 changes: 5 additions & 2 deletions project/GithubWorkflowPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -117,14 +117,17 @@ object GithubWorkflowPlugin extends AutoPlugin {
| path: ndla/deploy
| - uses: actions/setup-python@v4
| with:
| python-version: '3.11'
| python-version: $${{ vars.PYTHON_VERSION }}
| - uses: abatilo/actions-poetry@v2
| with:
| poetry-version: "1.6.1"
| poetry-version: $${{ vars.POETRY_VERSION }}
| - uses: actions/setup-java@v3
| with:
| distribution: temurin
| java-version: '$workflowJavaVersion'
| - uses: hashicorp/setup-terraform@v3
| with:
| terraform_version: $${{ vars.TERRAFORM_VERSION }}
| - name: Setup ~/bin directory
| run: |
| mkdir -p /home/runner/bin
Expand Down

0 comments on commit eb15547

Please sign in to comment.