Skip to content

Commit

Permalink
rename github org (#8)
Browse files Browse the repository at this point in the history
Signed-off-by: James Ranson <[email protected]>
  • Loading branch information
jranson authored May 26, 2021
1 parent 9a97fc1 commit 3353e75
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 20 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/create-upload-prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,12 @@ jobs:
password: ${{ secrets.DOCKER_PASSWORD }}
repository: tricksterio/mockster
tags: ${{ steps.baretag.outputs.baretag }}
- name: build-push-tricksterproxy-amd
- name: build-push-trickstercache-amd
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: tricksterproxy/mockster
repository: trickstercache/mockster
tags: ${{ steps.baretag.outputs.baretag }}
- name: build-push-tricksterio-arm
uses: docker/build-push-action@v1
Expand All @@ -93,11 +93,11 @@ jobs:
repository: tricksterio/mockster
build_args: IMAGE_ARCH=arm64v8,GOARCH=arm64
tags: arm64v8-${{ steps.baretag.outputs.baretag }}
- name: build-push-tricksterproxy-arm
- name: build-push-trickstercache-arm
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: tricksterproxy/mockster
repository: trickstercache/mockster
build_args: IMAGE_ARCH=arm64v8,GOARCH=arm64
tags: arm64v8-${{ steps.baretag.outputs.baretag }}
8 changes: 4 additions & 4 deletions .github/workflows/create-upload-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,12 @@ jobs:
password: ${{ secrets.DOCKER_PASSWORD }}
repository: tricksterio/mockster
tags: ${{ steps.baretag.outputs.baretag }}
- name: build-push-tricksterproxy-amd
- name: build-push-trickstercache-amd
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: tricksterproxy/mockster
repository: trickstercache/mockster
tags: ${{ steps.baretag.outputs.baretag }}
- name: build-push-tricksterio-arm
uses: docker/build-push-action@v1
Expand All @@ -93,11 +93,11 @@ jobs:
repository: tricksterio/mockster
build_args: IMAGE_ARCH=arm64v8,GOARCH=arm64
tags: arm64v8-${{ steps.baretag.outputs.baretag }}
- name: build-push-tricksterproxy-arm
- name: build-push-trickstercache-arm
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: tricksterproxy/mockster
repository: trickstercache/mockster
build_args: IMAGE_ARCH=arm64v8,GOARCH=arm64
tags: arm64v8-${{ steps.baretag.outputs.baretag }}
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN chown nobody:nogroup /usr/local/bin/mockster && chmod +x /usr/local/bin/mock
FROM ${IMAGE_ARCH}/alpine:3
LABEL maintainer "The Trickster Authors <[email protected]>"

# expects that you are in in $src/github.com/tricksterproxy/mockster
# expects that you are in in $src/github.com/trickstercache/mockster
# and have already ran "make release" for binaries to reside in OPATH
COPY --from=permer /usr/local/bin/mockster /usr/local/bin/mockster
COPY LICENSE /LICENSE
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ Mockster is the merger of two previously separate applications (PromSim and Rang

## Running as a Standalone App

The project provides a standalone server implementation of Mockster. This is useful for backing full simulation environments or running a local background app for querying during development of a data consumer app. You can find it at `github.com/tricksterproxy/mockster/cmd/mockster`, and, from that working directory, simply run `go run main.go \[PORT\]`. If a port number is not provided, it defaults to 8482.
The project provides a standalone server implementation of Mockster. This is useful for backing full simulation environments or running a local background app for querying during development of a data consumer app. You can find it at `github.com/trickstercache/mockster/cmd/mockster`, and, from that working directory, simply run `go run main.go \[PORT\]`. If a port number is not provided, it defaults to 8482.

## Running from Docker

We offer Mockster as an image on Docker Hub at `tricksterproxy/mockster`:
We offer Mockster as an image on Docker Hub at `trickstercache/mockster`:

```bash
$ docker run --rm -p 8482:8482 tricksterproxy/mockster:latest &
$ docker run --rm -p 8482:8482 trickstercache/mockster:latest &
Starting up mockster 1.1.1 on port 8482


Expand Down
2 changes: 1 addition & 1 deletion byterange.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Example paths:
- `/byterange/`
- `/byterange/tests/testCacheMissWithRange`

For examples of using mockster/byterange for Unit Testing, see the [Trickster Unit Tests](https://github.com/tricksterproxy/trickster/blob/master/internal/proxy/engines/objectproxycache_test.go)
For examples of using mockster/byterange for Unit Testing, see the [Trickster Unit Tests](https://github.com/trickstercache/trickster/blob/master/internal/proxy/engines/objectproxycache_test.go)

## Example Usage

Expand Down
4 changes: 2 additions & 2 deletions cmd/mockster/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ import (
"net/http"
"os"

"github.com/tricksterproxy/mockster/pkg/routes"
"github.com/trickstercache/mockster/pkg/routes"
)

const (
applicationName = "mockster"
applicationVersion = "1.1.1"
applicationVersion = "1.1.2"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/tricksterproxy/mockster
module github.com/trickstercache/mockster

go 1.14
4 changes: 2 additions & 2 deletions pkg/routes/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ package routes
import (
"net/http"

"github.com/tricksterproxy/mockster/pkg/mocks/byterange"
"github.com/tricksterproxy/mockster/pkg/mocks/prometheus"
"github.com/trickstercache/mockster/pkg/mocks/byterange"
"github.com/trickstercache/mockster/pkg/mocks/prometheus"
)

// GetRouter returns a Router wtih the Mockster routes
Expand Down
2 changes: 1 addition & 1 deletion pkg/testutil/testutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ package testutil
import (
"net/http/httptest"

"github.com/tricksterproxy/mockster/pkg/routes"
"github.com/trickstercache/mockster/pkg/routes"
)

// NewTestServer launches a Test Prometheus Server (for unit testing)
Expand Down
2 changes: 1 addition & 1 deletion prometheus.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"net/http"
"testing"

"github.com/tricksterproxy/mockster/pkg/testutil"
"github.com/trickstercache/mockster/pkg/testutil"
)

func TestMocksterPromethues(t *testing.T) {
Expand Down

0 comments on commit 3353e75

Please sign in to comment.