Sort the pipeline steps.

Co-authored-by: jmhbnz <mail@jamesblair.net>
This commit is contained in:
Daljit Singh
2021-02-24 16:39:35 +13:00
parent 19001803ae
commit 25007cca8d

View File

@ -22,7 +22,17 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# gitlab secrets variables
- uses: actions/checkout@v2
- name: Install utilities
run: ./1-install-utilities.sh
- name: Configuregcp project
run: ./2-configure-gcp-project.sh
- name: Create github secrets
run: ./3-create-github-secrets.sh
- name: Login
uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
with:
@ -30,19 +40,9 @@ jobs:
service_account_email: ${{ secrets.GCP_EMAIL }}
service_account_key: ${{ secrets.GCP_CREDENTIALS }}
#Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
# Runs a single command using the runners shell
#- name: Run a one-line script
# run: ls -la && ./1-install-utilities.sh
# Runs a set of commands using the runners shell
- name: Run a multi-line script
run: |
./1-install-utilities.sh
./2-configure-gcp-project.sh
./3-create-github-secrets.sh
./4-create-virtual-machine.sh
./5-install-docker.sh
./6-install-gitlab-via-composer.sh