diff --git a/.github/ISSUE_TEMPLATE/scheduled/update-dockerfile-dependencies.md b/.github/ISSUE_TEMPLATE/scheduled/update-dockerfile-dependencies.md deleted file mode 100644 index 450ce57b..00000000 --- a/.github/ISSUE_TEMPLATE/scheduled/update-dockerfile-dependencies.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -name: Update dependencies in devcontainer Dockerfile -about: Stay up to date with Dockerfile dependencies -title: Update dependencies in devcontainer Dockerfile -labels: '' -assignees: '' - ---- - - -We have [pinned the linux dependencies in the devcontainer Dockerfile](https://github.com/agilepathway/hoverfly-github-action/pull/112/files), but there is no mechanism to automatically update them, currently. It looks like [it's on Dependabot's roadmap](https://github.com/dependabot/dependabot-core/issues/2129#issuecomment-511552345), so this GitHub Issue gets automatically created every 6 months to: - -- [ ] update the dependencies manually: - 1. Temporarily unpin the versions (i.e. remove `=` from each package in the Dockerfile) - 2. Execute the Dockerfile (e.g. if it's a remote container Dockerfile build the remote container) - 3. Run `apt-cache policy ` for each package, to see the version installed - 4. Pin all the versions, replacing any old versions with new ones -- [ ] see if Dependabot now offer this functionality (in which case we can do it automatically, from then on) diff --git a/.github/workflows/schedule_dockerfile_dependency_updates_issue.yml b/.github/workflows/schedule_dockerfile_dependency_updates_issue.yml deleted file mode 100644 index 950ca974..00000000 --- a/.github/workflows/schedule_dockerfile_dependency_updates_issue.yml +++ /dev/null @@ -1,31 +0,0 @@ ---- -name: Create issue every 6 months to update Dockerfile dependencies -on: # yamllint disable-line rule:truthy - # Scheduled for 4am on 10th March and 10th Sept every year - schedule: - - cron: '0 4 10 3,9 *' # * is a special character in YAML so we have to quote this string - -jobs: - create_issue: - name: Create issue to update Dockerfile dependencies - runs-on: ubuntu-22.04 - steps: - - # Repo code checkout required if `template` is used - - name: Checkout - uses: actions/checkout@v4 - - - uses: imjohnbo/extract-issue-template-fields@v1 - id: extract - with: - path: ".github/ISSUE_TEMPLATE/scheduled/update-dockerfile-dependencies.md" - - - name: issue-bot - uses: imjohnbo/issue-bot@v3 - with: - assignees: "johnboyes" - labels: "dependencies" - title: ${{ steps.extract.outputs.title }} - body: ${{ steps.extract.outputs.body }} - pinned: false - close-previous: false