Skip to content

Commit

Permalink
add back in custom-config test
Browse files Browse the repository at this point in the history
Signed-off-by: vsoch <vsoch@users.noreply.github.com>
  • Loading branch information
vsoch committed Oct 12, 2023
1 parent e9532a6 commit 464871f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
fail-fast: false
matrix:
test: [["hello-world", "", 60],
#["custom-config", "ghcr.io/flux-framework/flux-restful-api:latest", 60],
["custom-config", "", 60],
#["minimal-service", "ghcr.io/flux-framework/flux-restful-api:latest", 60],
#["post", "ghcr.io/flux-framework/flux-restful-api:latest", 60],
["batch", "", 60],
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ We apologize for bugs you run into, and hope you tell us soon so we can work on
- add [jar](wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/6.6.0/openapi-generator-cli-6.6.0.jar -O openapi-generator-cli.jar) to makefile
- Ensure that curve.cert is a variable (path) in case we create a custom one.
- When JobSet is available we need it to say job is successful when main application container is done.
- Investigate why initContainers approach is not working with emptyDir (asked but no response in wg-batch slack)

## License

Expand Down
14 changes: 5 additions & 9 deletions examples/tests/custom-config/minicluster.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
apiVersion: flux-framework.org/v1alpha1
apiVersion: flux-framework.org/v1alpha2
kind: MiniCluster
metadata:
name: flux-sample
namespace: flux-operator
spec:
# suppress all output except for test run
logging:
Expand All @@ -21,29 +20,26 @@ spec:
secret-key = "5khD%TixeW<j<6ssPNG>s<nY1E}5)fyk@TI)g8Xu"
brokerConfig: |
[exec]
imp = "/usr/libexec/flux/flux-imp"
[access]
allow-guest-user = true
allow-root-owner = true
[resource]
path = "/etc/flux/system/R"
path = "/mnt/flux/view/etc/flux/system/R"
[bootstrap]
curve_cert = "/etc/curve/curve.cert"
curve_cert = "/mnt/flux/view/curve/curve.cert"
default_port = 8050
default_bind = "tcp://eth0:%p"
default_connect = "tcp://%h.flux-service.flux-operator.svc.cluster.local:%p"
hosts = [{host="flux-sample-0", bind="tcp://eth0:8050",connect="tcp://flux-sample-0.flux-service.flux-operator.svc.cluster.local:8050"},
{host="flux-sample-[1-3]"}]
[archive]
dbpath = "/var/lib/flux/job-archive.sqlite"
dbpath = "/mnt/flux/view/var/lib/flux/job-archive.sqlite"
period = "1m"
busytimeout = "50s"
# This is a list because a pod can support multiple containers
containers:
- image: ghcr.io/flux-framework/flux-restful-api:latest
- image: rockylinux:9
command: echo hello world

0 comments on commit 464871f

Please sign in to comment.