-
Notifications
You must be signed in to change notification settings - Fork 406
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(infra): run PC build on self hosted (#3070)
- Loading branch information
1 parent
4f1d0df
commit 5553c3d
Showing
1 changed file
with
1 addition
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,23 +12,9 @@ env: | |
FLAGSMITH_AUTH_CONTROLLER_REVISION: v0.0.1 | ||
|
||
jobs: | ||
start-runner: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
runner-label: ${{ steps.start.outputs.runner-label }} | ||
instance-id: ${{ steps.start.outputs.instance-id }} | ||
steps: | ||
- uses: Flagsmith/actions/ec2-runner/[email protected] | ||
id: start | ||
with: | ||
github-access-token: ${{ secrets.GH_RUNNER_TOKEN }} | ||
aws-access-key-id: ${{ vars.AWS_ACCESS_KEY_ID_EC2_RUNNER }} | ||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY_EC2_RUNNER }} | ||
|
||
build-dockerhub: | ||
name: Platform Publish Docker Image | ||
needs: [start-runner] | ||
runs-on: ${{ needs.start-runner.outputs.runner-label }} | ||
runs-on: self-hosted | ||
|
||
steps: | ||
- name: Cloning repo | ||
|
@@ -123,16 +109,3 @@ jobs: | |
SAML_INSTALLED=1 | ||
POETRY_OPTS=--with saml,auth-controller,ldap | ||
GH_TOKEN=${{ secrets.GH_PRIVATE_ACCESS_TOKEN }} | ||
stop-runner: | ||
needs: [start-runner, build-dockerhub] | ||
if: ${{ always() }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: Flagsmith/actions/ec2-runner/[email protected] | ||
with: | ||
github-access-token: ${{ secrets.GH_RUNNER_TOKEN }} | ||
aws-access-key-id: ${{ vars.AWS_ACCESS_KEY_ID_EC2_RUNNER }} | ||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY_EC2_RUNNER }} | ||
runner-label: ${{ needs.start-runner.outputs.runner-label }} | ||
instance-id: ${{ needs.start-runner.outputs.instance-id }} |
5553c3d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
docs – ./docs
docs.flagsmith.com
docs.bullet-train.io
docs-git-main-flagsmith.vercel.app
docs-flagsmith.vercel.app
5553c3d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
flagsmith-frontend-preview – ./frontend
flagsmith-frontend-production-native.vercel.app
flagsmith-frontend-preview-git-main-flagsmith.vercel.app
flagsmith-frontend-preview-flagsmith.vercel.app
5553c3d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
flagsmith-frontend-staging – ./frontend
flagsmith-staging-frontend.vercel.app
flagsmith-frontend-staging-flagsmith.vercel.app
flagsmith-frontend-staging-git-main-flagsmith.vercel.app
staging.flagsmith.com