Skip to content

Commit

Permalink
Package publish permissions and ICU lib for dotnet functools (#189)
Browse files Browse the repository at this point in the history
Sets a the write permission for the chart/func package publish jobs, which need to write to the gh-pages branch of the repo. This permission was previously set at the repo level, and may not be adjustable. Also adds a libicu dependency required for func-tools on ubuntu 20.04. This package has an interactive step, so much be installed in noninteractive mode.
  • Loading branch information
mmcfarland authored Mar 18, 2024
1 parent ddd0f31 commit 2c23410
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish-charts-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ defaults:
jobs:
build:
runs-on: ubuntu-20.04
permissions:
contents: write

steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/publish-charts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ defaults:
jobs:
build:
runs-on: ubuntu-20.04
permissions:
contents: write

steps:
- uses: actions/checkout@v2
Expand All @@ -27,4 +29,4 @@ jobs:
charts_dir: "deployment/helm/published"
linting: "off"
helm_version: 3.5.4
chart_version: ${{steps.previoustag.outputs.tag}}
chart_version: ${{steps.previoustag.outputs.tag}}
2 changes: 2 additions & 0 deletions .github/workflows/publish-func-package-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ defaults:
jobs:
publish:
runs-on: ubuntu-20.04
permissions:
contents: write

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/publish-func-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ defaults:
jobs:
publish:
runs-on: ubuntu-20.04
permissions:
contents: write

steps:
- uses: actions/checkout@v3
Expand Down
5 changes: 3 additions & 2 deletions deployment/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
FROM ubuntu:20.04

RUN apt-get update --fix-missing
RUN apt-get install -y wget unzip curl gnupg \
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y wget unzip curl gnupg \
apt-transport-https \
python3-pip \
jq \
git
git \
libicu66

# Install Azure Function Tools

Expand Down

0 comments on commit 2c23410

Please sign in to comment.