Support for pre-services setup steps
See original GitHub issueThe services capability is an elegant way to automate the setup and tear down of a service, but there are use-cases where preparation tasks need to occur in a hook before services are started.
Possible examples include:
- Adjusting system parameters (e.g. file descriptor limits, socket buffer sizes, etc)
- Creating filesystem resources shared/used by containers
- Configuring ACLs
- Configuring network adapters and ip filters
- Installing packages
See https://github.com/actions/virtual-environments/issues/348 for an example use case of a workaround (although note, it will be solved by other means)
One form this could take would be something like:
runs-on: ubuntu-latest
setup-steps:
- name: Stop Mysql
shell: bash
run: |
sudo service mysql stop || true
services:
# services
steps:
# post-services steps
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:14 (6 by maintainers)
Top Results From Across the Web
Steps In Pre-Service Procedure, Basic Table Setup
Step 3-Escort the client to the front desk to schedule the next appointment and pay for the service. Set up a date, time,...
Read more >The Blueprint Process for Enhancing Early Childhood ...
The Blueprint Process features a sequence of activities and supports for building an emphasis on cultural, linguistic and ability diversity into a preservice...
Read more >Preservice Teachers' Conceptions of Effective and Ineffective ...
This study draws upon these two research literatures to examine the extent to which preservice teachers who are engaged in reflective practice consider ......
Read more >(PDF) Supporting Struggling Pre-Service Teachers
Abstract. This document summarizes the major themes identified in a study of how Alberta mentor teachers support preservice teachers who are ...
Read more >Teacher Mentoring in Service of Preservice ...
Three ideas of learning to teach lie at the core of this approach: First, psychological and emotional support is central to preservice teachers' ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Another example might be configuring a docker credential helper or actually running
docker login
so that I can subsequently run a job / service using a container image from a private registry.Docs for this feature here: https://github.blog/changelog/2020-09-24-github-actions-private-registry-support-for-job-and-service-containers/
This should still be on our radar.