Skip to content

Commit

Permalink
Merge pull request #63 from Telecominfraproject/next
Browse files Browse the repository at this point in the history
CGW 1.0 release
  • Loading branch information
Cahb authored Jul 5, 2024
2 parents aa54d00 + 72f9171 commit 6202aec
Show file tree
Hide file tree
Showing 153 changed files with 18,529 additions and 0 deletions.
76 changes: 76 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
#
name: CI

on:
push:
paths-ignore:
- '**.md'
branches:
- main
- next
- 'release/*'
tags:
- 'v*'
pull_request:
branches:
- main
- next
- 'release/*'

defaults:
run:
shell: bash

jobs:
docker:
runs-on: ubuntu-latest
env:
DOCKER_REGISTRY_URL: tip-tip-wlan-cloud-ucentral.jfrog.io
DOCKER_REGISTRY_USERNAME: ucentral
steps:
- name: Checkout actions repo
uses: actions/checkout@v4
with:
repository: Telecominfraproject/.github
path: github

- name: Build and push Docker image
uses: ./github/composite-actions/docker-image-build
with:
image_name: cgw
registry: tip-tip-wlan-cloud-ucentral.jfrog.io
registry_user: ucentral
registry_password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}

- name: Notify on failure via Slack
if: failure() && github.ref == 'refs/heads/main'
uses: rtCamp/action-slack-notify@v2
env:
SLACK_USERNAME: GitHub Actions failure notifier
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_COLOR: "${{ job.status }}"
SLACK_ICON: https://raw.githubusercontent.com/quintessence/slack-icons/master/images/github-logo-slack-icon.png
SLACK_TITLE: Docker build failed for OWGW service

trigger-deploy-to-dev:
runs-on: ubuntu-latest
#if: github.ref == 'refs/heads/main'
if: github.ref == 'zzzzzzz'
needs:
- docker
steps:
- name: Checkout actions repo
uses: actions/checkout@v4
with:
repository: Telecominfraproject/.github
path: github

- name: Trigger deployment of the latest version to dev instance and wait for result
uses: ./github/composite-actions/trigger-workflow-and-wait
with:
owner: Telecominfraproject
repo: wlan-testing
workflow: cgw-dev-deployment.yaml
token: ${{ secrets.WLAN_TESTING_PAT }}
ref: master
inputs: '{"just_component": "true"}'
15 changes: 15 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Generated by Cargo
# will have compiled files and executables
debug/
target/
output/

# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
Cargo.lock

# These are backup files generated by rustfmt
**/*.rs.bk

# MSVC Windows builds of rustc generate these, which store debugging information
*.pdb
Loading

0 comments on commit 6202aec

Please sign in to comment.