Skip to content

Commit

Permalink
first run
Browse files Browse the repository at this point in the history
  • Loading branch information
dwhitestratiform committed Jun 20, 2024
1 parent ee34e1a commit a25f776
Showing 1 changed file with 79 additions and 0 deletions.
79 changes: 79 additions & 0 deletions .github/workflows/workspace-setup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
name: Workspace Setup

on:
workflow_dispatch:
schedule:
- cron: "0 10 * * SUN"
push:
branches:
- "*"
- "!skipci*"

# concurrency:
# group: ${{ startsWith(github.ref_name, 'snyk-') && 'snyk' || github.ref_name }}-test-ws-setup

jobs:
test:
runs-on: macos-12
timeout-minutes: 120 # MacOS runners are more expensive than linux, so we want to be sure to stop any stuck builds.
environment:
name: test-ws-setup
env:
STAGE_NAME: test-ws-setup
permissions:
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4

# - name: Configure AWS credentials
# uses: aws-actions/configure-aws-credentials@v4
# with:
# role-to-assume: ${{ secrets.AWS_OIDC_ROLE_TO_ASSUME }}
# aws-region: us-east-1
# role-duration-seconds: 10800

- name: Run workspace setup
run: |
sh mdct-setup.sh
# - name: Run nvm install
# run: |
# source /tmp/.profile
# nvm install

# - name: Test docs
# run: |
# source /tmp/.profile
# nvm use
# colima start
# docker pull busybox
# colima stop

# - name: Test install
# run: |
# source /tmp/.profile
# nvm use
# direnv allow
# direnv exec run install

# - name: Test deploy
# run: |
# source /tmp/.profile
# nvm use
# direnv allow
# direnv exec run deploy --stage $STAGE_NAME

# - name: Test test
# run: |
# source /tmp/.profile
# nvm use
# direnv allow
# direnv exec run test --stage $STAGE_NAME

# - name: Test destroy
# run: |
# source /tmp/.profile
# nvm use
# direnv allow
# direnv exec run destroy --stage $STAGE_NAME --verify false --wait false

0 comments on commit a25f776

Please sign in to comment.