Skip to content

Commit

Permalink
Publish AST v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Hain committed Aug 24, 2024
1 parent 14a65e0 commit 224242f
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .env-example
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Grafana Environment Variables
# These should be updated to more secure values outside of testing environments.
GF_SECURITY_ADMIN_USER=admin
GF_SECURITY_ADMIN_PASSWORD=admin
4 changes: 4 additions & 0 deletions .env.device-secrets-example
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Names here are arbitrary, but must match values in big-ips.json.
# Passwords can be referenced by many devices (you do not need a unique variable for each device).
BIGIP_PASSWORD_1=A_SECRET_PASSWORD
BIGIP_PASSWORD_2=ANOTHER_SECRET_PASSWORD
32 changes: 32 additions & 0 deletions .github/workflows/push-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Push Image to ghcr.io
run-name: ${{ github.actor }} is running this workflow
on: [push]
jobs:
Pull-From_Gitlab:
runs-on: ubuntu-latest
steps:
- name: Login to GitLab
uses: docker/login-action@v3
with:
registry: registry.gitlab.com
username: ${{ secrets.GITLAB_USERNAME }}
password: ${{ secrets.GITLAB_PASSWORD }}
- name: Pull Gitlab Image
run: docker pull registry.gitlab.com/f5/greenhouse/apps/seven-layer-cake-collector/otel_custom_collector:${{ env.VERSION }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set variables
run: |
VER=$(cat VERSION)
echo "VERSION=$VER" >> $GITHUB_ENV
- name: Push to Github
run:
|
docker tag registry.gitlab.com/f5/greenhouse/apps/seven-layer-cake-collector/otel_custom_collector:${{ env.VERSION }} ghcr.io/f5devcentral/application-study-tool/otel_custom_collector:${{ env.VERSION }}
docker tag registry.gitlab.com/f5/greenhouse/apps/seven-layer-cake-collector/otel_custom_collector:${{ env.VERSION }} ghcr.io/f5devcentral/application-study-tool/otel_custom_collector:latest
docker push ghcr.io/f5devcentral/application-study-tool/otel_custom_collector:${{ env.VERSION }}
docker push ghcr.io/f5devcentral/application-study-tool/otel_custom_collector:latest
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.1.1
v0.2.0
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ services:
command: ["/bin/sh", "/app/init_entrypoint.sh"]

otel-collector:
image: ghcr.io/f5devcentral/application-study-tool/otel_custom_collector:v0.1.1
image: ghcr.io/f5devcentral/application-study-tool/otel_custom_collector:v0.2.0
restart: unless-stopped
volumes:
- otel_collector:/etc/otel-collector-config
Expand Down

0 comments on commit 224242f

Please sign in to comment.