Skip to content
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.

use wolfictl instead of dag #11

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions .github/workflows/dag-push-production.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build Packages Prod using dag
name: Build Packages Prod using wolfictl

on:
workflow_dispatch:
Expand Down Expand Up @@ -35,10 +35,10 @@ jobs:

- uses: actions/checkout@v3
with:
repository: wolfi-dev/dag
path: ${{github.workspace}}/dag
repository: wolfi-dev/wolfictl
path: ${{github.workspace}}/wolfictl
- name: Setup Build Cluster
working-directory: ${{github.workspace}}/dag
working-directory: ${{github.workspace}}/wolfictl
run: |
gcloud container clusters create "${CLUSTER_NAME}" \
--enable-ip-alias \
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
location: "${CLUSTER_ZONE}"
cluster: "${CLUSTER_NAME}"

- working-directory: ${{github.workspace}}/dag
- working-directory: ${{github.workspace}}/wolfictl
run: ./scripts/setup-cluster.sh ${SERVICE_ACCOUNT}

build-amd64:
Expand All @@ -83,16 +83,16 @@ jobs:
contents: read

steps:
# Checkout and build dag from main
# Checkout and build wolfictl from main
# Can't `go install` because its go.mod has `replace`s.
- uses: actions/setup-go@v3
with:
go-version: '>=1.19.0'
- uses: actions/checkout@v3
with:
repository: wolfi-dev/dag
path: ${{github.workspace}}/dag
- working-directory: ${{github.workspace}}/dag
repository: wolfi-dev/wolfictl
path: ${{github.workspace}}/wolfictl
- working-directory: ${{github.workspace}}/wolfictl
run: go install

- uses: google-github-actions/auth@v0
Expand All @@ -115,7 +115,7 @@ jobs:

- working-directory: ${{github.workspace}}/bootstrap-stage3
run: |
dag pod \
wolfictl pod \
--cpu=30 --ram=100Gi \
--bucket=${BUCKET} \
--src-bucket=${SRC_BUCKET} \
Expand All @@ -131,16 +131,16 @@ jobs:
contents: read

steps:
# Checkout and build dag from main
# Checkout and build wolfictl from main
# Can't `go install` because its go.mod has `replace`s.
- uses: actions/setup-go@v3
with:
go-version: '>=1.19.0'
- uses: actions/checkout@v3
with:
repository: wolfi-dev/dag
path: ${{github.workspace}}/dag
- working-directory: ${{github.workspace}}/dag
repository: wolfi-dev/wolfictl
path: ${{github.workspace}}/wolfictl
- working-directory: ${{github.workspace}}/wolfictl
run: go install

- uses: google-github-actions/auth@v0
Expand All @@ -163,7 +163,7 @@ jobs:

- working-directory: ${{github.workspace}}/bootstrap-stage3
run: |
dag pod \
wolfictl pod \
--cpu=30 --ram=100Gi \
--bucket=${BUCKET} \
--src-bucket=${SRC_BUCKET} \
Expand Down
40 changes: 20 additions & 20 deletions .github/workflows/dag-push-staging.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build Packages Staging using dag
name: Build Packages Staging using wolfictl

on:
workflow_dispatch:
Expand Down Expand Up @@ -35,10 +35,10 @@ jobs:

- uses: actions/checkout@v3
with:
repository: wolfi-dev/dag
path: ${{github.workspace}}/dag
repository: wolfi-dev/wolfictl
path: ${{github.workspace}}/wolfictl
- name: Setup Build Cluster
working-directory: ${{github.workspace}}/dag
working-directory: ${{github.workspace}}/wolfictl
run: |
gcloud container clusters create "${CLUSTER_NAME}" \
--enable-ip-alias \
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
location: "${CLUSTER_ZONE}"
cluster: "${CLUSTER_NAME}"

- working-directory: ${{github.workspace}}/dag
- working-directory: ${{github.workspace}}/wolfictl
run: ./scripts/setup-cluster.sh ${SERVICE_ACCOUNT}

build-amd64:
Expand All @@ -83,16 +83,16 @@ jobs:
contents: read

steps:
# Checkout and build dag from main
# Checkout and build wolfictl from main
# Can't `go install` because its go.mod has `replace`s.
- uses: actions/setup-go@v3
with:
go-version: '>=1.19.0'
- uses: actions/checkout@v3
with:
repository: wolfi-dev/dag
path: ${{github.workspace}}/dag
- working-directory: ${{github.workspace}}/dag
repository: wolfi-dev/wolfictl
path: ${{github.workspace}}/wolfictl
- working-directory: ${{github.workspace}}/wolfictl
run: go install

- uses: google-github-actions/auth@v0
Expand All @@ -115,7 +115,7 @@ jobs:

- working-directory: ${{github.workspace}}/bootstrap-stage3
run: |
dag pod \
wolfictl pod \
--cpu=30 --ram=100Gi \
--bucket=${BUCKET} \
--src-bucket=${SRC_BUCKET} \
Expand All @@ -131,16 +131,16 @@ jobs:
contents: read

steps:
# Checkout and build dag from main
# Checkout and build wolfictl from main
# Can't `go install` because its go.mod has `replace`s.
- uses: actions/setup-go@v3
with:
go-version: '>=1.19.0'
- uses: actions/checkout@v3
with:
repository: wolfi-dev/dag
path: ${{github.workspace}}/dag
- working-directory: ${{github.workspace}}/dag
repository: wolfi-dev/wolfictl
path: ${{github.workspace}}/wolfictl
- working-directory: ${{github.workspace}}/wolfictl
run: go install

- uses: google-github-actions/auth@v0
Expand All @@ -163,7 +163,7 @@ jobs:

- working-directory: ${{github.workspace}}/bootstrap-stage3
run: |
dag pod \
wolfictl pod \
--cpu=30 --ram=100Gi \
--bucket=${BUCKET} \
--src-bucket=${SRC_BUCKET} \
Expand All @@ -180,16 +180,16 @@ jobs:
contents: read

steps:
# Checkout and build dag from main
# Checkout and build wolfictl from main
# Can't `go install` because its go.mod has `replace`s.
- uses: actions/setup-go@v3
with:
go-version: '>=1.19.0'
- uses: actions/checkout@v3
with:
repository: wolfi-dev/dag
path: ${{github.workspace}}/dag
- working-directory: ${{github.workspace}}/dag
repository: wolfi-dev/wolfictl
path: ${{github.workspace}}/wolfictl
- working-directory: ${{github.workspace}}/wolfictl
run: go install

- uses: google-github-actions/auth@v0
Expand All @@ -212,7 +212,7 @@ jobs:

- working-directory: ${{github.workspace}}/bootstrap-stage3
run: |
dag pod \
wolfictl pod \
--cpu=30 --ram=100Gi \
--bucket=${BUCKET} \
--src-bucket=${SRC_BUCKET} \
Expand Down