-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removing citizen-of-planet-earth/cf-cli-action@master
- Loading branch information
1 parent
51fd18f
commit 1bd9362
Showing
1 changed file
with
22 additions
and
9 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 |
---|---|---|
|
@@ -52,12 +52,25 @@ jobs: | |
name: Checkout | ||
uses: actions/[email protected] | ||
- | ||
name: Push to Cloud.gov Dev Space | ||
uses: citizen-of-planet-earth/cf-cli-action@master | ||
with: | ||
cf_api: https://api.fr.cloud.gov | ||
cf_username: ${{ secrets.CF_USER }} | ||
cf_password: ${{ secrets.CF_PASSWORD }} | ||
cf_org: gsa-ogp-srt | ||
cf_space: dev | ||
command: push srt-ui-dev -f cf/manifest.dev.yml --docker-image ${{ secrets.DOCKERHUB_USERNAME }}/srt-ui:dev-${{ needs.docker.outputs.formattedTime }} | ||
name: Update Cloud Foundry Public Key and Repository | ||
run: | | ||
wget -q -O - https://packages.cloudfoundry.org/debian/cli.cloudfoundry.org.key | sudo gpg --dearmor -o /usr/share/keyrings/cli.cloudfoundry.org.gpg | ||
echo "deb [signed-by=/usr/share/keyrings/cli.cloudfoundry.org.gpg] https://packages.cloudfoundry.org/debian stable main" | sudo tee /etc/apt/sources.list.d/cloudfoundry-cli.list | ||
sudo apt-get update | ||
- | ||
name: Install Cloud Foundry CLI | ||
run: sudo apt-get install -y cf8-cli | ||
- | ||
name: Cloud Foundry Login | ||
env: | ||
CF_API: https://api.fr.cloud.gov | ||
CF_USERNAME: ${{ secrets.CF_USER }} | ||
CF_PASSWORD: ${{ secrets.CF_PASSWORD }} | ||
CF_ORG: gsa-ogp-srt | ||
CF_SPACE: dev | ||
run: cf login -a $CF_API -u $CF_USERNAME -p $CF_PASSWORD -o $CF_ORG -s $CF_SPACE | ||
- | ||
name: Cloud Foundry Push | ||
env: | ||
DOCKER_IMAGE: ${{ secrets.DOCKERHUB_USERNAME }}/srt-fbo-scraper:dev-${{ needs.docker.outputs.formattedTime }} | ||
run: cf push srt-fbo-scraper-dev -f cf/manifest.dev.yml --docker-image $DOCKER_IMAGE |