Skip to content

Commit

Permalink
Merge pull request #3 from canonical/IAM-620-starttls
Browse files Browse the repository at this point in the history
Build from commit to include starttls
  • Loading branch information
natalian98 authored Jan 24, 2024
2 parents 86dbe12 + d3ae0cc commit e5a56c1
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions rockcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: glauth
base: bare
build-base: ubuntu:22.04
version: "2.2.1"
build-base: ubuntu@22.04
version: "2.3.0"
summary: GLAuth
description: |
GLAuth LDAP authentication server
Expand Down Expand Up @@ -44,17 +44,21 @@ parts:
glauth:
plugin: make
build-snaps:
- go/1.19/stable
- go/1.21/stable
source: https://github.com/glauth/glauth
source-type: git
source-tag: v2.2.1
source-commit: 56ccb881b5c9b9a0d7c70b3aaacaf898d9bcabe2
source-subdir: v2
override-pull: |
git config --global url."https://github.com/".insteadOf [email protected]:
git config -l
craftctl default
override-build: |
export GOARCH=$(go env GOARCH)
U=https://github.com/glauth/glauth-postgres \
M=pkg/plugins/glauth-postgres \
make -C $CRAFT_PART_SRC_WORK pull-plugin
make -C $CRAFT_PART_SRC_WORK pull-plugin-dependencies
PLUGIN_ARCH=$GOARCH \
make -C $CRAFT_PART_SRC_WORK -j$CRAFT_PARALLEL_BUILD_COUNT \
Expand Down

0 comments on commit e5a56c1

Please sign in to comment.