Skip to content

Commit

Permalink
update most remaining namespace refs (#955)
Browse files Browse the repository at this point in the history
* update most remaining namespace refs

* try packages write perm
  • Loading branch information
markphelps authored Jul 24, 2022
1 parent 2b49baa commit e2b8e74
Show file tree
Hide file tree
Showing 14 changed files with 25 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/actions/integration-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ inputs:
required: true
runs:
using: "docker"
image: "docker://ghcr.io/markphelps/flipt-integration-test"
image: "docker://ghcr.io/flipt-io/flipt-integration-test"
args:
- ${{ inputs.args }}
5 changes: 4 additions & 1 deletion .github/workflows/integration-test-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
schedule:
- cron: 10 0 * * 0 # weekly, sunday at 00:10

permissions:
packages: write

jobs:
build:
name: Build
Expand Down Expand Up @@ -34,7 +37,7 @@ jobs:
context: .
file: Dockerfile.it
push: true
tags: ghcr.io/markphelps/flipt-integration-test:latest
tags: ghcr.io/flipt-io/flipt-integration-test:latest
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache-new

Expand Down
10 changes: 6 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,12 @@ dockers:
- dockerfile: ./build/Dockerfile
use: buildx
image_templates:
- "markphelps/flipt:latest"
- "markphelps/flipt:{{ .Tag }}"
- "ghcr.io/markphelps/flipt:latest"
- "ghcr.io/markphelps/flipt:{{ .Tag }}"
- "flipt/flipt:latest"
- "flipt/flipt:{{ .Tag }}"
- "markphelps/flipt:latest" # TODO: deprecate
- "markphelps/flipt:{{ .Tag }}" # TODO: deprecate
- "ghcr.io/markphelps/flipt:latest" # TODO: deprecate
- "ghcr.io/markphelps/flipt:{{ .Tag }}" # TODO: deprecate
build_flag_templates:
- "--label=org.opencontainers.image.created={{.Date}}"
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
Expand Down
8 changes: 4 additions & 4 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Before starting, make sure you have the following installed:

## Setup

1. Clone this repo: `git clone https://github.com/markphelps/flipt`
1. Clone this repo: `git clone https://github.com/flipt-io/flipt`
1. Run `task bootstrap` to install required development tools. See [#bootstrap](#bootstrap) below.
1. Run `task test` to execute the test suite
1. Run `task dev` to run the server and ui in development mode.
Expand Down Expand Up @@ -57,13 +57,13 @@ Running `task assets` will regenerate the embedded assets (ui, api documentation

The UI is built using [NPM](https://nodejs.org/en/) and [Vite](https://vitejs.dev/) and is also statically compiled into the Flipt binary.

The [ui/README.md](https://github.com/markphelps/flipt/tree/main/ui/README.md) has more information on how to build the UI and also how to run it locally during development.
The [ui/README.md](https://github.com/flipt-io/flipt/tree/main/ui/README.md) has more information on how to build the UI and also how to run it locally during development.

## Building/Running

**Run `script/server` from the project root.**

Vite will rebuild the UI assets when applicable files in the `ui` folder change. See [ui/README.md](https://github.com/markphelps/flipt/tree/main/ui/README.md) for more info.
Vite will rebuild the UI assets when applicable files in the `ui` folder change. See [ui/README.md](https://github.com/flipt-io/flipt/tree/main/ui/README.md) for more info.

You'll need to stop and re-run `script/server` for any changes in the server (Go) code :exclamation:

Expand All @@ -87,4 +87,4 @@ For VSCode Remote Containers (devcontainers), make sure you have [Docker](https:

If you have access to [GitHub Codespaces](https://github.com/features/codespaces), simply open Flipt in a codespaces from the `Code` tab in the repo on GitHub or click the button below.

[![Open in Codespaces](https://github.com/codespaces/badge.svg)](https://github.com/codespaces/new/?repo=markphelps/flipt)
[![Open in Codespaces](https://github.com/codespaces/badge.svg)](https://github.com/codespaces/new/?repo=flipt-io/flipt)
2 changes: 1 addition & 1 deletion Dockerfile.it
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM ubuntu:focal

LABEL org.opencontainers.image.source="https://github.com/markphelps/flipt"
LABEL org.opencontainers.image.source="https://github.com/flipt-io/flipt"

ENV DEBIAN_FRONTEND noninteractive
ENV DEBCONF_NONINTERACTIVE_SEEN true
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Try the latest version of Flipt out for yourself.
![Flipt](cli.gif)

```bash
❯ docker run --rm -p 8080:8080 -p 9000:9000 -t markphelps/flipt:latest
❯ docker run --rm -p 8080:8080 -p 9000:9000 -t flipt/flipt:latest
```

Flipt UI will now be reachable at [http://127.0.0.1:8080/](http://127.0.0.1:8080).
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ version: "3"

services:
flipt:
image: markphelps/flipt:latest
image: flipt/flipt:latest
ports:
- "8080:8080"
2 changes: 1 addition & 1 deletion examples/auth/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ services:
- HTTP_PASSWORD=password

flipt:
image: markphelps/flipt:latest
image: flipt/flipt:latest
# Note: no ports are exposed publicly as Caddy acts as a reverse proxy,
# proxying all requests to 8080 to the Flipt container
depends_on: caddy
Expand Down
2 changes: 1 addition & 1 deletion examples/basic/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3"

services:
flipt:
image: markphelps/flipt:latest
image: flipt/flipt:latest
ports:
- "8080:8080"
networks:
Expand Down
2 changes: 1 addition & 1 deletion examples/mysql/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM markphelps/flipt:latest
FROM flipt/flipt:latest

RUN apk update && apk add --no-cache git bash

Expand Down
2 changes: 1 addition & 1 deletion examples/postgres/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM markphelps/flipt:latest
FROM flipt/flipt:latest

RUN apk update && apk add --no-cache git bash

Expand Down
2 changes: 1 addition & 1 deletion examples/prometheus/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ services:
- flipt_network

flipt:
image: markphelps/flipt:latest
image: flipt/flipt:latest
depends_on:
- prometheus
ports:
Expand Down
2 changes: 1 addition & 1 deletion examples/tracing/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ services:
- "COLLECTOR_ZIPKIN_HTTP_PORT=9411"

flipt:
image: markphelps/flipt:latest
image: flipt/flipt:latest
depends_on:
- jaeger
ports:
Expand Down
2 changes: 1 addition & 1 deletion rpc/flipt/marshaller.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var _ grpc_gateway_v2.Marshaler = &V1toV2MarshallerAdapter{}
// This is required to fix a backwards compatibility issue with the v2 marshaller where `null` map values
// cause an error because they are not allowed by the proto spec, but they were handled by the v1 marshaller.
//
// See: https://github.com/markphelps/flipt/issues/664
// See: https://github.com/flipt-io/flipt/issues/664
//
// TODO: remove this custom marshaller for Flipt API v2 as we want to use the default v2 marshaller directly.
type V1toV2MarshallerAdapter struct {
Expand Down

0 comments on commit e2b8e74

Please sign in to comment.