Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
veezhang committed Nov 9, 2023
1 parent 5359d7c commit 4cc42a7
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 12 deletions.
33 changes: 21 additions & 12 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
ref:
description: "Acceptable content: branch/tag/commit ID."
required: true
default: 'ci-dev'

defaults:
run:
Expand All @@ -20,9 +21,15 @@ jobs:
- self-hosted
- nebula
container:
image: reg.vesoft-inc.com/ci/ubuntu:20.04-docker
image: reg.vesoft-inc.com/proxy/cruizba/ubuntu-dind # docker:dind
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /var/lib/dind:/var/lib/docker
options: --privileged

# container:
# image: reg.vesoft-inc.com/ci/ubuntu:20.04-docker
# volumes:
# - /var/run/docker.sock:/var/run/docker.sock
steps:
- uses: webiny/[email protected]
with:
Expand All @@ -32,28 +39,30 @@ jobs:
ref: ${{ github.event.inputs.ref }}
- uses: actions/setup-go@v4
with:
go-version: 1.20
go-version: "1.20"
- uses: docker/login-action@v2
with:
registry: ${{ secrets.HARBOR_REGISTRY }}
username: ${{ secrets.HARBOR_USERNAME }}
password: ${{ secrets.HARBOR_PASSWORD }}
- run: |
git config --global --add safe.directory $(pwd)
- name: build operator image
run: |
export DOCKER_REPO=reg.vesoft-inc.com/ci
export IMAGE_TAG=ci-e2e
make docker-multiarch
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
# - name: build operator image
# run: |
# export DOCKER_REPO=reg.vesoft-inc.com/ci
# export IMAGE_TAG=ci-e2e
# make docker-multiarch
- name: e2e
run: |
export KIND_EXPERIMENTAL_DOCKER_NETWORK=${{ job.container.network }}
export E2E_DOCKER_CONFIG_JSON_SECRET=`cat ~/.docker/config.json| base64 -w 0`
make e2e E2EARGS="-labels category=tools -v=5"
make e2e E2EARGS="-labels category=tools -v=5"
env:
E2E_OPERATOR_IMAGE: reg.vesoft-inc.com/ci/nebula-operator:ci-e2e
E2E_OPERATOR_INSTALL: "false"
E2E_OPERATOR_IMAGE: reg.vesoft-inc.com/cloud-dev/nebula-operator:snap-1.25
E2E_OPERATOR_INSTALL: "true"
E2E_NC_VERSION: v3.6.0
E2E_NC_GRAPHD_IMAGE: reg.vesoft-inc.com/vesoft-ent/nebula-graphd-ent
E2E_NC_METAD_IMAGE: reg.vesoft-inc.com/vesoft-ent/nebula-metad-ent
E2E_NC_STORAGED_IMAGE: reg.vesoft-inc.com/vesoft-ent/nebula-storaged-ent
E2E_NC_LICENSE_MANAGER_URL: license.vesoft-inc.com:9119
E2E_NC_LICENSE_MANAGER_URL: license.vesoft-inc.com:9119
1 change: 1 addition & 0 deletions tests/e2e/envfuncsext/helm.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ func (o *HelmOptions) WithOptions(opts ...HelmOption) *HelmOptions {
}
return o
}

func (o *HelmOptions) RawHelmOpts() *helm.Opts {
option := &helm.Opts{}
for _, op := range o.HelmOptions {
Expand Down

0 comments on commit 4cc42a7

Please sign in to comment.