Skip to content

del

del #483

Workflow file for this run

---
name: commit
on: [push]
env:
AWS_ACCESS_KEY_ID: "${{ secrets.AWS_ACCESS_KEY_ID }}"
AWS_SECRET_ACCESS_KEY: "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
BUCKET: "${{ secrets.BUCKET }}"
REGION: "${{ secrets.REGION }}"
KEY: "ssb-tfstate"
ENCRYPT: "true"
jobs:
test:
name: test format and validity
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: terraform fmt
uses: dflook/terraform-fmt-check@v1
with:
path: .
- name: terraform validate
uses: dflook/terraform-validate@v1
with:
path: .
test-deployment:
if: github.ref == 'refs/heads/develop'
name: plan & apply (development)
runs-on: ubuntu-latest
environment: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TF_VAR_cf_username: ${{ secrets.TF_VAR_cf_username }}
TF_VAR_cf_password: ${{ secrets.TF_VAR_cf_password }}
TF_VAR_aws_access_key_id: ${{ secrets.TF_VAR_aws_access_key_id }}
TF_VAR_aws_secret_access_key: ${{ secrets.TF_VAR_aws_secret_access_key }}
TERRAFORM_PRE_RUN: |
./install-tools.sh
cp helm /usr/local/bin/
cp kubectl /usr/local/bin/
cp aws-iam-authenticator /usr/local/bin/
aws-iam-authenticator help
steps:
- name: checkout
uses: actions/checkout@v3
- name: prep applications
run: |
echo 111