Skip to content
This repository was archived by the owner on Jan 22, 2024. It is now read-only.
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
40 changes: 20 additions & 20 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}


Expand All @@ -84,16 +84,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 @@ -116,7 +116,7 @@ jobs:

- working-directory: ${{github.workspace}}/bootstrap-stage1
run: |
dag pod \
wolfictl pod \
--cpu=30 --ram=100Gi \
--bucket=${BUCKET} \
--src-bucket=${SRC_BUCKET} \
Expand All @@ -133,16 +133,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 @@ -165,7 +165,7 @@ jobs:

- working-directory: ${{github.workspace}}/bootstrap-stage1
run: |
dag pod \
wolfictl pod \
--cpu=30 --ram=100Gi \
--bucket=${BUCKET} \
--src-bucket=${SRC_BUCKET} \
Expand All @@ -181,16 +181,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 @@ -213,7 +213,7 @@ jobs:

- working-directory: ${{github.workspace}}/bootstrap-stage1
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 wolifctl

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/wolifctl
path: ${{github.workspace}}/wolifctl
- name: Setup Build Cluster
working-directory: ${{github.workspace}}/dag
working-directory: ${{github.workspace}}/wolifctl
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}}/wolifctl
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 wolifctl 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/wolifctl
path: ${{github.workspace}}/wolifctl
- working-directory: ${{github.workspace}}/wolifctl
run: go install

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

- working-directory: ${{github.workspace}}/bootstrap-stage1
run: |
dag pod \
wolifctl 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 wolifctl 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/wolifctl
path: ${{github.workspace}}/wolifctl
- working-directory: ${{github.workspace}}/wolifctl
run: go install

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

- working-directory: ${{github.workspace}}/bootstrap-stage1
run: |
dag pod \
wolifctl 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 wolifctl 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/wolifctl
path: ${{github.workspace}}/wolifctl
- working-directory: ${{github.workspace}}/wolifctl
run: go install

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

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