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

Commit

Permalink
build and publish dev dependencies (#28)
Browse files Browse the repository at this point in the history
Co-authored-by: awendt <[email protected]>
  • Loading branch information
Michael-Kruggel and anthonywendt authored Aug 25, 2023
1 parent c426826 commit da6bcde
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 3 deletions.
34 changes: 32 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ jobs:
uses: supplypike/setup-bin@v3
with:
# renovate: zarf-uri datasource=github-tags depName=defenseunicorns/zarf
uri: 'https://github.com/defenseunicorns/zarf/releases/download/v0.28.4/zarf_v0.28.4_Linux_amd64'
uri: 'https://github.com/defenseunicorns/zarf/releases/download/v0.29.0/zarf_v0.29.0_Linux_amd64'
name: 'zarf'
# renovate: datasource=github-tags depName=defenseunicorns/zarf versioning=semver
version: 'v0.28.4'
version: 'v0.29.0'

- name: Login to GHCR
uses: docker/login-action@v2
Expand All @@ -47,6 +47,36 @@ jobs:
username: ${{ secrets.REGISTRY1_USERNAME }}
password: ${{ secrets.REGISTRY1_PASSWORD }}

####
# Build and publish dependency packages to use in a dev UDS Bundle
####
- name: Build dev-dependency gitlab-namespace package
run: cd utils/pkg-deps/namespaces && zarf package create --confirm --no-progress

- name: Build dev-dependency gitlab-postgres package
run: cd utils/pkg-deps/gitlab/postgres && zarf package create --confirm --no-progress

- name: Build dev-dependency gitlab-redis package
run: cd utils/pkg-deps/gitlab/redis && zarf package create --confirm --no-progress

- name: Build dev-dependency gitlab-minio package
run: cd utils/pkg-deps/gitlab/minio && zarf package create --confirm --no-progress

- name: Publish dev-dependency gitlab-namespace package
run: cd utils/pkg-deps/namespaces && zarf package publish zarf-package-gitlab-namespaces-amd64*.tar.zst oci://ghcr.io/defenseunicorns/uds-capability/gitlab/dev-dependency --no-progress

- name: Publish dev-dependency gitlab-postgres package
run: cd utils/pkg-deps/gitlab/postgres && zarf package publish zarf-package-gitlab-postgres-amd64*.tar.zst oci://ghcr.io/defenseunicorns/uds-capability/gitlab/dev-dependency --no-progress

- name: Publish dev-dependency gitlab-redis package
run: cd utils/pkg-deps/gitlab/redis && zarf package publish zarf-package-gitlab-redis-amd64*.tar.zst oci://ghcr.io/defenseunicorns/uds-capability/gitlab/dev-dependency --no-progress

- name: Publish dev-dependency gitlab-minio package
run: cd utils/pkg-deps/gitlab/minio && zarf package publish zarf-package-gitlab-minio-amd64*.tar.zst oci://ghcr.io/defenseunicorns/uds-capability/gitlab/dev-dependency --no-progress

####
# Build and publish capability package and skeleton
####
- name: Build gitlab package
run: zarf package create --confirm --no-progress

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# The version of Zarf to use. To keep this repo as portable as possible the Zarf binary will be downloaded and added to
# the build folder.
# renovate: datasource=github-tags depName=defenseunicorns/zarf
ZARF_VERSION := v0.28.4
ZARF_VERSION := v0.29.0

# The version of the build harness container to use
BUILD_HARNESS_REPO := ghcr.io/defenseunicorns/build-harness/build-harness
Expand Down

0 comments on commit da6bcde

Please sign in to comment.