-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* reference source path * get service name composite action * get services name and test backend workflow * test backend deploy * don't install dev deps * tidy up pipelines * make script executable * remove codeforlife-portal-react submodule * add pytest args * add codeforlife-portal-backend submodule * reference backend
- Loading branch information
Showing
9 changed files
with
59 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: "Code for Life - GCloud - Get Service Name" | ||
description: "Get a service's name based on the name of the current repository." | ||
outputs: | ||
service-name: | ||
description: "The name of the current service." | ||
value: ${{ steps.get-service-name.outputs.service-name }} | ||
runs: | ||
using: composite | ||
steps: | ||
# Set name with convention "{ENV_NAME}-{REPO_NAME}" | ||
# where ENV_NAME is the name of the branch / environment. | ||
# where REPO_NAME is the name of the repo without the prefix "ocadotechnology/codeforlife-". | ||
- name: 🪪 Get Service Name | ||
id: get-service-name | ||
shell: bash | ||
run: | | ||
name=${{ github.repository }} | ||
name=${name#"ocadotechnology/codeforlife-"} | ||
name="${{ github.ref_name }}-${name}" | ||
echo "service-name=$(echo $name)" >> $GITHUB_OUTPUT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule codeforlife-portal-backend
added at
4ac0b1
Submodule codeforlife-portal-react
deleted from
0c42b5