Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OPCT-200: rename to opct on codebase #131

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
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
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ VERSION=$(shell git rev-parse --short HEAD)
RELEASE_TAG ?= 0.0.0
BIN_NAME ?= opct

GO_BUILD_FLAGS := -ldflags '-s -w -X github.com/redhat-openshift-ecosystem/provider-certification-tool/pkg/version.commit=$(VERSION) -X github.com/redhat-openshift-ecosystem/provider-certification-tool/pkg/version.version=$(RELEASE_TAG)'
GO_BUILD_FLAGS := -ldflags '-s -w -X github.com/redhat-openshift-ecosystem/opct/pkg/version.commit=$(VERSION) -X github.com/redhat-openshift-ecosystem/opct/pkg/version.version=$(RELEASE_TAG)'
GOOS ?= linux
GOARCH ?= amd64

Expand Down
16 changes: 8 additions & 8 deletions cmd/opct/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ import (
"github.com/spf13/viper"
"github.com/vmware-tanzu/sonobuoy/cmd/sonobuoy/app"

"github.com/redhat-openshift-ecosystem/provider-certification-tool/pkg/cmd/adm"
"github.com/redhat-openshift-ecosystem/provider-certification-tool/pkg/cmd/get"
"github.com/redhat-openshift-ecosystem/provider-certification-tool/pkg/cmd/report"
"github.com/redhat-openshift-ecosystem/provider-certification-tool/pkg/destroy"
"github.com/redhat-openshift-ecosystem/provider-certification-tool/pkg/retrieve"
"github.com/redhat-openshift-ecosystem/provider-certification-tool/pkg/run"
"github.com/redhat-openshift-ecosystem/provider-certification-tool/pkg/status"
"github.com/redhat-openshift-ecosystem/provider-certification-tool/pkg/version"
"github.com/redhat-openshift-ecosystem/opct/pkg/cmd/adm"
"github.com/redhat-openshift-ecosystem/opct/pkg/cmd/get"
"github.com/redhat-openshift-ecosystem/opct/pkg/cmd/report"
"github.com/redhat-openshift-ecosystem/opct/pkg/destroy"
"github.com/redhat-openshift-ecosystem/opct/pkg/retrieve"
"github.com/redhat-openshift-ecosystem/opct/pkg/run"
"github.com/redhat-openshift-ecosystem/opct/pkg/status"
"github.com/redhat-openshift-ecosystem/opct/pkg/version"
)

const logFile = "opct.log"
Expand Down
2 changes: 1 addition & 1 deletion data/data_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"embed"
"testing"

efs "github.com/redhat-openshift-ecosystem/provider-certification-tool/internal/assets"
efs "github.com/redhat-openshift-ecosystem/opct/internal/assets"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion data/templates/plugins/openshift-artifacts-collector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ sonobuoy-config:
OPCT artifacts plugin collects the artifacts from the OpenShift Container
Platform post-validation.
source-url:
"https://github.com/redhat-openshift-ecosystem/provider-certification-tool/\
"https://github.com/redhat-openshift-ecosystem/opct/\
blob/main/manifests/openshift-artifacts-collector.yaml"
skipCleanup: true
spec:
Expand Down
2 changes: 1 addition & 1 deletion data/templates/plugins/openshift-cluster-upgrade.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ sonobuoy-config:
The end-to-end tests maintained by OpenShift to validate provider
running the OpenShift Container Platform.
source-url:
"https://github.com/redhat-openshift-ecosystem/provider-certification-tool/\
"https://github.com/redhat-openshift-ecosystem/opct/\
blob/main/manifests/openshift-conformance-validated.yaml"
skipCleanup: true
spec:
Expand Down
2 changes: 1 addition & 1 deletion data/templates/plugins/openshift-conformance-replay.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ sonobuoy-config:
OPCT plugin to collect e2e failures from previous executions and
schedule a new execution running in serial mode with openshift-tests.
source-url: |
https://github.com/redhat-openshift-ecosystem/provider-certification-tool/\
https://github.com/redhat-openshift-ecosystem/opct/\
blob/main/manifests/openshift-conformance-validated.yaml
skipCleanup: true
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ sonobuoy-config:
OPCT plugin to schedule e2e tests using openshift-tests tool to validate
an OpenShift Container Platform cluster installed in a specific provider.
source-url:
"https://github.com/redhat-openshift-ecosystem/provider-certification-tool/\
"https://github.com/redhat-openshift-ecosystem/opct/\
blob/main/manifests/openshift-conformance-validated.yaml"
skipCleanup: true
spec:
Expand Down
2 changes: 1 addition & 1 deletion data/templates/plugins/openshift-kube-conformance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ sonobuoy-config:
OPCT plugin to schedule e2e tests using openshift-tests tool to validate
an OpenShift Container Platform cluster installed in a specific provider.
source-url:
"https://github.com/redhat-openshift-ecosystem/provider-certification-tool/\
"https://github.com/redhat-openshift-ecosystem/opct/\
blob/main/manifests/openshift-kube-conformance.yaml"
skipCleanup: true
spec:
Expand Down
4 changes: 2 additions & 2 deletions data/templates/report/report.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<div class="alert">
<span class="closebtn" onclick="this.parentElement.style.display='none';">&times;</span>
<strong>Warning!</strong> This report is under developer preview.
If you encounter any issues or bugs, please report on <a href="https://github.com/redhat-openshift-ecosystem/provider-certification-tool/issues/new/choose" target="_blank">Github Project</a> or in
If you encounter any issues or bugs, please report on <a href="https://github.com/redhat-openshift-ecosystem/opct/issues/new/choose" target="_blank">Github Project</a> or in
<a href="https://issues.redhat.com/projects/OPCT/summary" target="_blank">Jira</a>. Thanks!
</div>
<div id="app_opct">
Expand Down Expand Up @@ -88,7 +88,7 @@
<input id="files" style="visibility:hidden;" type="file" ref="file" @change="uploadReport">
</td> -->

<a href="https://redhat-openshift-ecosystem.github.io/provider-certification-tool/user/" class="list-group-item list-group-item-action text-center" target="_blank">
<a href="https://redhat-openshift-ecosystem.github.io/opct/user/" class="list-group-item list-group-item-action text-center" target="_blank">
<img src="https://github.com/favicon.ico" alt="GitHub logo" title="Found a bug or issue? Visit this project's git repo.">
</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/home_opct.apps/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8"/>
<title>OPCT</title>
<meta http-equiv="refresh" content="0; URL='https://redhat-openshift-ecosystem.github.io/provider-certification-tool/'"/>
<meta http-equiv="refresh" content="0; URL='https://redhat-openshift-ecosystem.github.io/opct/'"/>
</head>
<body></body>
</html>
2 changes: 1 addition & 1 deletion docs/support-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ pip3 install o-must-gather --user

### Download Baseline CI results <a name="setup-download-baseline"></a>

The OPCT run periodically ([source code](https://github.com/openshift/release/blob/master/ci-operator/jobs/redhat-openshift-ecosystem/provider-certification-tool/redhat-openshift-ecosystem-provider-certification-tool-main-periodics.yaml)) in OpenShift CI using the latest stable release of OpenShift.
The OPCT run periodically ([source code](https://github.com/openshift/release/blob/master/ci-operator/jobs/redhat-openshift-ecosystem/opct/redhat-openshift-ecosystem-provider-certification-tool-main-periodics.yaml)) in OpenShift CI using the latest stable release of OpenShift.
These baseline results are stored long-term in an AWS S3 bucket (`s3://openshift-provider-certification/baseline-results`). An HTML listing can be found [here](https://openshift-provider-certification.s3.us-west-2.amazonaws.com/index.html).
These baseline results should be used as a reference when reviewing a partner's conformance results.

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/redhat-openshift-ecosystem/provider-certification-tool
module github.com/redhat-openshift-ecosystem/opct

go 1.22.0

Expand Down
4 changes: 2 additions & 2 deletions hack/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
FROM docker.io/golang:1.22-alpine AS builder
ARG RELEASE_TAG
RUN apk add --no-cache --update make git
WORKDIR /go/src/github.com/redhat-openshift-ecosystem/provider-certification-tool
WORKDIR /go/src/github.com/redhat-openshift-ecosystem/opct
COPY . .
RUN make build-linux-amd64 RELEASE_TAG=${RELEASE_TAG}

Expand All @@ -13,7 +13,7 @@ LABEL io.k8s.display-name="OPCT" \
io.opct.os="linux" io.opct.arch="amd64"

COPY --from=builder \
/go/src/github.com/redhat-openshift-ecosystem/provider-certification-tool/build/opct-linux-amd64 \
/go/src/github.com/redhat-openshift-ecosystem/opct/build/opct-linux-amd64 \
/usr/bin/opct

CMD ["/usr/bin/opct"]
10 changes: 5 additions & 5 deletions hack/generate-changelog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ first_commit=$(git rev-list --max-parents=0 HEAD)
init_release=$first_commit
for rel in "${releases[@]}"; do
ch_file=$chagelog_dir/$rel.md
echo -e "\n## [$rel](https://github.com/redhat-openshift-ecosystem/provider-certification-tool/releases/tag/$rel)" > "$ch_file"
echo -e "\n## [$rel](https://github.com/redhat-openshift-ecosystem/opct/releases/tag/$rel)" > "$ch_file"
echo -e "\n### OPCT\n" >> "$ch_file"

# read the git log with changes between releases (from/to)
git log --pretty=oneline --abbrev-commit --no-decorate --no-color "$init_release"..tags/"$rel" | \
while read -r line
do
commit="$(echo "$line" | awk '{print$1}')"
commit_url="[$commit](https://github.com/redhat-openshift-ecosystem/provider-certification-tool/commit/$commit)"
commit_url="[$commit](https://github.com/redhat-openshift-ecosystem/opct/commit/$commit)"
line="${line#"$commit"}"
jira_card=$(echo "$line" | grep -Po '(OPCT-\d+)' || true)
if [ -n "${jira_card-}" ] ; then
Expand All @@ -45,7 +45,7 @@ for rel in "${releases[@]}"; do
# lookup for PR number (#{\d+}) in the commit name
pr_id=$(echo "$line" | grep -Po '#\d+' || true)
if [ -n "${pr_id-}" ] ; then
line=$(echo "$line" | sed "s/$pr_id/\[$pr_id\]\(https\:\/\/github.com\/redhat-openshift-ecosystem\/provider-certification-tool\/pull\/${pr_id#\#}\)/")
line=$(echo "$line" | sed "s/$pr_id/\[$pr_id\]\(https\:\/\/github.com\/redhat-openshift-ecosystem\/opct\/pull\/${pr_id#\#}\)/")
fi
echo -e "- $commit_url - ${line}" >> "$ch_file"
done
Expand All @@ -65,15 +65,15 @@ git log --pretty=oneline --abbrev-commit --no-decorate --no-color "$init_release
while read -r line
do
commit="$(echo $line | awk '{print$1}')"
commit_url="[$commit](https://github.com/redhat-openshift-ecosystem/provider-certification-tool/commit/$commit)"
commit_url="[$commit](https://github.com/redhat-openshift-ecosystem/opct/commit/$commit)"
line="${line#"$commit"}"
jira_card=$(echo $line | grep -Po '(OPCT-\d+)' || true)
if [ -n "${jira_card-}" ] ; then
line=$(echo $line | sed "s/$jira_card/\[$jira_card\]\(https\:\/\/issues.redhat.com\/browse\/$jira_card\)/")
fi
pr_id=$(echo $line | grep -Po '#\d+' || true)
if [ -n "${pr_id-}" ] ; then
line=$(echo $line | sed "s/$pr_id/\[$pr_id\]\(https\:\/\/github.com\/redhat-openshift-ecosystem\/provider-certification-tool\/pull\/${pr_id#\#}\)/")
line=$(echo $line | sed "s/$pr_id/\[$pr_id\]\(https\:\/\/github.com\/redhat-openshift-ecosystem\/opct\/pull\/${pr_id#\#}\)/")
fi
echo -e "- $commit_url - ${line}" >> "$ch_file"
done
Expand Down
4 changes: 2 additions & 2 deletions hack/go-imports.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ if [ "$IS_CONTAINER" != "" ]; then
else
podman run --rm \
--env IS_CONTAINER=TRUE \
--volume "${PWD}:/go/src/github.com/redhat-openshift-ecosystem/provider-certification-tool:z" \
--workdir /go/src/github.com/redhat-openshift-ecosystem/provider-certification-tool \
--volume "${PWD}:/go/src/github.com/redhat-openshift-ecosystem/opct:z" \
--workdir /go/src/github.com/redhat-openshift-ecosystem/opct \
docker.io/golang:1.19 \
./hack/go-imports.sh "${@}"
fi
4 changes: 2 additions & 2 deletions hack/go-staticcheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ if [ "$IS_CONTAINER" != "" ]; then
else
podman run --rm \
--env IS_CONTAINER=TRUE \
--volume "${PWD}:/go/src/github.com/redhat-openshift-ecosystem/provider-certification-tool:z" \
--workdir /go/src/github.com/redhat-openshift-ecosystem/provider-certification-tool \
--volume "${PWD}:/go/src/github.com/redhat-openshift-ecosystem/opct:z" \
--workdir /go/src/github.com/redhat-openshift-ecosystem/opct \
docker.io/golang:1.19 \
./hack/go-staticcheck.sh "${@}"
fi
2 changes: 1 addition & 1 deletion internal/opct/archive/metaconfig_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"reflect"
"testing"

opcttests "github.com/redhat-openshift-ecosystem/provider-certification-tool/test"
opcttests "github.com/redhat-openshift-ecosystem/opct/test"
)

var testDataMetaConfig MetaConfigSonobuoy
Expand Down
2 changes: 1 addition & 1 deletion internal/opct/archive/metalog_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"testing"

"github.com/google/go-cmp/cmp"
opcttests "github.com/redhat-openshift-ecosystem/provider-certification-tool/test"
opcttests "github.com/redhat-openshift-ecosystem/opct/test"
)

func TestParseMetaLogs(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/opct/archive/opctconfigmap_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"reflect"
"testing"

opcttests "github.com/redhat-openshift-ecosystem/provider-certification-tool/test"
opcttests "github.com/redhat-openshift-ecosystem/opct/test"
v1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/opct/plugin/plugin.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package plugin

import (
"github.com/redhat-openshift-ecosystem/provider-certification-tool/internal/opct/archive"
"github.com/redhat-openshift-ecosystem/opct/internal/opct/archive"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions internal/opct/plugin/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"regexp"
"strings"

"github.com/redhat-openshift-ecosystem/provider-certification-tool/internal/opct/archive"
"github.com/redhat-openshift-ecosystem/provider-certification-tool/internal/openshift/ci/sippy"
"github.com/redhat-openshift-ecosystem/opct/internal/opct/archive"
"github.com/redhat-openshift-ecosystem/opct/internal/openshift/ci/sippy"
)

// TestItem represents a single test unit holding attributes for the processor
Expand Down
8 changes: 4 additions & 4 deletions internal/opct/summary/consolidated.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ import (

"github.com/pkg/errors"

"github.com/redhat-openshift-ecosystem/provider-certification-tool/internal/opct/metrics"
"github.com/redhat-openshift-ecosystem/provider-certification-tool/internal/opct/plugin"
"github.com/redhat-openshift-ecosystem/provider-certification-tool/internal/openshift/ci/sippy"
"github.com/redhat-openshift-ecosystem/provider-certification-tool/internal/report/baseline"
"github.com/redhat-openshift-ecosystem/opct/internal/opct/metrics"
"github.com/redhat-openshift-ecosystem/opct/internal/opct/plugin"
"github.com/redhat-openshift-ecosystem/opct/internal/openshift/ci/sippy"
"github.com/redhat-openshift-ecosystem/opct/internal/report/baseline"
)

// ConsolidatedSummary Aggregate the results of provider and baseline
Expand Down
2 changes: 1 addition & 1 deletion internal/opct/summary/openshift.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

configv1 "github.com/openshift/api/config/v1"
"github.com/pkg/errors"
"github.com/redhat-openshift-ecosystem/provider-certification-tool/internal/opct/plugin"
"github.com/redhat-openshift-ecosystem/opct/internal/opct/plugin"
v1 "k8s.io/api/core/v1"
)

Expand Down
8 changes: 4 additions & 4 deletions internal/opct/summary/result.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import (
"strings"

"github.com/pkg/errors"
"github.com/redhat-openshift-ecosystem/provider-certification-tool/internal/opct/archive"
"github.com/redhat-openshift-ecosystem/provider-certification-tool/internal/opct/plugin"
"github.com/redhat-openshift-ecosystem/provider-certification-tool/internal/openshift/mustgather"
"github.com/redhat-openshift-ecosystem/provider-certification-tool/internal/openshift/mustgathermetrics"
"github.com/redhat-openshift-ecosystem/opct/internal/opct/archive"
"github.com/redhat-openshift-ecosystem/opct/internal/opct/plugin"
"github.com/redhat-openshift-ecosystem/opct/internal/openshift/mustgather"
"github.com/redhat-openshift-ecosystem/opct/internal/openshift/mustgathermetrics"
log "github.com/sirupsen/logrus"
v1 "k8s.io/api/core/v1"

Expand Down
2 changes: 1 addition & 1 deletion internal/opct/summary/sonobuoy.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"bytes"
"strings"

"github.com/redhat-openshift-ecosystem/provider-certification-tool/internal/opct/archive"
"github.com/redhat-openshift-ecosystem/opct/internal/opct/archive"
"github.com/vmware-tanzu/sonobuoy/pkg/discovery"
"github.com/vmware-tanzu/sonobuoy/pkg/plugin/manifest"
v1 "k8s.io/api/core/v1"
Expand Down
2 changes: 1 addition & 1 deletion internal/openshift/mustgather/etcd.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"

"github.com/montanaflynn/stats"
"github.com/redhat-openshift-ecosystem/provider-certification-tool/internal/opct/archive"
"github.com/redhat-openshift-ecosystem/opct/internal/opct/archive"
log "github.com/sirupsen/logrus"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/openshift/mustgather/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"sync"
"time"

"github.com/redhat-openshift-ecosystem/provider-certification-tool/internal/opct/archive"
"github.com/redhat-openshift-ecosystem/opct/internal/opct/archive"
log "github.com/sirupsen/logrus"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/openshift/mustgather/mustgather.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"sync"

"github.com/pkg/errors"
"github.com/redhat-openshift-ecosystem/provider-certification-tool/internal/opct/archive"
"github.com/redhat-openshift-ecosystem/opct/internal/opct/archive"
log "github.com/sirupsen/logrus"
"gopkg.in/yaml.v2"
"k8s.io/utils/ptr"
Expand Down
12 changes: 6 additions & 6 deletions internal/report/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ import (
"sort"
"strings"

vfs "github.com/redhat-openshift-ecosystem/provider-certification-tool/internal/assets"
"github.com/redhat-openshift-ecosystem/provider-certification-tool/internal/opct/archive"
"github.com/redhat-openshift-ecosystem/provider-certification-tool/internal/opct/metrics"
"github.com/redhat-openshift-ecosystem/provider-certification-tool/internal/opct/plugin"
"github.com/redhat-openshift-ecosystem/provider-certification-tool/internal/opct/summary"
"github.com/redhat-openshift-ecosystem/provider-certification-tool/internal/openshift/mustgather"
vfs "github.com/redhat-openshift-ecosystem/opct/internal/assets"
"github.com/redhat-openshift-ecosystem/opct/internal/opct/archive"
"github.com/redhat-openshift-ecosystem/opct/internal/opct/metrics"
"github.com/redhat-openshift-ecosystem/opct/internal/opct/plugin"
"github.com/redhat-openshift-ecosystem/opct/internal/opct/summary"
"github.com/redhat-openshift-ecosystem/opct/internal/openshift/mustgather"
log "github.com/sirupsen/logrus"
"github.com/vmware-tanzu/sonobuoy/pkg/discovery"
)
Expand Down
6 changes: 3 additions & 3 deletions internal/report/slo.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ import (
"strconv"
"strings"

"github.com/redhat-openshift-ecosystem/provider-certification-tool/internal/opct/plugin"
"github.com/redhat-openshift-ecosystem/opct/internal/opct/plugin"
log "github.com/sirupsen/logrus"
)

const (
docsRulesPath = "/review/rules"
defaultBaseURL = "https://redhat-openshift-ecosystem.github.io/provider-certification-tool"
defaultBaseURL = "https://redhat-openshift-ecosystem.github.io/opct"

CheckResultNamePass CheckResultName = "pass"
CheckResultNameFail CheckResultName = "fail"
Expand Down Expand Up @@ -121,7 +121,7 @@ func NewCheckSummary(re *ReportData) *CheckSummary {
msgDefaultNotMatch := "default value does not match the acceptance criteria"
// Developer environment:
// $ mkdocs serve
// $ export OPCT_DEV_BASE_URL_DOC="http://127.0.0.1:8000/provider-certification-tool"
// $ export OPCT_DEV_BASE_URL_DOC="http://127.0.0.1:8000/opct"
localDevBaseURL := os.Getenv("OPCT_DEV_BASE_URL_DOC")
if localDevBaseURL != "" {
baseURL = localDevBaseURL
Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package main
import (
"embed"

cmd "github.com/redhat-openshift-ecosystem/provider-certification-tool/cmd/opct"
"github.com/redhat-openshift-ecosystem/provider-certification-tool/internal/assets"
cmd "github.com/redhat-openshift-ecosystem/opct/cmd/opct"
"github.com/redhat-openshift-ecosystem/opct/internal/assets"
)

//go:embed data/templates
Expand Down
Loading
Loading